Skip to Content
avatar image
Former Member

SAP-ABAPpg

for displaying table control data we have to write loop and endloop under PBO and PAI if i use only one loop in either PAI or PBO Wt will happen?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    May 29, 2006 at 02:36 AM

    Hi Rao,

    In the PBO you write a loop with reference to a table control to read the data from an internal table into the table control. In PAI you read the data from the table control back into the internal table.

    This is the std way of using a table control. If you remove one loop the program will not work.

    Cheers

    VJ

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 29, 2006 at 04:30 AM

    HI

    GOOD

    ITS ALL DEPENDS UPON YOUR REQUIREMENT, IT MAY NOT BE COMPULSORY THAT YOU HAVE TO GIVE THE LOOP IN BOTH PAI AND PBO STATEMENT.

    PAI-PROCESS AFTER INPUT

    PBO-PROCESS BEFORE OUTOUT

    SO IF YOU WANT SOMETHING AFTER THE INPUT THAN YOU HAVE TO GIVE THE LOOP AT PAI

    OR IF YOU WANT SOMETHING BEFORE THE INUT THATN YOU CAN GIVE THE LOOP STATEMENT AT PBO STATEEMENT

    THANKS

    MRUTYUN

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 29, 2006 at 04:39 AM

    Hi Srinivas,

    Check these links.

    You will have a clear picture of the use of loops in table control.

    http://help.sap.com/saphelp_erp2005/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/frameset.htm

    http://www.sapdevelopment.co.uk/dialog/tabcontrol/tc_basic.htm

    http://www.geocities.com/SiliconValley/Campus/6345/contro02.htm

    Regards,

    Susmitha.

    Dont forget to reward points for useful answers.

    Add comment
    10|10000 characters needed characters exceeded