Hi ,
While creating shopping cart I want to validate whether vendor has been entered or not in shopping cart.There are some other validation are present as well.
For this task I have created BADI implementation using badi 'BBP_DOC_CHECK_BADI' and business object type 2121.
For getting details of shopping cart I am using FM 'BBP_PD_SC_GETDETAIL'.
FM also returns partner involved in SC in table e_partner .I am checking for whether partner function 19 is exist or not.
But even after giving vendor in SC, vendor partner functions is not getting updated in FM 'BBP_PD_SC_GETDETAIL'.
So when I clicked on check, it is displaying error message vendor not mentioned, as system is not getting vendor partner function is partner table . Could I refer any other field for the checking vendor is specified or not in SC.
Thanks and Regards,
Amit Raut