Skip to Content

Regarding Vendor change in po in SAP SRM

Hello Gurus,

      We are working in ECS. User created a SC with source of supply and now when he tried to create the PO then he felt to change the vendor but the preferred vendor field under HEADER tab remains the same as SC . Now its not allowing to create the PO . Is there any way to change the preferred vendor field as well when I changed the vendor in PO. Like updating the PO will it work or any FM or BADI which can update the preferred vendor field with the vendor being used in PO and not with SC.

2. Also sometimes is happens that Preferred vendor field becomes blank even we are not changing the vendor. Would like to know is preferred vendor field  , a mandatory field . If not then I recently faced an issue where preferred vendor field was blank and I was getting an error "NAME FIELD PARTNER/ADDRESS BLANK, CHECK" .  Please check the screenshot. For this issue . Is there any way to refresh the complete document so that Preferred Vendor field gets filled.

Above both the issue are related to ONE TIME VENDOR.

Thanks

Gaurav Gautam

PO ERROR.png (160.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 18, 2014 at 05:42 AM

    Hello Gaurav,

    Preferred vendor is not a mandatory field in PO. Therefore, you can use DOC_CHANGE_BADI to manipulate this field. However, I can't think of a reason why you require to change this field when it is just a suggested vendor.

    The error as mentioned in the screenshot is because the text for the vendor is missing. Can you debug and provide more details about from where the message is being triggered. The message belongs to message class /SAPSRM/PDO_WKL and number is 537.

    Regards,

    Arun

    Add comment
    10|10000 characters needed characters exceeded