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 at screen

Former Member
0 Kudos
186

Hi,

I am using loop at screen in my code..But when i go to debugging it is showing that screen is a structure....can anyone tell me how it possible to loop at structure...

Also I have declared only 4 selection screens...But some 15 plus times my loop is going to loop at screen...any specfic reason?

5 REPLIES 5

Former Member
0 Kudos
99

Hi Arvind,it will show screen as a structure with 17 fields.In these fields only u will set the attributes like INPUT = 'X',Invisible,required etc.As far as loop is concerned,(as far as my knowledge)it will depend on the number of text fields and input/ouput fields on selection screen.If u have 4 Parameters in selection screen then it will loop 8 timese and if u have declared few select options then it will loop more number of times.

Thanks & Regards,

Rock.

Former Member
0 Kudos
99

sep screen attributes will be maintained for every field....

example parameters : p_matnr like mara-matnr..

for this case loop will rotate two times

one for text----p_matnr.

one for i/o fields ---p_matnr..

Former Member
0 Kudos
99

hi...

use this loop in PBO wer its looping on the control table

regards

vivek

Former Member
0 Kudos
99

In reports, write Loop at Screen under 'AT SELECTION-SCREEN' or 'AT SELECTION-SCREEN OUTPUT' depending upon your requirement.

Former Member
0 Kudos
99

question answered