SAP Community Code Challenge – Dive Into The Basics of ABAP!
The goal for this month’s Coding Challenge is to complete one exercise each week on Exercism for you to get familiar with the ABAP language through exercises that will test your skills. Each week you will complete one exercise to test your skills, you will start off with the basics and gradually move up to the more involved exercises.
These challenges will allow you to test your skills and learn the basics such as ITAB Basics, ITAB Combination, ITAB Aggregation and ITAB Nesting. These exercises will also help you improve your ABAP skills whether you are a beginner or just want to brush up on your skills 😊
There is a SAP Community Code Challenge – Dive Into the Basics of ABAP! thread in the brand new Application Development Group where we invite you to discuss and share your results of the challenge.
The challenge is very simple. You will have to create an account on Exercism and complete the challenge assigned for each week. Be sure to come back to the blog post to see what the next challenge is for that week. You will also be provided with resources that can be helpful for you before or while completing the challenges.
ABAP – Logo
We want to keep the challenge fairly loose, which is why there are no prizes. However, interesting challenge entries may be highlighted in upcoming posts, videos or live streams by the Developer Advocates, and of course will be appreciated by the SAP Community members.
Participating in the Challenge
To be able to take part in this challenge and complete it, it’s very simple, you will have to follow these steps:
- Create an account on Exercism
- Complete each challenge for the week it is assigned
- Submit a screenshot showing you successfully completed the exercise with your profile visible. You will need to submit this on the SAP Community Application Development thread
Each week on Wednesday for next four weeks you will be assigned a new challenge to complete on Exercism to test your skills :). These challenges must be completed and submitted to be counted toward the month’s overall challenge. Make sure to come back to this blog post to see what the next challenge is for that week will be!
This is the detailed timeline:
- September 7th, 2022 (10:00am CEST) – Start of Challenge: Week 1 thread: Week 1 Challenge
- September 14th, 2022 (10:00am CEST) – Week 2 thread: Week 2 Challenge
- September 21st , 2022 (10:00am CEST) – Week 3 thread: Week 3 Challenge
- September 28th, 2022 (10:00am CEST) – Week 4 thread: Week 4 Challenge
- October 5th, 2022 (10:00am CEST) – End of the challenge
At the end of the challenge, if you have made all submissions, you will receive an SAP Community badge for successfully participating in the SAP Code Challenge for September. Make sure to always post your submissions as described.
SAP Community – ABAP Code Challenge Badge
Get your final submission in by October 5th, as we will start picking out the ones that we want to highlight on that date.
Let’s Get Started
We are looking forward seeing all your submission 😊. We wish you a lot of fun with ABAP on Exercism and good luck!
➡️ Head over to the SAP Community Code Challenge – Dive Into the Basics of ABAP thread in the Application Development group to discuss, share, and ask questions.
tried it, not sure what type of ABAP this is?
Bit of a long story
1: https://rules.abaplint.org/downport/ is used to downport the syntax to 702
The Exercism runner code is open source at https://github.com/exercism/abap-test-runner
When running into bugs, or if you have questions/feature requests, feel free to open an issue at https://github.com/exercism/abap/issues
Occasionally the output of the transpiler / runner isn't terribly helpful in finding the error 🙂
It said something like "[object, Object] expected, instead got [object, Object]" (which is of course totally different XD )
I had to run the code in the minisap to get meaningful feedback from the unit tests.
I had similar problems too. Apparently ABAPlint is not perfect yet. However it's easy to copy & paste an exercise and tests into an ABAP report and build a solution there.
Unless you're between jobs and one of your two minisap installations cuts out because the license is expired... took a while but that's the route I used, too.
hi, can you help opening an issue at https://github.com/exercism/abap, then it can improve over time
Hi Lars, Probably been asked before, but: Why 7.02?
Looked in .../exercism/abap , but could not see the explanation.
The exercises can be submitted using 740+ syntax
Its an intermediate step in the compiling to translate the syntax to 702. Because I am lazy, trying to reduce the scope in the transpiler, tho it might extend to 740+ sometime.
Plus in the future I'd like to have abapGit maintained in 740+ syntax, and automatically provide a 702 syntax version to users.
Thanks for this nice challenge, Mamikee - especially as I really enjoy the Exercism experience now and then!
Mamikee Kanneh other than posting the screenshot to participate, what is the value of publishing the answers? What about mentoring? I'm asking because I get reminders from Exercism that I haven't done so.
I am not sure Mamikee where to report the errors. But It seems one of the solution on which I worked is actually working on my local system and when I copy the code it says the statement is incorrect.
I feel the online editor doesnt understand all the syntaxes of ABAP . When I write a simple statement like DATA(Lt_data) = reduce( ....) it says the statement it cannot find lt_data.
Error With Online Editor
Pavan Chand Bhamidipati
you can check the correspoding Github project to see if this has already been mentioned there. If not, you can create an issue for the team to look at, something I've done quite a bit when I had happened upon Exercism a couple of months ago:
Hope this helps!
Danke schoon. Ill check in Git Hub.
I already submitted kind of same issue in GitHub https://github.com/exercism/abap/issues/203
What is the current status of week 3? Unfortunately I cannot see the link, in the blog it's still says:
"September 21st , 2022 (10:00am CEST) – Week 3 Challenge will be added"
In less than 30min...
Hi Mamikee Kanneh
I cannot see the link of week 5.
The challenge ends today, just 4 assignments (at least, that's how I understand it)
Ah ok thanks Andrea Borgia !
Mamikee Kanneh I am looking forward to the week 5 challenge !! 🤞🥰🥰🎉🎉
There is no Week 5. This was a 4 week challenge.
Obviously it was too short 🙂
oh, I thought there would be a closing challenge 😅😅
A final monster? That would be your specialty, Paul Hardy 😀
I did all tasks but I didn't get my badge 🙁
I think it is quite complex to check all the challenges and assign these to the related users to check who has qualified for the badge.
I would suggest to give Mamikee Kanneh a little more time - I am wuite sure that we'll receive our badge 🙂
Yes, it can be a tough task. Let's wait.
Have the badges been awarded yet?
No, not yet.
Is there any timeframe? Just asking, not pressing.
Bagdes are out!
still 26 others exercices available =)
let's propose your's
there is also the #devtoberfest currently
Waiting for the badges also =)
Submitted all the challenges. Yet not received any badges
I got my badge some time ago already.