Showing results for 
Search instead for 
Did you mean: 

BBP_DOC_CHECK_BADI Error message only appears for first SC line item

0 Kudos

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

Active Participant
0 Kudos

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