2006 Nov 01 5:49 AM
CAN ANY BODY HELP ME REGARDING THIS.
THANK YOU
PRATHAP
2006 Nov 01 5:50 AM
Hi prathap,
1. No difference.
2. Any user code (action done by user on the screen)
gets captured in the system variable sy-ucomm.
3. In our module pool, we declare another variable,
okcode,
which automatically contains the user command,
ie. sy-ucomm.
regards,
amit m.
2006 Nov 01 5:51 AM
2006 Nov 01 5:54 AM
Hi Pratap,
There is no such difference between SY-UCOMM and OKcode.
Sy-ucomm is system defined variable and okcode we declare variable.In module pool instead using sy-ucomm we use okcode .
Regards,
nagaraj
2006 Nov 21 10:27 AM
CHECK THIS LINK
http://www.sap-img.com/abap/sy-ucomm-and-ok-code-in-dialog-program.htm
HOPE THIS WILL SATISFY U.
REGARDS,
VIKRAM DEV
2006 Nov 21 10:43 AM
2006 Nov 21 10:47 AM
Both are same, But ok_code is user defined varaible to handle the user actions, instead of using the system variable sy-ucomm.
Regards
Vijay
2006 Nov 21 10:51 AM
Hi
Both are same. Sy-ucomm is a system field in to which fct code of a pushbutton will get stored when you click on the push button. In module pool program you will store this sy-ucomm data in a user defined variable called ok code, using this variable you will code the program.
Regards
Haritha.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |