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

How to activate the Vertival Scroll Bar to Table control

Hi All,

I Have created a Module pool table control(Wizard) with Input control,where user can enter the values in the screen.

In my screen 15 lines are visible,once i enter all 15 rows,vertical scroll bar is active,but rest of all lines are in deactivate mode.

My requirement is:Once i enter all the visible lines,the remaining lines should be in activ mode(In put control).

I appreciate your response.

Best Regards,

Seshadri

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Jun 13, 2007 at 09:58 AM

    in the PBO include these lines

    <tabctrlname> is the name of the table control placed on the screen.

    it_tabctrl is the internal table data that is being passed to the table control.

    describe table it_tabctrl lines N.

    <tabctrlname>-lines = N.

    Regards

    Gopi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 13, 2007 at 10:00 AM

    IN PBO use

    TC_MAT-Lines = 20..

    Tc_mat is the table control

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 13, 2007 at 10:02 AM

    DATA : BEGIN OF IT_MARA OCCURS 1,

    MATNR LIKE MARA-MATNR,

    ERSDA LIKE MARA-ERSDA,

    ERNAM LIKE MARA-ERNAM,

    MTART LIKE MARA-MTART,

    MBRSH LIKE MARA-MBRSH,

    V_FLAG TYPE C,

    END OF IT_MARA.

    DATA : WA_MARA LIKE it_MARA .

    CONTROLS TABLE TYPE TABLEVIEW USING SCREEN 100.

    MODULE POPULATE_100 INPUT.

    CASE SY-UCOMM.

    WHEN 'DISP'.

    SELECT MATNR

    ERSDA

    ERNAM

    MTART

    MBRSH FROM MARA INTO WA_MARA .

    APPEND WA_MARA TO IT_MARA.

    ENDSELECT.

    DESCRIBE TABLE IT_MARA LINES V_TEXT.

    TABLE-LINES = V_TEXT.

    CLEAR IT_MARA.

    Regards..

    Balaji ( assign if this helps u ..)

    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.