Skip to Content
0

BBP_DOC_CHECK_BADI Error message only appears for first SC line item

Apr 20, 2017 at 08:01 AM

73

avatar image

Hi Experts,

I have implemented BAdI BBP_DOC_CHECK_BADI to display an error message in the Portal under certain circumstances. It works fine except when there are more than one item in the Shopping Cart. In that case the first line item will display the error but on the second line item which has the same error it does not appear!

The user is able to submit the second line item, but not the cart as a whole since the first line item will produce the error.

I did check the message table and for both lines the errors are present in the error table after the BAdI was called.

Please help me understand why the error message only gets shown when the FIRST item is being approved but not when the SECOND item is being approved even though it contains the same exact error as the FIRST line?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sathya Gunasekaran Apr 21, 2017 at 02:29 PM
0

If the check is at the item level, we should use :

BBP_ITEM_CHECK_BADI .

Regards

Sathya

Share
10 |10000 characters needed characters left characters exceeded