cancel
Showing results for 
Search instead for 
Did you mean: 

Need to do vendor determination in internet order

Former Member
0 Kudos

Hello All,

We have a requirement, while creating an internet order (crmd_order)when I add the product and the quantity the vendor should be determined for each product assigned at the item level after pressing enter.

We have maintained the vendors information in the ztable.

Is there ant way we can do that ? any BADI on which we can work upon

Regards

Sohit Gulati

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can achieve this by implementing COM_PARTNER_BADI.

Create a partner determination procedure and add Vendor as a partner function. Assign it to the item category. Within the partner function Vendor, assign the access sequence BADI which you will implement in COM_PARTNER_BADI-->Method DETERMINATION_ADD_IN_3.

Maintain the relationship between material and vendor in COMMPR01. You will need to write the logic in COM_PARTNER_BADI accordingly.

So, whenever you create an order and enter a material the BADI is called and the vendor assigned in the relationship of the material will be picked up automatically.

Hope this helps.

Regards,

Chandrakant