cancel
Showing results for 
Search instead for 
Did you mean: 

Warning to Error Message while creating Shopping cart

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 (2)

Answers (2)

Former Member
0 Kudos

Hi,

After getting the message id and number try to influence the influence the message control .

spro->SRM Server -> Cross application setting ->message control -> influence message control.

If that does not work then implementing the BBP_DOC_CHECK_BADI is an option as suggested by masa.

Cheers

Iftekhar Alam

Former Member
0 Kudos

Hi Iftekhar,

I did not find any message control related to the cost center lock/block in the pull down menu against the SC/PO.The exact warning message is 'Cost center xxxx locked for primary postings at this time'.I believe this is coming up from SRM ( It may be wrong), now the question is do i need to implement the above said BADI or is there any config setting that i need to maintain to make it error message.

Thanks ,

Richy

Former Member
0 Kudos

Hi Richy,

The cost centre which you have maintained is locked for postings. Try to change the cost center and the warning message should be gone.

If you still want to chnage the message from warning to error,you can do in SPRO-->img->SRM->SRM Server -> Cross app basic settings->message control -> Influence message ctl.

If an entry doesnt exist for this message in SPRO,make an entry in view BBPV_PDMSG (Tranx: SM30).

See these related threads for more pointers:

BR,

Disha.

Former Member
0 Kudos

Richy,

if you decide to duplicate your message in 2 subforums you should check them both... The message you get is from ECC and can't be influenced with any setting in SRM.

Implement the doc_check_badi to copy the warning and make it an error.

Robin

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Please check BBP_DOC_CHECK_BADI or BBP_F4_READ_ON_EXIT BADI.

Regards,

Masa