‎2008 Jul 21 6:51 AM
can any body tell me about The system field which ascertains function code currently active?
‎2008 Jul 21 6:52 AM
hi pareena,
The Function code currently active is ascertained by SY-UCOMM system field
‎2008 Jul 21 6:53 AM
‎2008 Jul 21 6:53 AM
hi pareena,
The Function code currently active is ascertained by SY-UCOMM system field
‎2008 Jul 21 6:55 AM
Hi,
check this link:
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaa1335c111d1829f0000e829fbfe/content.htm
Regards
Adil
‎2008 Jul 21 6:56 AM
‎2008 Jul 21 7:03 AM
Hi,
For PAI event that a user triggers by choosing either a pushbutton on the screen or an element in a GUI status, the corresponding function code is placed into the system field SYST-UCOMM or SY-UCOMM and placed in the OK_CODE field if declared.
Its always better to use OK_CODE instead of SY-UCOMM. There are two reasons for this: Firstly, the ABAP program has full control over fields declared within it, and secondly, you should never change the value of an ABAP system field.
DATA: OK_CODE LIKE SY-UCOMM.
Hope this hepls out.
plz reward if useful.
thanks,
dhanashri.
‎2008 Jul 21 7:07 AM