2013 Sep 17 4:01 AM
HI, ALL
I had found a may for getting SAP user logoff information that need modify standard program 'LSPO1I10' ,
Pls check below code :
MODULE OKCODE.
OK_CODE_SAVE = OK_CODE.
CLEAR OK_CODE.
CASE OK_CODE_SAVE.
WHEN 'CANC'.
ANTWORT = 'A'.
WHEN 'YES'.
ANTWORT = 'J'.
"Your code"
.......
SET SCREEN 0.
LEAVE SCREEN.
ENDMODULE.
But i don't know whether i modify this standard program will have some aftermath for system ? Pls tell me ,thanks .
2013 Sep 17 7:28 AM
Hi Yong,
Modifying the standard program is not recommended and for any upgrade a new version of this program will override your change. Please try to find out an alternative place where you can implement a enhancement implementation or user exit to get required result.
BR,
Tanmay
2013 Sep 17 7:45 AM
You dont need to modify the standard program, instead you can just create an implicit enhancement in that program and add your logic there.
Regards,
Gautham.
2013 Sep 18 10:37 AM
HI, i try to create an implicit enhancement,but is have below this info:
'Object FUGR SPO1 is part of the central basis and therefore cannot be enhanced'
I cannot find a user exit for SAP logoff and just find the standard program .