cancel
Showing results for 
Search instead for 
Did you mean: 

Delete shopping cart line

Former Member
0 Kudos

Hi experts,

i'd like to know if is possible to delete, with standar ways, the line item of the shopping cart even after the approval is done.

Thanks

bye

ANDREA

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please go through this ->

The only standard option is to delete the SC line items. For this you the user must have activity "06 Delete" in his PFCG role. This activity enable him to delete SC line items once the SC is in status approved.

Shopping cart cannot be deleted once approval is done. You can delete it before approval.

But you can delete the line item of the shopping cart even after the approval is done. In that case if any follow-on doc is created for that line item of shopping cart it will get deleted. You will find the delete tab becoming grey once the follow-on doc. is created in the check status (BBPSC04 transaction) of the SC.

Other alternatives ->

1) The FM BBP_PD_SC_DB_DELETE deletes from persistent layer.

2) The FM BBP_PD_SC_STATUS_CHANGE with 'DELE' activity, marks as deleted and keep the document in the persistent layer.

According your needs, you will need to choose which one fits your requirement.

To commit changes to DB from BBP_PD_SC_DB_DELETE you will need to COMMIT WORK, cuz even the FM doesn't display any error messages in the e_messages table, the deletion task is not commited.

About the BBP_PD_SC_STATUS_CHANGE FM, you will need to inactivate the follow on document status in the CRM_JEST table to achieve the deletion with the FM i have mentioned...

For both FM's *DB_DELETE and *STATUS_CHANGE you need to create a ZFM or ZREP to write the COMMIT WORK instruction after the execution of the FM.

Related links ->

BR,

Disha.

<b>Pls reward points for useful answers.</b>

Former Member
0 Kudos

Hi

i cannot find "06 delete" where is it?

thanks

ab

Former Member
0 Kudos

Hi,

Goto trascn PFCG and enter any of the the user role(SAP_BBP_STAL_MANAGER or SAP_BBP_STAL_EMPLOYEE).Under authorization tab ,you can see the possibel actions in the Authorization object for SC.I dont have the access to the system so cant tell you the exact name of the object.

HTH.

BR,

Disha.

<b>P.S. Do reward points for useful answers.</b>

Former Member
0 Kudos

Hi

The only standard option is to delete the SC line items.

For this you the user must have activity "06 Delete" in his PFCG role.

This activity enable him to delete SC line items once the SC is in status approved.

Transaction: PFCG,

Single Role: SAP_EC_BBP_EMPLOYEE,

Authorization Tab,

Authorization data: SRM: Process Shopping Carts

Activity: Delete

<b>Also see these links -></b>

<u></u>

The Auth Object B_BUPA_BZT (Business Partner Relationships: Relationship Categories) doesnot have the activity 06 (Delete). due to this reason when you try to move an Employee from one Pur Group to Another, the old relationship doesnot get deleted, since the activity 06 doesnot exist on your current role.

<b>Please ensure and ask your security team to maintain the following on SAP BASIS - Authorization Object B_BUPA_BZT:

Activity: 01, 02, 03 and 06

Business Partner Relationship: BUR010 (Is Employee of)</b>

<b><u>Detailed link -></u></b>

Also by implementing BBP_DOC_CHANGE_BADI, this can be possible to Delete Shopping cart line item...

<b><i>Other useful links -></i></b>

Do let me know.

Regards

- Atul

Answers (0)