Skip to Content
avatar image
Former Member

Populating Vendor based on Custom Header Field in PO

Hi,

I created a custom header field in a PO, whenever I enter data in it, the vendor should get populated based on it. Please suggest a solution. I created screen-exit to create custom screen and fields.

Thanks,

Shweta

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 24, 2017 at 08:11 AM

    Did you look at method PROCESS_HEADER of BAdI ME_PROCESS_PO_CUST, methods GET_DATA and SET_DATA of parameter IM_HEADER should fulfill your requirement,

    • GET_DATA returned parameter RE_DATA contains stucture CI_EKKODB, so your customer appended fields.
    • SET_DATA allows change of vendor, but don't call this method if you don't actually change some value (preventing infinite loop)

    Perform some search, there are multiple discussions and document on this BAdI.

    Add comment
    10|10000 characters needed characters exceeded