2007 Nov 30 2:24 AM
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.
2007 Nov 30 6: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.
2007 Nov 30 6: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.
2007 Nov 30 7: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..