03-08-2023 7:27 AM
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!
03-08-2023 1:09 PM
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).