Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

system fields

Former Member
0 Likes
694

can any body tell me about The system field which ascertains function code currently active?

7 REPLIES 7
Read only

Former Member
0 Likes
675

hi pareena,

The Function code currently active is ascertained by SY-UCOMM system field

Read only

Former Member
0 Likes
675

Hi Friend,

The System field is SY-UCOMM.

Regards

Hemant Khemani

Read only

Former Member
0 Likes
675

hi pareena,

The Function code currently active is ascertained by SY-UCOMM system field

Read only

Former Member
Read only

Former Member
0 Likes
675

Pareena,

Am afraid to say there is no such system field.

Amit.

Read only

Former Member
0 Likes
675

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.

Read only

Former Member
0 Likes
675

hi pareena..

SY-UCOMM cantain ur screen current user action