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

How to control manually the scrolling of Table Control?

Hi,

I have one selection screen which takes me to the next screen (Screen 2) having a table control.In this screen I have some buttons like display, change etc ,by clicking on which it goes to the third screen.Now my problem is even when I try to vertically scroll this table control it is taking me to the third screen which I do not want to happen. Could anyone please help me in this.

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 06:07 AM

    hi,

    Check this may help you out.

    You may be using ok-code values to choose the dispaly or change buttons in the second screen.My suggestion is to clear the sy-ucomm or the ok-code value as soon as the event is triggered.while scrolling the table control there is a chance that the ok-code value will be there inn the sy-ucomm field when you have selected before.

    Regards,

    soumya.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 07:50 AM

    In PBO write the following code for scrolling

    &----


    *& Module set_lines OUTPUT

    &----


    • text

    ----


    MODULE SET_LINES OUTPUT.

    DATA VLINES TYPE I.

    DESCRIBE TABLE ITABCTL LINES VLINES.

    TABCTL-LINES = VLINES + 1.

    ENDMODULE. " set_lines OUTPUT

    This is code for vertical scrollin..

    Howevr check ur ok-codes..

    Hope dis helps...

    reward if it does..

    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.