cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieve all versions of a PO

Former Member
0 Kudos

Hi All,

Please let me know Table of Function Module to retrieve all the versions of a SRM Purchase Order, i.e GUID and its corresponding version number.

(i.e If a PO is changed and approved multiple times then we can see all the versions in t-code BBP_PD. )

I tried FM BBP_PD_PO_GETDETAIL, the output internal table E_VERSION returns only one version of the document.

Thanks,

Sameer Tapre.

Accepted Solutions (1)

Accepted Solutions (1)

former_member184741
Active Contributor
0 Kudos

Hi,

you can use crmd_orderadm_h and bbp_pdhgp to get all version guids , version type and version number ( bbp_pdhgp-version_type and bbp_pdhgp-version_no ). Then use those guids in crmd_orderadm_i and bbp_pdigp to get the item details ( pass header guid in 'parent / header' fields of tables )

thanks,

sankar.

Answers (0)