Application Development 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: 

Standard menu bar and title bar

Former Member
0 Kudos

Hi to all

I am developing a module pool program in which I have defined set pf status in PBO event.

But while running the program that standard tool bar not working.

Plz guide me....

Thanks & Regards

Anubhav

1 ACCEPTED SOLUTION

Former Member
0 Kudos

you need to handle the working of standard features in PAI ...

as you have defined your own PF-STATUS you'l need to define the standard functions as well

3 REPLIES 3

Former Member
0 Kudos

you need to handle the working of standard features in PAI ...

as you have defined your own PF-STATUS you'l need to define the standard functions as well

Former Member
0 Kudos

hi,

u need to functionality of every button in user_command_1000 Module in PAI like

MODULE user_command_1000 INPUT.

ok_code = sy-ucomm.

CASE ok_code.

WHEN 'BACK' OR 'UP' OR 'CANC'.

LEAVE PROGRAM.

ENDCASE.

ENDMODULE. " USER_COMMAND_1000 INPUT

reward if useful...

Former Member
0 Kudos

hi anubhav gupta,

PBO---

after defining set pf status in PBO event,double click on the name of the status u have given.

u will enter into the new screen which consists of menu bar

application tool bar

function keys.

open the function keys,u will have the options there,for example write exit on one of the icon and double click on that,function attributes window will open,and give thefunction code as 'exit',function type as 'E',

PAI----

crate a PAI module,in that write the following code

MODULE cancel_0102 INPUT.

CLEAR ok_code.

ok_code = sy-ucomm.

CASE ok_code.

WHEN 'BACK' OR 'CANCEL'.

SET SCREEN 100.

LEAVE SCREEN.

WHEN 'EXIT'.

LEAVE PROGRAM.

ENDCASE.

ENDMODULE. " cancel_0102 INPUt

i think this solves ur problem.