cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Convert Warning to Error Message in SRM 7.0

Former Member
0 Likes
527

Hi All,

The blocked account assignment value at backend need to be displayed as ERROR message in SRM7.0. But in current scenario the blocked Cost Centre in the backed is showing as WARNING message.

The message is stored in message class BBP_PD as &1&2&3&4 which is getting dynamically filled at run time from backend system. I want to change this warning message to Hard Stop Error message.

I tried using SPRO (Message control) but i wont works.

So kindly let me know if it can be done in some other way.

Thanks,

Chirag Shah

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Likes

Hey Chirag

Can you check this Badi  ZCL_IM_SRM_ACCT_MESSAGES_A  and the method here ..

IF_EX_BBP_MESSAGES_BADI~FILTER_MESSAGES 

LOG_MSG_NO in structure <FS_RETURN> will give you the exact message number you will find for which you could then add the code as per your requirement .

Do let me know if you are able to understand .

Former Member
0 Likes

Hi,

I was wondering if you might have a list of the common errors in SRM 7 and waht they mean. 

Please let me know.

Adine Miller

Former Member
0 Likes

Thanks, I have created the entries in the table mentioned above and then i was able to cutomize the message.

Former Member
0 Likes

Hi Chirag,

Can you let me know what customization was done?was there any code written in BBP_DOC_Check badi too,

Wanted to check that any message for that message number would be a error and just for this cost center message?

Any help in this regards will be appreciated

Regards

Vidya

ricardo_cavedini
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello,

Message control would only influence if message is available in table BBPV_PDMSG.

If it is not there, so message is not customizable.

Regards

Ricardo

lisa_sheil
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Chirag Shah

You may have to code the BBP_DOC_CHECK_BADI and in this code a check on any return messages from the RFC Call. If this message is sent back then change to Error.

I hope this helps,

Kind Regards,

Lisa