on 2012 Jun 24 6:08 AM
Hi All,
Requirement:
Contracts for a product catogory must be displayed in Source of Supply tab.
Process:
1) We created a contract with product category, supplier and released.
2) The contract person is "Awaiting for Approval", We Approved the Contract.
3) When we created a Shopping cart for SERVICE with same supplier and porduct category
4) If we hit the "Source of Supply" tab, the contract which i created must be displayed.
Problem:
Contract are not getting diplayed in shopping cart. Please check the below screen shot.
What i did:
1) I used a BAdi "BBP_SOS_BADI", to populate the contract details.
2) In the Et_found_contract is empty.
3) With the help of FM: BBP_PD_CTR_GETLIST, able to get the contract list.
4) But i am unable to pass the values to ET_Found_contract, because lot of fileds are missing like POS_ID, CTR_HDR_NUMBER etc.
Some other method:
1) Used BBP_PD_INDEX_FIND.
2) I checked the SPRO settings backend system for product category.
3) And i saw many links in SCN, but still not fixed.
Can you please guide me, where i am going wrong.
Help me.
Request clarification before answering.
I fixed the issue myself. Steps which may be helpful for others.
1)Definition Name: BBP_SOS_BADI
2)Method : BBP_SOS_SEARCH
3)Give the POS_ID to FM BBP_PD_SC_ITEM_GETDETAIL,
4)Give category_id to FM BBP_PD_CTR_GETLIST, you will get e_pdlist[] Contract list.
5)Give guid and object_id to BBP_PD_CTR_GETDETAIL, get item details e_item_ctr.
6)Fill related fields into et_found_vendorlist.
You can see the Source of Supply tab will get list of contracts with suppliers.
Thanks,
Ravindrakvs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You should refer following link:
http://wiki.sdn.sap.com/wiki/display/SRM/Source+of+Supply+redetermination+in+Shopping+Cart
It talks about FM BBP_PD_SOS_FIND to determine source of supply.
I hope it helps.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for reply.
1) If we use this FM BBP_PD_SOS_FIND, the BADI "BBP_SOS_BADI" will trigger again. it will be an infinite loop.
2) I already saw the link, but no difference.
Can you help me, which tables this contracts will be stored for particular product category.
Any other was to solve the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.