I have to get the details of Contract if a Contract is assigned to a Product ID.
I have tried using FM BBP_PD_SOS_FIND and BBP_PD_CTR_GETLIST passing the Product ID. But it is giving an empty result.
Could you please guide/suggest how to check/fetch the contract details using Product ID.
Actually, the contract proposal as a source of supply does not depend on the product category only.
It depends on other parameters as well. You can check the select statements that are done to fetch the contract in include LBBP_PD_INDEXF19. This include is called when source of supply determination takes place in shopping cart via FM BBP_PD_SOS_FIND.