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

Problem in a Custom screen

Former Member
0 Likes
941

Hi Experts,

I am getting a error while executing the custom screen which is contained table control. Error is "Generation Error(s): "LOOP" cannot be assigned to any field.".

Could anybody help me in this regard.

Thanks,

bsv.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
660

Hi,

If the program is regarding Module pool then,

Add,

loop with control <tabcontrol name>.

endloop. in PBO PAI of the screen.

And don't forget to declare,

controls: <tabcontrol name> type tableview using screen <screen number>.

Hope this helps.

Edited by: jagannathan krishnan on Jan 29, 2008 10:40 AM

4 REPLIES 4
Read only

Former Member
0 Likes
661

Hi,

If the program is regarding Module pool then,

Add,

loop with control <tabcontrol name>.

endloop. in PBO PAI of the screen.

And don't forget to declare,

controls: <tabcontrol name> type tableview using screen <screen number>.

Hope this helps.

Edited by: jagannathan krishnan on Jan 29, 2008 10:40 AM

Read only

0 Likes
660

Hi jagannathan,

Yes I have added loop in both the PAI and PBO. But also not coming out.

Thanks,

bsv.

Read only

Former Member
0 Likes
660

can u just send the codes which u written in the corresponding PBO.

Read only

Former Member
0 Likes
660

Hi,

Try like this,

Add the below code in PBO and PAI.

LOOP AT <itab> WITH CONTROL <table control name> CURSOR <table control name>-CURRENT_LINE.

ENDLOOP.

Use the above code, if you are facing the same problem,

just send us your code which you used in PBO and PAI.