on 10-12-2014 2:17 PM
Hi,
I have an IDOC that has information on WBS for which a program in SRM has to create purchase order,
The program fetches company code, plant based on WBS element from backend system,
Now I need to know the logic to determine purchase group and delivery address based on plant,
In Org.structure we have assigned unique plant as responsible for each purchase group and Delivery address is assigned as default in plant attributes.
So my query is how to get purchase group and delivery address value based on plant
please provide your inputs
Thanks
Hi Rajesh
First the tree hierarchy from the user position is taken.
Delivery address is generally picked from attributes ADDR_SHIPT based on the User attribute
In some system the plant which is maintained in the extended attribute also decided the delivery address .
Refer link below :
Regards
Vinita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh
1. I am not sure on this one and I dont even understand the need for this one I am not sure on how the plant is related to Pur grp in SRM .
2. Once the use select a storage location the Doc_Change Log will call the ECC to get the address info and populate accordingly under Delivery address tab..
If you wish to pass the delivery address only in certain cases, then the BADIs BBP_PO_CREATE_BACK / BBP_CREATE_BE_PO_NEW or BBP_PREQ_CREATE_BACK / BBP_CREATE_BE_RQ_NEW should be implemented to clear the delivery address value based on the business logic. Once this is done, ECC plant address will be used.
There is no consulting notes for POs. Therefore, you should implement BBP_PO_CREATE_BACK / BBP_CREATE_BE_PO_NEW and delete the delivery address content in order to get the ECC plant address assigned to ECC PO.
3. Buyer and Purchasing Gro relatioship:FM BBP_OM_STRUC_GET_PUSR_FROM_PGP
Refer links below :
http://scn.sap.com/thread/1789312
http://wiki.scn.sap.com/wiki/display/SRM/Shopping+Cart+Delivery+Address+transfer+from+SRM+to+ECC
Regards
Vinita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.