on 12-05-2011 12:19 PM
Hi Experts,
How I can get number SC from PO?? I used BBP_PD for GUID PO and from this how I can get exactly table name of SC?
Also I tried use FM BBP_GETPO_DETAIL, and find SC number from E_Header_REL, but i need the table because I need PO in last three year and SC accordingly.
Thank you,
Yusup W
Hi Yusup,
You can use table BBP_PDBEI. Provide your PO number in the field BE_OBJECT_ID and you will get your SC GUID in the field GUID.
From this SC GUID you can fetch the SC number using FM BBP_PD_SC_GETDETAIL
Regards,
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Yusup,
The GUID obtained is indeed SC GUID and not PO GUID!
Alternatively you can use the easier option as follows
Use FM BBP_PD_PO_GETDETAIL and get the SC header GUID from E_HEADER_REL-GUID_A.
Using this GUID get the SC number from table CRMD_ORDERADM_H. SC number is available in field OBJECT_ID.
Hope this helps,
Nikhil
Hello ,
Please follow the steps to get SC from PO.
1. Pass the Purchase Order number to BE_OBJECT_ID field in BBP_PDBEI table.
2.. take the GUID where BE_OBJECT_TYPE = BUS2201.
Now we might get the Item GUID of Shopping cart
3. pass the Item GUID of Shopping cart into CRMD_ORDERADM_I table and get header guid .
4. pass the Header GUID of Shopping cart into CRMD_ORDERADM_H table
to get the Shopping cart number
Regards,
Neelima
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.