Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem in Table Control Scrolling in Subscreen

Former Member
0 Likes
1,043

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.

4 REPLIES 4
Read only

Former Member
0 Likes
805

Hi Nilanjan,

As subscreens doesn't have their own ok codes.

in PBO use

describe table itab lines tc-lines.

regards

Ramchander Rao.K

Read only

Former Member
0 Likes
805

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.

Read only

Former Member
0 Likes
805

Hi

if u r using ecc6.0 use table control wizard

ur problem will b solved.

Read only

Former Member
0 Likes
805

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.