cancel
Showing results for 
Search instead for 
Did you mean: 

Warning to error message while creating a SC

Former Member
0 Kudos

Hi,

How to make a warning message to error message while creating a SC against the Cost Center when the cost center is closed in SRM 4.0.

Currently we are running on SRM 4.0 with ECC 5.0 as back end and user are able to raise a SC and POs even the cost center is closed.We want to make it as error message and stop users to create a SC /PO against those closed Cost centers.

Thanks and Appreciate your inputs.

Regards,

RK

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Use the BBP_DOC_CHECK_BADI.

1. Get the backend message with a getmessage* FM.

2. Check if it's a closed cost center warning.

3. Add your own error message (can be just a copy of the message you retrieved) as an 'E' error

Because this is a backend warning, you can't influence it in SRM with the message control in SRM unfortunately.

Regards,

Robin