Application Development and Automation 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: 
Read only

LOOP ENDLOOP

Former Member
0 Likes
537

Hi all,

I Have a loop with out an internal table or work area specification (like LOOP AT itab or LOOP at itab into wa_itab).

My code has:

LOOP.

ENDLOOP.

when I go into the loop the work area REGUH is filling and doing the operations. Even if we move data with select query as :

"select * from reguh." how the data is moving into implicit work area. without specifying "at REGUH" before LOOP (as LOOP at REGUH). Please clarify my doubt.

Thanks in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
494

Hi Ranjith.

This report is LOOPing into an extract. Please check more info at http://help.sap.com/saphelp_46c/helpdata/en/9f/db9ed135c111d1829f0000e829fbfe/frameset.htm

I hope it helps. Best regards,

Alvaro

3 REPLIES 3
Read only

Former Member
0 Likes
494

It is for the processing of the tables delcared as dataset in the concept of logical databases.

Press F1 on the LOOP statement and you can get all the information

Read only

Former Member
0 Likes
495

Hi Ranjith.

This report is LOOPing into an extract. Please check more info at http://help.sap.com/saphelp_46c/helpdata/en/9f/db9ed135c111d1829f0000e829fbfe/frameset.htm

I hope it helps. Best regards,

Alvaro

Read only

Former Member
0 Likes
494

Hi

when ever the statement comes to LOOP

it wil goes into the loop

what ever code writen inside the loop that will execute

meanwhile ur data will will be stored in the internal table with that select query

reward if useful