‎2008 Aug 06 5:25 PM
‎2008 Aug 06 5:26 PM
ok code is nothig but the user-command .
http://help.sap.com/saphelp_47x200/helpdata/en/d1/801e61454211d189710000e8322d00/frameset.htm
in a general program we can create the user-commands in the pf-status and we also use the standard user commands means okcodes.
in the module pool program we can create them by specifying in the FCODE
in the BDC it is created by the system itself.
‎2008 Aug 06 5:26 PM
ok code is nothig but the user-command .
http://help.sap.com/saphelp_47x200/helpdata/en/d1/801e61454211d189710000e8322d00/frameset.htm
in a general program we can create the user-commands in the pf-status and we also use the standard user commands means okcodes.
in the module pool program we can create them by specifying in the FCODE
in the BDC it is created by the system itself.
‎2008 Aug 06 5:28 PM
It depends on your program/transaction.
You check the PF-STATUS of the program, or any function codes in the screen.
Check it.
Regards
Vijay Babu Dudla
‎2008 Aug 06 6:04 PM
Hi Diana,
OK_CODE is like the SY-UCOMM in the simple report.
Whenever you press any button or if you press enter, OK_CODE is filled with the value.
Example of OK_CODE:
http://www.sap-basis-abap.com/abap/purpose-of-ok-code-in-dialog-program.htm
Check this link for the list of OK_CODES:
http://sap.ionelburlacu.ro/abap/sap2/OK_Code_Values.html
Regards,
Chandra Sekhar