SAP Function BAPI_BUPR_CONTP_ADDR_ADD - SAP BP, BAPI: Add Contact Person Relationship Address

Parameter Reference Type Length Default Optional Text
ADDRESSDATA BAPIBUS1006002_ADDRESS u 134 Address Data for Contact Person in Organization
ADDRESSGUID BAPIBUS1006002_ADDRESSES-ADDRESSGUID C 32 X Address
BUSINESSPARTNER BAPIBUS1006_HEAD-BPARTNER C 10 Business Partner
CONTACTPERSON BAPIBUS1006_HEAD-BPARTNER C 10 Contact Person
DUPLICATE_MESSAGE_TYPE BAPIBUS1006_HEAD-CONTROLDUPLICATEMESSAGE C 1 X Message Type Control

Parameter Reference Length Optional Text
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
BAPICOMREM BAPICOMREM 60 X Notes on Communication Types
RETURN BAPIRET2 548 X Messages

Functionality
You use this BAPI to create an address for a contact personrelationship. You can also create related communication data such astelephone, fax, internet address, and so on.
The system checks the existence of the business partners specified inthe parameters BUSINESSPARTNER and CONTACTPERSON, and also that acontact person relationship exists between the two business partners.
If an address is specified in the ADDRESSGUID parameter, the systemchecks that the address exists, and that it is related to the businesspartner specified in the BUSINESSPARTNER parameter.
If no address is specified, the system determines the standard addressfor the business partner specified in the BUSINESSPARTNER parameter.
Any errors that occur during these checks are output as check resultsby the Return message table. If errors occur during checks, the addressfor the contact person relationship is not created.

Description
This structure contains information on the address data of the contactperson relationship.
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 across systems. It ismerely a technical object identifier, and not intended for use in theinterface or in interaction between system users.
INCLUDE BAPI_BUSINESSPARTNER OBJECT DOKU ID TX
INCLUDE BAPI_CONTACTPERSON OBJECT DOKU ID TX

Description
INCLUDE BAPI_PAR_DUPLICATE_MESS_TYPE OBJECT DOKU ID TX LANGUAGE EN

Description
INCLUDE BAPI_PAR_ADDRESSDUPLICATES OBJECT DOKU ID TX

Description
This table contains information on the fax data of the contact personrelationship.
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 numbers of the contactperson 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 printer addresses of the contactperson 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 contactperson 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 remote mail addresses of thecontact person 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 thecontact person 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 contactperson 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 telephone addresses of thecontact person 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 contact personrelationship.
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 contactperson 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 URI addresses of the contactperson 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 X400 addresses of the contactperson relationship.
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 contactperson relationship.
For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

Description
This table contains return messages from the method call.