Skip to Content
avatar image
Former Member

Update Document History in Shopping Cart

In Classic Scenario,

I force a requisition to be created in the R/3 system when the shopping cart is approved.

My backend Requisitions are subject to approval.

Can I update the status of the shopping cart in the SRM 5.0 system showing that the:

a. Requisition is Awaiting approval

b. Requisition is Approved

c. Requisition is Rejected

This should be visible in the document history

Any help is appreciated.

Any code sample available on this?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 31, 2006 at 08:50 AM

    Hi,

    You may have to copy the std program BBP_GET_STATUS_2 into a ZBBP_GET_STATUS_2, and add your own logic for updating the status accordingly.

    BR,

    Disha.

    PLs reward points for helpful answers.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      We had a similar ret for CLosed PR's which was actually a shortcoming for SRM 4.0.But in your case,you need to check the point where the SC status is updated in SRM and before that you need to add the logic for determing the status of your PR.

      There is a BAPI in R/3 which gives you the status of your PR whcih is "BAPI_REQUISITION_GETRELINFO".Hope you can use this BAPI.

      HTH.

      BR,

      Disha.

      Pls reward points for helpful answers.