cancel
Showing results for 
Search instead for 
Did you mean: 

How to get success messages from BADI UJD_RETRACT

CHRNIEMANN
Advisor
Advisor
0 Kudos

Hi BPC experts,

I use the UJD_RETRACT BADI. I always get a warning in the status although I just retrun sucess messages in "et_message". How can I bring the status to "Successful" and how to "Error". I always just get "Warning".

Kind regards,

Christian

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hello,

I know this thread is a bit old but there's any hint on this? we've the same problem.

Thanks

Former Member
0 Kudos

I have the same problem, can someone help me?

thank you

CHRNIEMANN
Advisor
Advisor
0 Kudos

Hi,

thanks for reply.

I definitely used message type field MSGTY with "E" and "S", but I get only warnings back to the user in the log:

CLEAR l_msg.

l_msg-msgid = c_msgid.

l_msg-msgty = 'S'.

l_msg-msgno = 9.

l_msg-msgv1 = e_records.

CONDENSE l_msg-msgv1.

APPEND l_msg TO et_message.

Any idea?

Kind regards,

Christian

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

When you write a message to ET_MESSAGE, there should be a column for "Message Type". You should be able to set that column accordingly. S = Success, I = Information, W = Warning, E = Error, A = Abort.

Regards,

Rich Heilman