Skip to Content
author's profile photo Former Member
Former Member

Delete shopping cart line

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 19, 2007 at 04:40 PM

    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.

    shopping-cart-deletion

    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 ->

    delete-sc-from-bbpsc4-and-no-control-is-possible

    problem-when-deleting-line-item-from-sc-after-orde

    deletion-of-shopping-cart

    BR,

    Disha.

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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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>how-to-delete-a-approved-shopping-cart</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>

      problem-with-promabbp

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

      prevent-item-deletion-from-an-approved-sc

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

      delete-sc-from-bbpsc4-and-no-control-is-possible

      Do let me know.

      Regards

      - Atul

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.