Application Development and Automation 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: 
Read only

user exit message problem

Former Member
0 Likes
585

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

4 REPLIES 4
Read only

former_member194669
Active Contributor
0 Likes
562

Hi,

May be like


MESSAGE s000(xxx) DISPLAY LIKE 'E'.

a®

Read only

Former Member
0 Likes
562

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

Read only

alejandro_bindi
Active Contributor
0 Likes
562

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.

Read only

Former Member
0 Likes
562

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