cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Shopping Cart Item deletion not working properly using BBP_PD_SC_ITEM_DELETE

Former Member
0 Likes
215

Hi,

I am able to delete all line items of a shopping cart using BBP_PD_SC_ITEM_DELETE.

But a Shopping Cart which has following statuses have un-usual behavior and line items are not always deleted.

SC Status:

Held

Created

Incomplete

Case 1: Shopping Cart with Single Line Items

1. It is always deleted.

Case 2: Shopping Cart with  with Two/Multiple Line Items

When I pass only one of the line item to this functional module, I get following error.

This item cannot be deleted at the moment

Message no. BBP_PU088

I am unable to figure it out why this functional module is not always working ?

What Can I do to fix this issue?

Looking forward to hear from you soon.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi Waqas,

If you haven't tried debugging the FM...put a breakpoint in include LBBP_PD_SCF55 inside subroutine sc_item_delete_local and monitor change in value of variable ev_error.

Thanks,

Vipin.

Answers (0)