12-19-2007 11:23 AM
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
12-19-2007 11:34 AM
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
12-19-2007 11:34 AM
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
12-19-2007 11:39 AM
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...
12-19-2007 12:51 PM
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.