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: 

Terminate Program after displaying Pop-up in ME_PROCESS_PO_CUST

nidz
Member
0 Kudos

I have created an implicit enhancement in ME_PROCESS_PO_CUST, CHECK method to display a pop-up with all the PO quantities added up.

However, when I select NO or CANCEL in the pop-up it is required to take me back to the PO screen to edit the PO quantities.

I am unable to do that, and I have tried the below ways to achieve the same but did not succeed:

SET SCREEN, LEAVE TO SCREEN

MESSAGE <msg> TYPE 'I' DISPLAY LIKE 'E'

EXIT, STOP

LEAVE TO CURRENT TRANSACTION

MESSAGE <msg> TYPE 'A'

Any help would be appreciated!

1 REPLY 1

raymond_giuseppi
Active Contributor

Just set the CH_FAILED parameter in these cases. (I also hope you check that the pop-up is not displayed when the user interface is not available, e.g. in case of background processing of a command).