cancel
Showing results for 
Search instead for 
Did you mean: 

BBP_DOC_CHECK_BADI

Former Member
0 Kudos

Hi,

Does anyone know if it's possible to do a check on deletion of a shopping cart within the BADI BBP_DOC_CHECK_BADI?

Thanks,

Ruby

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

.

former_member183819
Active Contributor
0 Kudos

DEL_IND -Deletion Indicator SRM Purchasing Document

-BBP_PDIGP

HELPS.

mUTHU

Former Member
0 Kudos

Hi,

Thanks for the response.

I am not sure if I was clear in my original question but what I am trying to achieve is to do a check within this BADI when a user deletes a shopping basket.

Do I need to check the DEL_IND flag on each item in the basket or is the an indicator at the shopping basket level?

Thanks,

Ruby

former_member183819
Active Contributor
0 Kudos

Hi

can some one help ? How to validate this via BADI paramentes?

Muthu

ricardo_cavedini
Active Contributor
0 Kudos

Hello,

We have the following indicators of shopping cart deletion:

- Shopping cart not approved yet. If you delete it, the following indicators will take place:

Header -> doc_closed = X

Status -> I1040

Item -> Del_ind = " "

- Shopping cart approved, but not all items deleted:

Header -> doc_closed = " "

Item -> Del_ind = X

- Shopping cart approved and all items deleted:

Header -> doc_closed = X

Status -> I1040

Item -> Del_ind = X

I hope this helps.

Kind regards,

Ricardo

Former Member
0 Kudos

Hello,

Thank-you for your reply.

I have coded similar logic in my BADI but the problem I have is that the LT_ITEM table is empty when this BADI is called after user has clicked on 'Delete Shopping Basket' button.

As a result, my check on LS_ITEM-DEL_IND is not done and my new error message is not reported.

It sounds like in your system, when you click on Delete Shopping Basket, the LT_ITEM table does include the items in the shopping basket.

Did you have to apply any OSS Notes at all?

Thanks,

Ruby

Former Member
0 Kudos

Hello,

try to check what happens to the basket after you delete Item a Badi

BBP_DOC_CHANGE_BADI