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

Screen scrolling problem

former_member628175
Active Participant
0 Likes
2,407

Hello All,

I have been facing this issue in a module pool program. I have a main screen with 3 subscreen areas in it. These subscreens areas would point to different subscreens at runtime depending on the some condition. On the third subscreen we have a table control in it.

Now whenever we want to scroll through the records in that table control, first we have to scroll the main screen to the bottom (to display the table control which is at the end) and then scroll the table control. When we scroll the table control data, the main screen cursor again goes to TOP and we again need to scroll it down to the end.

Could anyone throw some light on the issues? Any help would be appreciated.

Thanks,

Shounak

2 REPLIES 2
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
1,175

Hello,

This is the common problem and its a standard one.The only alternative i can think of is just position your table control in such a way its always visible on the sub screen.Place it close to the top end of the subscreen.

It will be good if you show them in any transaction ME21N or ME51n etc that this is happening because of the standard functionality provide by SAP.

Regards,

Nabheet Madan

Read only

Former Member
0 Likes
1,175

Hello Shounak ,

The possible way to avoide this problem is:

Use Get cusor field <field(f1)> line <line(l1)> in the PAI where you have written code for the table control and

Use Set cursor field <field(f1)> line <line(l1)> in the PBO .

One thing you should remember that these codes must be written inside the loop and endloop of the table control, Both in PBO

and PAI.

Hence you need to scroll the screen only one and when the crusor will reach to the table control it will stay in its position

despite of scroll of the table control .

Thanks & Regards.

Subhash.