Skip to Content
author's profile photo
Former Member

Table control

Why do we give loops in both PAI and PBO in case of Table controls.

Regards

Krishna

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 07:31 AM

    Hi

    First have to know the concept of Table control

    The main purpose of table control is to display multiple records in a table like format.

    so when to wants to display the multiple records, the internal table from which the table control has to be populated has to be kept in loop both in PAI and PBO.

    see the doc

    Check the below link:

    http://wiki.ittoolbox.com/index.php/FAQ:What_is_module_pool_program_in_abap%3F

    http://help.sap.com/saphelp_46c/helpdata/en/35/26b1aaafab52b9e10000009b38f974/content.htm

    http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm

    http://sap.mis.cmich.edu/sap-abap/abap09/index.htm

    You can also check the transaction ABAPDOCU which gives you lot of sample programs.

    Also you can see the below examples...

    Go to se38 and give demodynpro and press F4.

    YOu will get a list of demo module pool programs.

    One more T-Code is ABAPDOCU.

    YOu can find more examples there.

    See the prgrams:

    DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement

    DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB

    http://www.geocities.com/ZSAPcHAT

    http://www.allsaplinks.com/files/using_table_in_screen.pdf

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 07:36 AM

    In PAI we loop through the internal table that corresponds to the TABCTRL to read from the TABCTRL, and in PBO to populate the TABCTRL. Is thre anything more specific that you were thinking about?

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 07:37 AM

    hi

    good

    go through this link

    http://sap.niraj.tripod.com/id29.html

    reward point if helpful.

    thanks

    mrutyun^

    Add comment
    10|10000 characters needed characters exceeded