on 06-14-2006 4:01 PM
Hi all,
Do you know how to get the contract number if you have the material code? Is there any function module that can do this? something like "CTR_GET_FROM_MATERIAL"?
Best regards,
Gerardo.
PS. Reward points for answers.
Hi Gerardo,
in SRM, you can use function BBP_PD_CTR_GETLIST with parameter I_ITEM_PRODUCT (for product GUID) or I_ITEM_ORDERED_PROD (for product ID).
you can also use the sourcing function BBP_PD_SOS_FIND, with IT_SEARCH_CRITERIA-ORDERED_PROD.
Rgds
Christophe
PS: please reward points for helpfull answers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Christophe,
Thanks a lot for the tip, it works ok, and just to acknowledge the Source of supplying - BBP_PD_SOS_FIND - use the following parameters:
- product.
- ordered_prod
- category
- category_id
- proc_org
It returns the contracts (in my case) and then you can do the BBP_PD_CTR_GETDETAIL with the CTR-GUID.
Best regards,
Gerardo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.