Skip to Content
Former Member
Mar 02, 2007 at 07:09 PM

Clearing the SY-UCOMM of a Screen Exit Push Button in SAP Std Transaction


Hi ABAP Experts,

I am calling a ZTransaction after a Push Button is clicked in a Screen Exit, from a SAP Transaction. After completing the tasks in the ZTransaction, I need to come back to SAP Standard Transaction to perform the required task. I am clearing the SY-UCOMM (Push Button) value after the Transaction is completed. But when the Program control comes out of the Screen Exit, It still holds the SY-UCOMM value of the Push Button (ZTransaction) and the Screen Flow gets stopped and throwing Error.

After the Program control comes back to SAP Standard Transaction, The SY_UCOMM needs to be automatically assigned with the values that are available in the SAP Standard Transaction. I am trying to clear it in Debugging too at various points in the Program, But still it hold the Push Button in the Screen Exit and the program is earring out since it does not fine the SY-UCOMM values in the Standard Screens of the same Transaction.

I am not able to clear the SY-UCOMM value of the Push Button of the Screen Exit, which is used to call the ZTransaction. Can you please suggest me any Solution.