cancel
Showing results for 
Search instead for 
Did you mean: 

Module pool

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

u've to explicitly handle ur BACK button in the PAI of ur screen, something like this

w_okcode = ok_code.

CLEAR ok_code.

CASE w_okcode..

WHEN 'BACK'. " ->give the function code attached to ur BACK button

LEAVE TO SCREEN 0.

ENDCASE.