2008 Nov 24 5:32 AM
Hello All,
I have added a subscreen in a standard transaction and having a Table Control in the Subscreen. The vertical Scrolling of the table control is not working as I am not able to catch the Function Code for the same. The Sy-ucomm gives the function code of the main screen. Can you people help me how I can identify that scrolling is done and how can i achieve the same.
Thanks in advance.
Hello All,
I have added a subscreen in a standard transaction and having a Table Control in the Subscreen. The vertical Scrolling of the table control is not working as I am not able to catch the Function Code for the same. The Sy-ucomm gives the function code of the main screen. Can you people help me how I can identify that scrolling is done and how can i achieve the same.
Thanks in advance.
2008 Nov 24 6:02 AM
Hi Nilanjan,
As subscreens doesn't have their own ok codes.
in PBO use
describe table itab lines tc-lines.
regards
Ramchander Rao.K
2008 Nov 24 8:22 AM
Hi,
You can't assign Fun.Code for sub screen.But You can create push buttons in sub screen and use those fun.Code to scrolling purpose.
Another way is, you can use main screen fun.code for your table control.only thing, you have to check cursor is placed in table control or not. If yes, table should scroll.
i think second option is right one.
2008 Nov 24 9:52 AM
Hi
if u r using ecc6.0 use table control wizard
ur problem will b solved.
2008 Nov 24 2:18 PM
hi,
for the table control if you double click , there will be two parameters vertical scrolling and horizontal scrolling. click both of those.
in the PBO write :
describe table <internal_table_name> lines <table_control_name-lines>.
this should help you with scrolling functionality in table control.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |