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

WARNING MESSAGE in USER EXIT

Former Member
0 Likes
3,392

Hi ,

We are not able to TRIGGER a WARNING MESSAGE but we are able to TRIGGER an ERROR MESSAGE for a particular Business Scenario in side a user Exit.

Any way we can produce the WARNING MESSAGE from the USER EXIT.

Regards,

Sap User

10 REPLIES 10
Read only

naimesh_patel
Active Contributor
0 Likes
1,886

Hello,

It is not possible to have wornings from Exits.

Use FM POPUP_TO_CONFIRM for the user confirmation.

Regards,

Naimesh

Read only

Former Member
0 Likes
1,886

Hi SAP ,

i dont y u are not able to display , But u can able to display , if not try to Populate message using

<b>POPUP_TO_CONFIRM_WITH_MESSAGE</b> like that.

Regards

Prabhu

Read only

0 Likes
1,886

Hi Prabhu,

Users don't want as a popup.

Is there any other way to do?

The userexit which we are using is

EXIT_SAPMM06E_012 -> zxm06u43

Regards,

SapUser

Read only

0 Likes
1,886

Hello,

Try like this

MESSAGE W004 DISPLAY LIKE 'E'.

or

MESSAGE E004 DISPLAY LIKE 'W'.

Regards,

Naimesh

Read only

ibrahim_u
Active Participant
0 Likes
1,886

did you try MESSAGE with A ?

Example


        v
MESSAGE A047(ZY).
        ^

ibrahim

Read only

Former Member
0 Likes
1,886

Hi Ibrahim,

If we use A or E it works. No issues

The users wants to have only warming message.

Thanks

Regards,

Swarna

Read only

Former Member
0 Likes
1,886

Hi sapuser,

1. We can issue message of type 'I'

(messsage of type W

gets displayed on status bar,

and if the standard transaction,

again display some its own message,

then our message will be overwritten)

2. it will be displayed in a message box.

regards,

amit m.

Read only

Former Member
0 Likes
1,886

Hi Amit,

No it is not displayed in the message box.

Regards,

Read only

Former Member
0 Likes
1,886

Please, check SAP note 310154. It works!!! Use mmpur_message_forced.

Read only

Former Member
0 Likes
1,886

Hi,

In case of user modifications it is possible to trigger a W message.

For example, from include MV45AFZZ, the user defined routines we can trigger W also.

Can you specify which user exit that you are trying out?

Rgds,

HR