cancel
Showing results for 
Search instead for 
Did you mean: 

Update Document History in Shopping Cart

0 Kudos

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.

0 Kudos

Any code samples available?

Former Member
0 Kudos

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.