08-14-2007 9:03 AM
Hi everyone!
Is there an array and FOR loops in ABAP similar to the C Language?
If there is, please give example. _
Thanks a lot!
08-14-2007 9:08 AM
Hi,
There is no array concept in ABAP but there are field-symbols which are same as pointers in C.As for the FOR loop there is no such command in SAP/ABAP but we do have the do..while and loop...endloop commands.There is also CASE statements and if..endif commands.
Thanks,
Sandeep.
08-14-2007 9:08 AM
Hi,
There is no array concept in ABAP but there are field-symbols which are same as pointers in C.As for the FOR loop there is no such command in SAP/ABAP but we do have the do..while and loop...endloop commands.There is also CASE statements and if..endif commands.
Thanks,
Sandeep.
08-14-2007 9:10 AM
Hi Ricardo Caliolio Jr.
we dont have arrays here in ABAP but we can replicate the functionality of arrays using the 'do - endo' loop within 'loop - enloop'.
For vertical processing of records we go for LOOP - ENDLOOP.
For Horizantal processing of records we go for DO - ENDO.
01-31-2008 8:29 AM
Hello,
Could you please elaborate on how to do the horizontal processing usin DO... Enddo?
Regards,
Shruti