Error message in BADI (Ex. mm_messages_mac)

Hello,

If you want to give error message in badi , You must use message include .

For example for mm message you can use  “mm_messages_mac” include.

CODE ——–>
class : ZCL_IM_ZME_PROCESS_REQ_CUS
Method : IF_EX_ME_PROCESS_REQ_CUST~PROCESS_ACCOUNT

 

INCLUDE mm_messages_mac."Put this row top in your code

 

"Using message :
"1 - )
mmpur_message_forced 'E' 'ZMM' '078' '' '' '' ''.
"2 - )
mmpur_message_forced 'E' 'ZMM' '001'  '' '' 'Error txt' ''.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s