Skip to Content
author's profile photo Former Member
Former Member

Problem in a Custom screen

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 09:38 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 09:45 AM

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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 09:51 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.