Application Development 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: 

SY-UCOMM - function

nivetha_d2021
Explorer
0 Kudos

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

5 REPLIES 5

VXLozano
Active Contributor

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.

tom_wan
Contributor

raymond_giuseppi
Active Contributor
0 Kudos

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)

0 Kudos

If you are lucky, browse table RSMPTEXTS...

simi_am3
Explorer
0 Kudos

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