We are in classic scenario...
I want to know the SC that is created aganist a PO as we are in classic scenario i can't get it from bbp_pd.. but is ther any FM from which i can get details of a PO... like the Shopping cart Number releated to that PO
You can use pass the PO number in function module BBP_PD_PO_GETDETAIL.
From here you will get the Shopping cart Item Guid. You can again pass this guid in the table CRMD_ORDERADM_I and get the parent guid.
Pass this parent guid in table CRMD_ORDERADM_H to get the shopping cart number. Its stored in the OBJECT_ID field.
There is another way to find out the shopping cart number:
Pass the PO number in FM BBP_PD_PO_GETDETAIL
Check the E_HEADER_REL, when the value of the field OBJTYPE_A = BUS2121 then the field GUID_A will contain the header guid of the shopping cart.
Use this guid to get the SC number from table CRMD_ORDERADM_H.
Edited by: Pradeep Purushottam on Sep 23, 2008 11:07 AM
Edited by: Pradeep Purushottam on Sep 23, 2008 11:19 AM