cancel
Showing results for 
Search instead for 
Did you mean: 

Shoppingcart Back end warning messages

Former Member
0 Kudos

Hello

We have two warning messages displayed in shopping cart

1. No Cross Company Purchasing is Alllowed

2. WBS element budget exceeded

These mesages are shown as Warning messages while creating the SC. But we need these two be as ERRORS and SC should not be saved. If I make these messages in ECC as ERRORS, should that be sufficient?? or Should have to have some code in CHECK BADI?

Thanks for clarification

Rgds / Kiran

Accepted Solutions (1)

Accepted Solutions (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

I think the messages are from ERP backend.

> If I make these messages in ECC as ERRORS, should that be sufficient??

Please try it and see the result.

Regards,

Masa

Former Member
0 Kudos

For the first one we are using BADI: BBP_DOC_CHECK_BADI:

-Method wilhthe same parameters as those of BBP_DOC_CHECK.

Within method Y* check that all non-deleted (DEL_IND = u2018u2019) items have one and the same Company Code (field BE_CO_CODE). Should this not be the case, error message 001 of class Y* has to be appended to table ET_MESSAGES. The error has to be issued at SC header level.

Thanks and Regards,

Ab.

Former Member
0 Kudos

Hi

I believe you can check ET_MESSAGES in Doc Check BADI and convert them from Warning into Error

Regards

Virender Singh

Answers (2)

Answers (2)

Former Member
0 Kudos

answered

former_member183819
Active Contributor
0 Kudos

Why dont you make it ECC iself as E rather than W .

since they are backend error message.

Muthu