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 Community Code Challenge - ABAP Dive Into the Basics (Week 3)

Mamikee
Employee
Employee

We have a new code challenge for you as part of the Community Spotlight for the month of September. This time it's about testing your skills and learning the basics in ABAP.  You will be given four exercises to complete on Exercism such as ITAB Basics , ITAB Combination , ITAB Aggregation and ITAB Nesting.  You can read more about the challenge in a blog post here: SAP Community Code Challenge – Dive Into The Basics of ABAP! | SAP Blogs

This thread is the place to share your results for Week 3 and your experiences with the challenge. Happy to answer any question you may have below in the comments.   

Have Fun 🤩 

160 REPLIES 160

softy12
Galactic 2
Galactic 2

Hi @Mamikee

Please find the 3rd week's challenge confirmation screenshot.exercism_abap_w3_itab_aggregation.png

kartefact
Galactic 3
Galactic 3

Week 3. A little delayed, but here you go.

kartefact_0-1663969502548.png

 

KR

M_Abdelkader
Galactic 2
Galactic 2

Week 3 done  😁itabagg.PNG

kjyothiraditya
Galactic 3
Galactic 3

Hi, 

Done with week 3 exercise. 

kjyothiraditya_0-1663996686848.png

 

Thanks!

jallipalli_sai
Galactic 2
Galactic 2

Hi @Mamikee 

Completed week3 submission!!

jallipalli_sai_0-1664002301229.png

Thanks - Sai

bztoy
Galactic 4
Galactic 4

Done for week3 assignment 🙂

 

week3_assignment.png

oliver_luette
Galactic 2
Galactic 2

Week 3 completed 🙂

Bildschirmfoto 2022-09-20 um 22.12.17.png

vincentverheyen
Galactic 3
Galactic 3

Thank you for this challenge.
Week 3.png
Week 3 completed.

SAP-Vishal
Galactic 2
Galactic 2

Hi @Mamikee ,

Week 3 task done.

SAPVishal_0-1664048170793.png

 

BiberM
Galactic 2
Galactic 2

BiberM_0-1664048818251.png

Done.

would have liked to use for iterations with grouping but as already mentioned there seem to be some errors left. Did it the "classic" way which results in exactly O(n).

dineshpdb
Galactic 2
Galactic 2

Abapandy
Galactic 2
Galactic 2

Here's my week 3 submission...

Week 3.png

Thanks, Andy

Sathees_Kumar_P
Galactic 3
Galactic 3

Hi @Mamikee, Week3 I have an issue, code was worked in SAP on-prem system but not on Exercism

We received the following error when we ran your code:

./zcl_itab_aggregation.clas.abap[37, 5] - Statement does not exist in ABAPopen-abap(or a parser error), "aggregated_data" (parser_error) [E]
abaplint: 1 issue(s) found

Same I raised issue in GitHub https://github.com/exercism/abap/issues/203

It is fixed, when new updated runtime will be available in Exercism to [Run Tests] again?

Entering an issue is the correct approach.  If the cross compilier can be fixed to add the missing feature they will let you know in the issue. In the mean time perhaps you have to find an alternative syntax approach.

0 Kudos

Hi Thomas, Thanks and I able support week3 submission with different approach!👍

SatheeshSSN
Galactic 2
Galactic 2

Done.

SatheeshSSN_0-1664157594849.png

 

TarunTakshak
Galactic 2
Galactic 2

Hi @Mamikee 

I have completed Week-3 Task,

itab_agg.jpg

 

Regards,

TarunTakshak

Selo
Galactic 2
Galactic 2

Hi @Mamikee ,

Week 3 task done.

Screenshot 2022-09-26 103140.png

adityaIngale
Galactic 2
Galactic 2

Hi,

I have completed week 3 Task.

itab agg.png

 Thanks & Regards,

Aditya

ostengel
Galactic 2
Galactic 2

week 3 done

ostengel_0-1664182400113.png

 

Phily
Galactic 2
Galactic 2

hi Mamikee,  task in week 3 is completed. seems exercism cannot accept the latest ABAP syntax...

Phily_0-1664184466674.png

 

afediuc
Galactic 2
Galactic 2

Week 3 Submission

afediuc_0-1664194597947.png

 

ebe
Galactic 2
Galactic 2

Hi @Mamikee ,

Here is my submission for week 3 :

image.png

 

Seems that syntax with FOR&GROUP BY has been corrected in exercism since my last connexion.

Regards,

Eric

RakeshMakanur
Employee
Employee

Week 3 Done!

RakeshMakanur_0-1664200539986.png

 

dla3076
Galactic 3
Galactic 3
0 Kudos

ITAB Combination in ABAP on Exercism.png

dla3076
Galactic 3
Galactic 3
0 Kudos

ITAB Aggregation in ABAP on Exercism.png

mittal-aman00
Galactic 2
Galactic 2
0 Kudos

Week 3 Done!

mittalaman00_0-1664836229998.png

 

OlgaDim
Galactic 2
Galactic 2

Ready with week 3 challenge:

OlgaDim_0-1664223643173.png

Thanks and regards,

Dinesh
Galactic 3
Galactic 3

@Mamikee : Week 3 completed, see below:

Dinesh_0-1664246138277.png

however i was not able to use below code due to down porting issue i guess.

loop at initial_numbers assigning field-symbol(<initial>)
  group by ( key = <initial>-group count = group size ) ascending assigning field-symbol(<sym>).

Leonel_Morales
Galactic 2
Galactic 2

Hi @Mamikee ,

Good afternoon. Week 2 is completed. Screenshot to confirm. 

Leonel_Morales_0-1664246164226.png

Thanks and best Regards

Leonel Morales Jimenez

0 Kudos

I made a error this is for week 3

Thanks

GopalNair
Galactic 2
Galactic 2

Week 3 Complete.

week3_itabaggregation_confirmation.jpg

ertugrul
Galactic 2
Galactic 2

HI @Mamikee 

Week 3 Completed.

xepehlivan_0-1664309868652.png

Daniel_Espinosa
Employee
Employee

Hi.

Daniel_Espinosa_2-1664310031579.png

 

 

Davidmtzj
Galactic 2
Galactic 2
0 Kudos

Hi @Mamikee 
Week 3 completed

ITAB Aggregation.png

Regards.

David Mtz.

Hendrik
Galactic 3
Galactic 3
0 Kudos

Hendrik_0-1664313884116.png

BR Hendrik

gcabrera
Galactic 2
Galactic 2
0 Kudos

Week 3

gcabrera_0-1664320851658.png

 

SyamisUnique
Galactic 3
Galactic 3
0 Kudos

Week3 completed.

SyamisUnique_0-1664330687050.png

Thank you,

Syam

PoojaThareja
Galactic 2
Galactic 2
0 Kudos

PoojaThareja_0-1664334032275.png

Just In time!! Completed Week 3

jagadish
Galactic 2
Galactic 2
0 Kudos

Hi @Mamikee ,

Week 3 challenge completed. Thank you!

jagadish_0-1664337033864.png