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

page up/down in table control

Former Member
0 Likes
1,908

Hi, all

I have created table control having more than 100 entries in that table control i want to scroll down and scroll up of records of this table control USING PAGE UP and PAGE DOWN button, when i use mouse to scroll the table control is working properly but in key board pressing page up and page down button it's not working, the cursor is going out off table control please give solution for this.     

Regards,

Ams k.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,115

Hi Ams,

I am checking the demo programs of SAP DEMO_DYNPRO_TABLE_CONTROL_1 and DEMO_DYNPRO_TABLE_CONTROL_2 the cursor is in the table control even when using the PAGE UP and PAGE DOWN button in the keyboard.

May be there is one issue i faced when there was another input field on top of the table control. The cursor always goes to that input field.

For this i wrote the code as shown below

PBO:

IF GV_FIELDNAME IS NOT INITIAL.

SET CURSOR FIELD GV_FIELDNAME

                          LINE  GV_LINE.

ENDIF.

PAI

GET CURSOR FIELD GV_FIELDNAME

                          LINE  GV_LINE.

It worked for me, Guess this is your issue.

Rewards points if helpful.

Regards,

Vasanth

4 REPLIES 4
Read only

Arun_Prabhu_K
Active Contributor
0 Likes
1,115

You are right Ams. This issue is persistent with PAGE UP and PAGE DOWN of a table control.

I guess this bug is still not yet fixed by SAP.

Read only

Former Member
0 Likes
1,115

Hiie Ams,

I have also faced the same issue ..,

Pls try to fix this as per Quality and Production System Behavior by recording in Quality/production system  ...

For Page Down /Page Up Use the below code:

perform bdc_field using BDC_OkCode '=P+'.

Regards,

Lokesh.

Read only

Former Member
0 Likes
1,116

Hi Ams,

I am checking the demo programs of SAP DEMO_DYNPRO_TABLE_CONTROL_1 and DEMO_DYNPRO_TABLE_CONTROL_2 the cursor is in the table control even when using the PAGE UP and PAGE DOWN button in the keyboard.

May be there is one issue i faced when there was another input field on top of the table control. The cursor always goes to that input field.

For this i wrote the code as shown below

PBO:

IF GV_FIELDNAME IS NOT INITIAL.

SET CURSOR FIELD GV_FIELDNAME

                          LINE  GV_LINE.

ENDIF.

PAI

GET CURSOR FIELD GV_FIELDNAME

                          LINE  GV_LINE.

It worked for me, Guess this is your issue.

Rewards points if helpful.

Regards,

Vasanth

Read only

0 Likes
1,115

thanx Vasanth it's working. 

  Regards,

  Ams K.