on 04-23-2008 9:49 AM
Hi all.
SRM 4.0.
In the BAdI BBP_ECS_PO_OUT_BADI I need to bring in some details from the shopping cart related to the PO. How would I do this from here? I need to retrieve the currency from the shopping cart, and was thinking about using the FM BBP_PD_SC_ITEM_GETDETAIL, but I am not sure how to link this with the exact SC? How can I link the FM in the BAdI for the PO to retrieve the SC details?
Thanks for input.
Hi Dennis,
Its easy. You just need to query table bbp_pdbei with PO number in be_object_id field and BU2201 in be_object_type field.You will get all the SC item guids.You can use the item guids to get the SC detail directly using FM BBP_PD_SC_ITEM_GETDETAIL.
Hope it helps
Thanks
Sanjeev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use BBP_PD_PO_GETDETAIL to retrieve the SC linked in the table E_HEADER_REL (OBJTYPE_A = BUS2121)
and after you can use the BBP_PD_SC_GETDETAIL to retrieve the currency
Regards
Olivier
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.