2013 Aug 12 10:27 AM
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.
2013 Aug 12 2:32 PM
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
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.
2013 Aug 12 1:16 PM
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.
2013 Aug 12 1:22 PM
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.
2013 Aug 12 2:32 PM
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
2013 Aug 13 5:43 AM