Syntax error Using AT_FIRST be used to initialize variables used in loop in SAP ABAP\\\\\\\\n

Using AT_FIRST be used to initialize variables used in loop in SAP ABAP\\\\\\\\n



There would not be much of difference in both ways. The only thing is without AT_FIRST, the counter variables will be cleared in all cases while using AT_FIRST, the counter variables will be cleared only if there is at least one execution of the loop. So, the only difference would come into the picture if ls_itab is empty.

Updated on: 2019-07-30T22:30:20+05:30

176 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements