Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Developer Challenge – Open-Source ABAP (Week 2)

Mamikee
Developer Advocate
Developer Advocate
21,174

This discussion thread is to submit your solution for Week 2 of the May 2023 Developer Challenge - Open-Source ABAP 

Week 2 – ABAP2UI5 https://github.com/oblomov-dev/abap2UI5

ABAP2IU5 is a fairly new project which helps ABAP developers create SAPUI5 applications without ever having to code a line of JavaScript, expose an OData service, or work with Fiori Elements or the ABAP RESTful Application Programming model (RAP). This project allows you to create applications having a simple interface like a report selection screen, and display the output in a table, like an ALV Grid.  All with just a few lines of code. 

For this weeks’ challenge, install the ABAP2IU5 project in your system, and create a program using ABAP2UI5, which throws an input screen with two fields (User and Date), and a button.  When the post button is clicked it should send the values to the server.

Resources:

You will get credit for this weeks’ challenge by providing a screenshot of the result with the server providing a message back as shown in the example screenshot below.

 

Mamikee_0-1684321273452.png

 

Have Fun 🤩

97 REPLIES 97

Florian
Active Contributor
12,772

Hi Mamikee,

is there an option where to install the project, if I'm not having an onprem system available. Don't think the content will fit into a trial system, right?

So, how to participate if I have not the option to put it into something from my company?

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos
12,595

It should install into the ABAP trial systems, it could also already be installed there from someone else as well.  If so, you only have to create an application using it and you can skip the install step.

Cheers,

Rich Heilman

12,475

Ok, I can confirm that ABAP2UI5 is installed on the trial instance  https://c75f608d-4148-434a-88e1-64b75d24911a.abap-web.us10.hana.ondemand.com/    So if you are on that trial instance, you need not install it, just use the ABAP2UI5 framework to create your app as outlined above. 

Florian
Active Contributor
0 Kudos
12,185

Thx for clarification. That's exact the point I aimed on.

larshp
Active Contributor
12,531

if you are up for a bit more challenging setup, then https://github.com/larshp/abap2ui5-web runs on https://nodejs.org/en on localhost ie. without a traditional ABAP stack, much like https://blogs.sap.com/2021/02/16/running-some-abap-on-a-raspberry-pi-zero/ 

11,803

Hi Lars

This is fantastic. I just gave it a try and it worked on the first go!! Serverless here we go 🙌

0 Kudos
12,456

Hi Florian,

abap2UI5 sources are compatible with on-prem and Cloud ABAP environment as well. My-self installed abap2UI5  on my trail account which is on Region: 🇺🇸 US East (VA), same may be valid for you if your account also exists in same region.

abap2UI5 on ABAP Trial Account (on AWS Region US East (VA)) 

Try this link with your user credential.

ennowulff
Active Contributor
12,668

ennowulff_0-1684327656811.png

 

mgm12
Explorer
12,549

screenshot_week2.png

UweFetzer_se38
Active Contributor
12,360

Here's mine (sorry for beeing late) 😉

week2.png

mikitamez
Discoverer
12,359

Hi 🙂
1.png

Sathees_P
Participant
12,278

Hi @Mamikee,
here is mine

Sathees_Kumar_P_0-1684340831795.png

 

kwinzig
Explorer
12,259

Hello,

here is my submission for week 2
ABAP_2UI5_Test.png

Florian
Active Contributor
12,222

Florian_0-1684346866850.png

 

brkcnplt
Explorer
12,170

Hello 😊

assigment_2.png

JohnPaulLiberal
Explorer
12,154

Hello all. Here's my screenshot 😉

JohnPaulLiberal_0-1684357077911.png

 

SushmitaG
Product and Topic Expert
Product and Topic Expert
11,790

My submission for Week 2

sg12_0-1684399322629.png

 

JaimeRodriguez
Participant
11,761

Hi! Here is mine

JaimeRodriguez_0-1684401923977.png

 

