cancel
Showing results for 
Search instead for 
Did you mean: 

How to get own message into message protocol in recn?

Former Member
0 Kudos

Hi all,

I´ve developed my own coding in BADI IF_EX_RECN_CONTRACT~CHECK_ALL where I cross-check data input.

I have to raise a warning if my requirements are met.

As long as I use message type E, and an "append ls_message to ct_message." I receive an error-message in

transaction RECN. However this message is displayed in the status line, not in the message log that I receive when checking the contract or on saving it.

How can I add a message to the message log? As warnings don´t appear in the status line and my message does not need to be an error.

What have I missed?

Accepted Solutions (0)

Answers (1)

Answers (1)

franz_posch
Active Contributor
0 Kudos

Hi Ute,

please refer to the example implementation for BADI_RECN_CONTRACT, CL_EXM_IM_RECN_SINGLE_BE_CHECK.

class CL_EXM_IM_RECN_SINGLE_BE_CHECK

Method IF_EX_RECN_CONTRACT~CHECK_ALL

The method shows a coding example on how to insert messages in the message list.

I hope this information is helpful for you.

Regards, Franz