cancel
Showing results for 
Search instead for 
Did you mean: 

How can I delete a shopping cart.

former_member920667
Participant
0 Kudos

Dear All,

I'm trying to delete a shopping cart but till now nothing works.

I have been using bap CRM_status_update, but it does not place a deletion indicator on the shopping cart.

Can somebody tell me which program/bapi I have to use to get the job done.

Thanks,

Regards,

Alexander

Accepted Solutions (0)

Answers (3)

Answers (3)

ricardo_cavedini
Active Contributor
0 Kudos

Hi,

You can update database tables manually.

If shopping cart has not been approved yet:

- At document header set "DOC_CLOSED" = X;

- At document item level, set "DEL_IND" = blank;

- At shopping cart table status set I1040 - Deleted.

If shopping cart has been approved and you want to delete all items:

- At document header set "DOC_CLOSED" = X;

- At document item level, set "DEL_IND" = X;

- At shopping cart table status set I1040 - Deleted.

If shopping cart has been approved and you want to delete only one item:

- At document item level, set "DEL_IND" = X;

You can find these tables in BBP_PD transaction.

Kind regards,

Ricardo

Former Member
0 Kudos

HI,

1. Cehck the follow on doc's are created on not. if created then delete them and try to dlete the sc. here you need to do the line imte and selct deleted icon click on that. then i will get deleted.

2. Check any vendor error.

Regards,

Satish

Former Member
0 Kudos

Hi Alexander,

Is the SC in awaiting approval.If so you can use the application to delete the SC. If it is approved, then you have to manually change the status.

Use BBP_PROCDOC_STATUS_CHANGE with the activity as DELE.

Hope this helps.

Regards

Azad

Former Member
0 Kudos

Hi Azad

Could you please explain the steps to delete before and after approval.

Is there any mass delete transaction available ?

Thanks