Fonction SAP BAPI_BUPR_EMPLO_CREATE - SAP BP, BAPI: Create Employee Relationship

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ADDRESSDATA BAPIBUS1006002_ADDRESS u 134 X Address Data for Employee in Organization
ADDRESSGUID BAPIBUS1006002_ADDRESSES-ADDRESSGUID C 32 X Address
BUSINESSPARTNER BAPIBUS1006_HEAD-BPARTNER C 10 Business Partner
DUPLICATE_MESSAGE_TYPE BAPIBUS1006_HEAD-CONTROLDUPLICATEMESSAGE C 1 X Message Type Control
EMPLOYEE BAPIBUS1006_HEAD-BPARTNER C 10 Employee
STANDARDADDRESSUSE BAPIBUS1006002_ADDRESSES-STANDARDADDRESS C 1 X Standard Address Usage

Paramètre Reférence Long. Facultatif Description
ADDRESSDUPLICATES BAPIBUS1006002_ADDR_DUPLICATES 70 X Relationship Address Duplicates
BAPIADFAX BAPIADFAX 143 X Telefax Numbers
BAPIADPAG BAPIADPAG 136 X Pager Numbers
BAPIADPRT BAPIADPRT 40 X PRT Addresses
BAPIADRFC BAPIADRFC 69 X RFC Addresses
BAPIADRML BAPIADRML 63 X RML Addresses
BAPIADSMTP BAPIADSMTP 300 X E-Mail Addresses
BAPIADSSF BAPIADSSF 2391 X SSF Addresses
BAPIADTEL BAPIADTEL 142 X Telephone Numbers
BAPIADTLX BAPIADTLX 72 X Telex Numbers
BAPIADTTX BAPIADTTX 72 X Teletex Numbers
BAPIADURI BAPIADURI 2219 X URI Addresses
BAPIADX400 BAPIADX400 948 X X400 Addresses
BAPIAD_REM BAPIAD_REM 55 X Address Notes
BAPICOMREM BAPICOMREM 60 X Notes on Communication Types
RETURN BAPIRET2 548 X Messages

Functionality
You use BAPI_BUPR_EMPLO_CREATE to create an employee relationshipbetween two business partners. The system checks that the specifiedbusiness partners exist. The business partner specified in the EMPLOYEEparameter must be in the "person" category. Any errors that occurduring checks are logged and output in the Return table parameter. Iferrors occur during checks, the relationship is not created.
You can specify an address for the employee relationship in theADDRESSGUID parameter. If you do not make any specification here, thesystem determines the standard address for the business partner in theBUSINESSPARTNER parameter, and creates this as being the address forthe employee relationship.

Description
This structure contains information on the address data of an employeerelationship.
For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

Description
The address GUID uniquely identifies an address over all systems.
It is purely a technical object identifier that is not intended for usein the interface, or in interaction between system users.
INCLUDE BAPI_BUSINESSPARTNER OBJECT DOKU ID TX

Description
INCLUDE BAPI_PAR_DUPLICATE_MESS_TYPE OBJECT DOKU ID TX LANGUAGE EN
INCLUDE BAPI_EMPLOYEE OBJECT DOKU ID TX

Description
This flag controls whether the standard address of business partner 1(BUSINESSPARTNER) should be copied as the address of the employeerelationship.

Description
INCLUDE BAPI_PAR_ADDRESSDUPLICATES OBJECT DOKU ID TX

Description
This table contains information on the fax data of an employeerelationship.
For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

Description
This table contains information on the pager numbrs of the employeerelationship.
For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

Description
This table contains information on the printer addresses of theemployee relationship.
For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

Description
This table contains information on the RFC addresses of the employeerelationship.
For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

Description
This table contains information on the remote mail addresses of theemployee relationship.
For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

Description
This table contains information on the internet addresses of theemployee relationship.
For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

Description
This table contains information on the SSF addresses of the employeerelationship.
For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

Description
This table contains information on the telephone addresses of theemployee relationship.
For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

Description
This table contains information on the telex data of the employeerelationship.
For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

Description
This table contains information on the teletex data of the employeerelationship.
For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

Description
This table contains information on the URI addresses of the employeerelationship.
For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

Description
This table contains information on the X400 addresses of the employeerelationship.
For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

Description
This table contains comments on the addresses of the employeerelationship.
For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

Description
This table contains comments on the communication data of the employeerelationship.
For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

Description
This table contains the return messages from the method call.