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: 

Loop a table wihout header line from interface on a smartform.

Former Member
0 Kudos

Hi xprts,

I need to make a loop to a table wihtout header line that belongs to the IS_BIL_INVOICE the table it's called GS_HDR. But it's a table without header, can i loop on it ?

Tnxs a lot for your hlp.

Steve.

1 ACCEPTED SOLUTION

uwe_schieferstein
Active Contributor
0 Kudos

Hello Steve

If the table is GS_HDR (strange naming) then simply use:


DATA: ls_hdr   LIKE LINE OF gs_hdr.

LOOP AT gs_hdr INTO ls_hdr.
...
ENDLOOP.

Regards

Uwe

1 REPLY 1

uwe_schieferstein
Active Contributor
0 Kudos

Hello Steve

If the table is GS_HDR (strange naming) then simply use:


DATA: ls_hdr   LIKE LINE OF gs_hdr.

LOOP AT gs_hdr INTO ls_hdr.
...
ENDLOOP.

Regards

Uwe