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 at listfields ...mask ???

Former Member
0 Likes
564

Hi!

Inside of include LSDH4F02 (SAP Include)

there is a loop. Right there I get sy-subrc 4.

Why is this loop with mask. Why is it needed?

loop at listfields
where mask+4(1) is initial and mask+1(1) ne dir.
if not fieldname is initial and fieldname ne listfields-fieldname.
continue.
endif.
l_need_conv = 'X'.
exit.
endloop

Bye

Ertas

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
502

Hi Ilhan Ertas

Just double click on the table listfields it will take to the table declaration where you can see the mask would be the field name.

&****************Reward Point if helpful**************&

3 REPLIES 3
Read only

Former Member
0 Likes
502

mask must be a fld....for the internal table....

Read only

Former Member
0 Likes
502

really ???

)))

Read only

Former Member
0 Likes
503

Hi Ilhan Ertas

Just double click on the table listfields it will take to the table declaration where you can see the mask would be the field name.

&****************Reward Point if helpful**************&