Skip to Content

BBP_DOC_CHECK_BADI Error message only appears for first SC line item

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 21, 2017 at 02:29 PM

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

    BBP_ITEM_CHECK_BADI .

    Regards

    Sathya

    Add comment
    10|10000 characters needed characters exceeded