I need to add a partner function for a vendor through a custom program.
Is there any function module / BAPI for this purpose?