cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to get the latest status of purchase order in SRM

Former Member
0 Kudos

Hi Experts,

I have one PO, which is ordered, now, it has one status table (6 entries). When I change the PO and save, the PO status table does not change. PO was in ordered status before the save and after the save it is in saved status, is there a way to get the latest PO status?

Thanks

Mohit

Accepted Solutions (1)

Accepted Solutions (1)

ricardo_cavedini
Active Contributor


Hello,

Actually when you edit an ordered PO and save it, a new change version is created, but it is not released yet (active). For this reason it is not displayed directly when you open the PO from BBP_PD.
You can scroll down the active version in BBP_PD till you find "versions" tab.
You will see a "C1" created, for example, that is the change version 1.
When you click on it, you will see the PO in saved status.

Regards,
Ricardo

Former Member
0 Kudos

Thanks for the reply,

How to make changes in such an order? which is saved but not active, because if the active GUID is considered, we are getting the error "Program error; call with GUID of change version is required".

Shall I use the change version's GUID instead of the active guid in the places where header guid (guid of the PO) is used in  BBP_PD_PO_UPDATE?

Please assist.

Thanks

Mohit

vinita_kasliwal
Active Contributor
0 Kudos

hi Mohit

Yes you should use the changes version ..For example you see the 2 versions here ,,

Sort it via Date and use the GUID of the latest version .

Using this version now you should do all the checks and if needed call the FM

BBP_PD_PO_GETDETAIL .

Regards

Vinita

Former Member
0 Kudos

thanks, everything is working well. So far so good (testing is going on )

Answers (0)