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

SY-UCOMM - function

nivetha_d2021
Explorer
0 Likes
1,683

sy-ucomm = 'CNDI' . Can anyone explain what does it mean ?

5 REPLIES 5
Read only

VXLozano
Active Contributor
1,587

Yes, someone can.

...

Once said that, sy-ucomm is the system variable to transport the user command been executed. Its value depends on the status (menu) used by the current screen.

So, no, no one can explain what does it mean until you tell us which program/transaction you are getting it from.

Read only

tom_wan
Product and Topic Expert
Product and Topic Expert
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,587

On most dynpro, a GUI status is defined, in this objects (defined with SE41 and called in the PBO logic of main dynpros) are the function codes defined. So basically there is no unique answer to your question.

Also an ok_code is defined in those main dynpro, and better use this field than sy-ucomm (If you don't have a good reason, like cheating the system in a subscreen PAI for example)

Read only

0 Likes
1,587

If you are lucky, browse table RSMPTEXTS...

Read only

simi_am3
Explorer
0 Likes
1,587

Hello Nivetha,

Sy-ucomm holds the value for user command.

It holds value for menu bar button action or tool bar button action function code.

So please check your program menu painter what exactly this function code is assigned to.

Regards,

Simi