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

query on loop at....

Former Member
0 Likes
405

what is loop at?

Posted: Jun 22, 2009 7:05 AM Edit Reply

Hi Abap experts,

what do loop at exactly do?

and in this following code:-

LOOP AT lt_tbd05 INTO ls_tbd05.

ls_edidc-direct = 2. "Direction

ls_edidc-rcvpor = 'A000000010'. "Receiver Port

ls_edidc-rcvprt = 'LS'. "Receiver Partner Type

ls_edidc-rcvprn = ls_tbd05-rcvsystem. "Receiver Partner Number

ls_edidc-sndpor = 'SAPR8D'. "Sender Port

ls_edidc-sndprt = 'LS'. "Sender Partner Type

ls_edidc-sndprn = ls_tbd05-sndsystem. "Sender Partner

ls_edidc-mestyp = ls_tbd05-mestyp. "Message Type

ls_edidc-idoctp = 'ZVENDOR'. "IDoc Type.

APPEND ls_edidc TO lt_edidc.

*apppening is dfone to lt_edidc and why loop at is done to it_tbdo5.........loop at should hav been done to it_edidc*

2 REPLIES 2
Read only

Former Member
0 Likes
366

Press F1 on LOOP keyword.

Read only

matt
Active Contributor
0 Likes
366

I've already rejected this question once. Check your email.

If you continue to post the same question, which is in violation of the Rules of Engagement, you're account could be deleted.

matt