Tomas_Buryanek
Active Contributor
11,758

Hi,

whew, this was bigger challenge for me. Because (of course 😐) my company does not allow to import open source code. At least not easily... Thanks a lot for nice SAP Tutorials. They really helped me!

  • So I first time registered for SAP BTP Trial (thanks @Former Member & @RichHeilman for hints!).
  • Then I did Eclipse ADT Setup including AbapGit.
  • My trial instance did not have ABAP2UI5 installed, so I simply pulled it.
  • Prepared ABAP2UI5 including HTTP service.
  • And finally developed challenge app 🙂 Screenshot below:

abap_week2_challenge_result.png

-- Tomas --

JerryW
Explorer
11,713

Greetings!

JerryW_0-1684410049973.png

 

thomas_jung
Developer Advocate
Developer Advocate
11,631

My submission for Week 2

2023-05-18_09-41-59.png

Ruthiel
Product and Topic Expert
Product and Topic Expert
11,532

Great challenge!
This solution was totally new for me!

Ruthiel_0-1684425450134.png

 

Zakir_hussain
Explorer
0 Kudos
11,511

Hi,

I used trial instance for this challenge. I've pulled in the ABAP2UI5 program, I'm unable to execute the demo application program as the interface if_oo_adt_classrun must implement. But, the standard ABAP2UI5 doesn't have this interface, if so I did added, but how to implement the if_abap2ui5 interface to classrun. 

Does anyone have come across this kind of challenges?  

11,287

Follow the instructions to install in this blog. You would need to create a new HTTP service and then use it to "run" the class.
https://blogs.sap.com/2023/04/14/abap2ui5-6-7-installation-configuration-debugging/

11,268

It took me some time to figure it out as well. Here a video tutorial for the same.

Part #2 Develop UI5 application using pure ABAP #sap #abap2ui5 #abap #ui5 #newsyntax - YouTube

Hope it helps.

abo
Active Contributor
11,517

Here is my test app:

abo_0-1684428060734.png

 

 

bztoy
Participant
11,310

Here is mine, the source code has been already push to my SAP Developer Code Challenge repo.

abap2ui5-screen-short.png

smuhsb
Participant
11,313

I am wondering why I never tried this earlier! Awesome.

Btw here's my post.
smuhsb_0-1684469768738.png

 

NooruBohra
Participant
11,299

Here's mine.

NooruBohra_0-1684473619045.png

 

former_member139139
Discoverer
11,259

Hi  There , Here is mine!

chiranjeevig_0-1684479450053.png

 

jasshauer
Explorer
11,174

Nice thing, but i guess i will stay on javascript 4 UI5 🙂 

jasshauer_0-1684490088179.png

 

Zakir_hussain
Explorer
11,102

Hello there, Here is mine.

Repo_added_week2_solution 

Zakir_hussain_0-1684499386472.png

 

OneShivam
Product and Topic Expert
Product and Topic Expert
10,982

Hello, here is the screenshot for the challenge

OneShivam_0-1684518560747.png

 

 

10,987

Hello! 
Here is mine:
SAP Developer Code Challenge – Open-Source ABAP (Week 2) - ALINE CANTEIRO.png

aoyang
Contributor
10,965

Here is my week2 submission. 

ABAP W2.jpg

KjetilKilhavn
Active Contributor
10,933

After the SICF struggle (hint: don't specify user & password in the service definition) I could get to the enjoyable part of creating my first UI5 application. I had not thought I would do that by writing ABAP code!

kjetil_kilhavn_1-1684525724954.png

--
Kjetil Kilhavn (Vettug AS) - ABAP developer since Feb 2000, but will probably never be a Rockstar developer

Patrick-L
Discoverer
10,702

Great! What a cool repo! 👍
Many thanks and respect to the developer! 🙂

Screenshot 2023-05-20 215024.png

Kishore
Participant
10,678

Here is my output.

 

Kishore_0-1684620837998.png