‎2008 Sep 24 11:21 AM
Hi,
I created the Screen. PBO of that screen i created the Menu status using SET-PF status statement.
I activated all the buttons in that menu like Print,Save, Back, EXIT and others.
I written the code for Back, Exit and Cancel.
The issue the user is asking for Page down,Page Up and Other functionality. Is there any way to add functionality those buttons automatically with the help of Standard function codes. Means if we assign the Standard function codes to those buttons, will it work. If that is case please guide me.
‎2008 Sep 24 11:25 AM
Hi,
Use P++ function code for Page up and P-- for page down.
You have to give these function codes in PF status.
‎2008 Sep 24 11:32 AM
hi,
i know the standard function codes my question is i assign will it work.
Because am not writing any code for those buttons in the PAI
‎2008 Sep 24 11:34 AM
‎2008 Sep 24 11:38 AM
I doesnot know how to write for Page Up and Page Down and other functionality.
‎2008 Sep 24 12:16 PM
HELLO
YOU WRITE THIS CODE IN PAI
CASE OK_CODE.
WHEN 'P++'.
TC_CON-TOP_LINE = TC_CON-TOP_LINE + LINE .
WHEN 'L++'.
TC_CON-TOP_LINE = TC_CON-TOP_LINE + 1.
WHEN 'P--'.
TC_CON-TOP_LINE = TC_CON-TOP_LINE - LINE.
WHEN 'L--'.
TC_CON-TOP_LINE = TC_CON-TOP_LINE - 1.
WHEN 'E++'.
TC_CON-TOP_LINE = NUM - LINE + 1
.
ENDCASE.
‎2008 Sep 24 11:34 AM
Hi,
Copy the Standard GUI Status of one Standard Progarm which has Page Up/Down.
To copy the standard GUI status Go to SE41 transaction.
Then:
And add you own buttons and do the coding as you need.
Regards,
Rama.