on 06-09-2007 10:17 AM
hi
i want to knw how to exit the module pool screen?
i am calling a screen 100 from my program and when i want to go back the tool bar buttons does wrk wat to do inorder for that bottons to wrk?
hi ajantha,
u will have to define a module command in PAI event...as
MODULE cancel AT EXIT COMMAND.
in that u will have to write...
ok_code = sy-ucomm.
case ok_code.
when 'BACK' or 'CANCEL' or 'EXIT'.
leave to screen 0.
ENDCASE.
hope this will help u out...
please reward points in case useful..
regards,
Prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ajantha,
at the pbo u can find this set pf-status 'xxxxx',
just delete these xxxxx and your name something like 'zxx',
double click on that,
yes,
yes,
on the functon bar u can find some icons for back ,enter,exit ,save, and etc,
on the back icon,
write back and save, activate,
go back to the program,
at pai,
case sy-ucomm.
when 'BACK'.
leave program.
endcase.
then activate it works,
reward points if helpful,
regards,
seshu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in order to come back from ur screen to sap initial screen,
activate ur pf status and do mention BACK,CANC,EXIT in Pf status. Function code should be Upper case
write the query in PAI
case sy-ucomm.
when 'BACK'.
leave to screen 0.
when 'CANC'.
leave to screen 0.
when 'EXIT'.
leave to screen 0.
endcase.
Please activate pf status in PBO..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.