Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BADI for XK01 (Urgent)

Hi all,

There is a need of the business to copy the withholding tax code field whenever a particular vendor is created by copying from other company codes (Copy of withholding tax code field when copying the vendor in other company codes. . ). Vendor master can be created in one company code based on the reference from the other vendor master from other company codes.

For this i found the BADI called VENDOR_ADD_DATA in that interface is PRESET_VALUES_CCODE this will trigger exactly when ever i want but my problem is there is no fileds for reference data in that interface there is a importing parameter I_LFA1 and E_LFB1 is the exporting parameter but i want to fectch the data ( or copy the data ) based on reference vendor number and company code. how to recognize the reference vendor number and company code for that.

Note : There is no user exit for this requirment all are trigger when the user click on save button only but i want to copy the data initially with out clicking the save button.

I will definetly reward for useful answer.

Mahi.

Former Member
Not what you were looking for? View more on this topic or Ask a question