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

Regaading Screen

Former Member
0 Likes
631

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.

6 REPLIES 6
Read only

Former Member
0 Likes
607

Hi,

Use P++ function code for Page up and P-- for page down.

You have to give these function codes in PF status.

Read only

Former Member
0 Likes
607

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

Read only

0 Likes
607

You should write the function code.

then do coding for that.

Read only

0 Likes
607

I doesnot know how to write for Page Up and Page Down and other functionality.

Read only

0 Likes
607

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.

Read only

Former Member
0 Likes
607

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.