2007 Aug 17 6:24 PM
hi all
i am giving an error message in a user exit the error message comes as a pop up and moving ahead takes me out of the transaction i seriously donot want this.
even worning messages are coming as success ones
is there a way out for giving error msg
regards
navjot
2007 Aug 17 6:49 PM
2007 Aug 17 7:50 PM
Hi,
First Check the Exit , whether it is an PBO or PAI exit. You can give an I message and force user to stay on the same screen .
Please Check the Program DEMO_MESSAGES , to understand the Message behaviour
Message was edited by:
Hari Charan Dingari
2007 Aug 18 12:49 AM
Check exit documentation. There are certain exits where you can't trigger messages. Also have in mind that the MESSAGE sentence implicitly triggers a COMMIT or a ROLLBACK depending on it's type.
Regards.
2007 Aug 18 2:04 AM
Post details of the transaction code you are trying to issue the message in, and of the exit you are using.
Often transactions have multiple user exits, and you may be using the wrong one to issue the message.
In some cases like Purchase Orders you need to call SAP code / macros to add the message to a list of messages that the standard screen will then display.
Andrew