Fonction SAP BAPI_BUPR_CONTP_GETDETAIL - SAP BP, BAPI: Read Contact Person Relationship

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BUSINESSPARTNER BAPIBUS1006_HEAD-BPARTNER C 10 Business Partner
CONTACTPERSON BAPIBUS1006_HEAD-BPARTNER C 10 Contact Person

Paramètre Reférence Type Long. Description
CENTRALDATA BAPIBUS1006002_CENTRAL u 451 Central Data for Contact Person in Organization
DEFAULTRELATIONSHIP BAPIBUS1006002_HEADER-DEFAULTRELATIONSHIP C 1 Standard Relationship
VALIDFROMDATE BAPIBUS1006002_HEADER-VALIDFROMDATE D 8 Validity Date (Valid From)
VALIDUNTILDATE BAPIBUS1006002_HEADER-VALIDUNTILDATE D 8 Validity Date (Valid To)

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 X Messages

Functionality
You can use this BAPI to read the central data of a contact personrelationship.
The detailed information on the contact person relationship is returnedin the CENTRALDATA structure.
If no contact person relationship is found in the BUSINESSPARTNER andCONTACTPERSON parameters, this is logged and output as an error messagein the Return table.

Description
This structure contains central information on the contact personrelationship.
The fields

  • TEL1_NUMBR

  • TEL1_EXT

  • FAX_NUMBER

  • FAX_EXTENS

  • E_MAIL

  • with details on communication addresses are for information purposesonly. You must not liken them to the functions of the communicationaddress data in Central Address Management (CAM). If you want to getinformation on communication address data, useBAPI_BUPR_CONTP_ADDR_GETDETAIL.
    For information on the other parameter fields, consult thecorresponding data element documentation in the ABAP dictionary.

    Description
    This indicator shows whether the current contact person relationship isthe standard contact person relationship.

    Description
    The valid-from date determines the start of the validity period of anobject (of the contact person relationship, in this case) on the timeaxis.

    Description
    The valid-to date determines the end of the validity period of anobject (of the contact person relationship, in this case) on the timeaxis.
    INCLUDE BAPI_BUSINESSPARTNER OBJECT DOKU ID TX
    INCLUDE BAPI_CONTACTPERSON OBJECT DOKU ID TX

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