Fonction SAP BAPI_PARTNEREMPLOYEE_CREATE - Create Contact Person Online

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CUSTOMER BAPICUSTOMER_01-CUSTOMER C 10 X Customer Number
VENDOR BAPIVENDOR_01-VENDOR_NO C 10 X Vendor Number

Paramètre Reférence Type Long. Description
PARTNEREMPLOYEE BAPICONTACT_01-CONTACT N 10 New Contact Person with Customer or Vendor
PARTNEREMPLOYEEID BAPICONTACT_01-CONTACT N 10 New Contact Person, Key Field
RETURN BAPIRET1 u 470 Return Parameter


You can use this function module to create a contact person for acustomer or vendor.This parameter contains the partner number of the newly created contactperson.This key parameter contains the partner number of the newly createdcontact person.

Description
This parameter contains the return message of the method call up.

Value range
Type ID Number Message
I F2 035 No changes are transferred
I F2 679 Contact person & for customer & is created
I F2 693 Contact person & for vendor & is created
I F2 834 Enter either the customer or vendor numberIf you want to create a contact partner for this customer, thisparameter must be filled with the customer number.If you want to create a contact person for this vendor, the vendornumber must be filled in this parameter.