Skip to Content
avatar image
Former Member

Regarding Table control of Module pool program

Hi Friends,

I made a module pool program with table control. In my  internal table 60 row is there but when i want to save  it only capture 16 data only which means its capture the Visible length. But I want save all 60 records in the table . So please guide me how can i extend the visible length and save all the 60 records instead of 16 records .

Thanks & regards

Ranjit

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • avatar image
    Former Member
    Jan 08, 2015 at 06:10 AM

    use Chain  endchain  .

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Ranjit,

      Have you used code wizard for drawing a Table control? If not please use code wizard. Please check what is there in the MODULE COUNT_LINES in PAI and PBO MODULE COUNT1_LINES and check where you had wrote logic to SAVE the entries.

      Thanks & Regards,

      Seshadri.

  • Jan 08, 2015 at 07:17 AM

    Hi Ranjit,

    Where you have write your Save Logic.

    It should be in USER_COMMAND.

    in PAI.

         Loop at ITAB1 into wa.

              Data Transfer logic from Internal table to Table Control.

              All Other Table Control Screen Related Logic.

            endloop.

    in PBO.

    LOOP AT ITAB1.

         CHAIN.

         ENDCHAIN.  this should be use either validate the data or update the table control data.

    ENDLOOP.

    MODULE USER_COMMAND . this should hold the all logic based on the EVENT (SY-UCOMM).

    regards.

    Praveer.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear All,

      It is showing 60 nos of record in ITAB  but when its looping it only captured visible length row only. In visible length 16 row is there . So plz how can i increase the visible length  16 to 60.

      Please send a code  or give some idea.

      Thanks & regards

      Ranjit

  • avatar image
    Former Member
    Jan 08, 2015 at 09:27 AM

    hii ranjit

    in your program (se38) in pbo module

    add this line  zcntrl-lines = 100.


    hope this will be helpful

    Regards

    Gaurav

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 08, 2015 at 10:50 AM

    Hi Ranjit,

    In screen attributes , other attributes tab

    what you maintained in lines / columns occupied / maintained ?

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 08, 2015 at 10:53 AM

    Hi Ranjit,

    Try.

    Display all  the fields by grouping and displaying into   Tabstrips.

    Hope it helpful.

    Regards,

    Venkat.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 08, 2015 at 11:07 AM

    Hi Ranjit,

    If you have created table control using wizard check you have selected the option scroll or not..

    And also check the modules COUNT_LINES in PBO PAI..

    Regards,

    Shashikanth

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 08, 2015 at 12:10 PM

    Hii ranjit

    as i said earlier just define control name-lines = '100'.

    Regards

    Gaurav

    Add comment
    10|10000 characters needed characters exceeded