Fonction SAP BAPI_BUPR_CONTP_CHANGE - SAP BP, BAPI: Change Contact Person Relationship Address

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BUSINESSPARTNER BAPIBUS1006_HEAD-BPARTNER C 10 Business Partner
CENTRALDATA BAPIBUS1006002_CENTRAL u 451 X Central Data for Contact Person in Organization
CENTRALDATA_X BAPIBUS1006002_CENTRAL_X u 12 X Change Information on Central Data
CONTACTPERSON BAPIBUS1006_HEAD-BPARTNER C 10 Contact Person
DEFAULTRELATIONSHIP BAPIBUS1006002_HEADER-DEFAULTRELATIONSHIP C 1 X Standard Relationship
DEFAULTRELATIONSHIP_X BAPIBUS1006002_HEADER-DEFAULTRELATIONSHIP C 1 X Change Information
VALIDFROMDATE BAPIBUS1006002_HEADER-VALIDFROMDATE D 8 X Validity Date (Valid From)
VALIDUNTILDATE BAPIBUS1006002_HEADER-VALIDUNTILDATE D 8 X Validity Date (Valid To)

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

Functionality
You can use this BAPI to change the central data of a contact personrelationship.
The system first checks the existence of the two business partners, andthen it checks that the specified data is consistent and valid. Anyerrors that occur are logged and output in the Return table. If theresult of a check is negative, the changes to the business partnerrelationship are not carried out.
Entries in the fields

  • FUNCTION

  • DEPARTMENT

  • TEL1_NUMBR

  • TEL1_EXT

  • FAX_NUMBER

  • FAX_EXTENS

  • E_MAIL

  • do not have an effect on the telecommunication data of the address.Entries in these fields only concern the communication data that mighthave been stored in the central data part for information purposes.
    To change communication address data, use BAPI_BUPR_CONTP_ADDR_CHANGE.

    Description
    INCLUDE BAPI_BUSINESSPARTNER OBJECT DOKU ID TX

    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 parameters in Central Address Management (CAM).
      You should only use the above fields if no addresses and communicationaddresses are managed in CAM. For information on the significance ofthe other parameter fields, consult the corresponding data elementdocumentation in the ABAP dictionary.

      Description
      For information on the significance of the change toolbar, consult thecorresponding data element documentation.
      INCLUDE BAPI_CONTACTPERSON OBJECT DOKU ID TX

      Description
      With this indicator, you identify a contact person relationship as thestandard contact person relationship.

      Description
      This indicator states whether the content in the relevant data fieldsis change-relevant.

      Description
      The validity (valid from) date determines the beginning of thevalidity period of an object (of the contact person relationship, inthis case) on the time axis.

      • You only need to maintain a date if a time constraint has been defined
      • for the contact person relationship category.
        • If you do not enter a date, the default value is set at 01/01/0001.

        • If no time constraint has been defined in the settings menu for the
        • relationship category, any date entries that differ from the defaultvalue are ignored, and the default date is set.

          Description
          The validity (valid to) date determines the end of the validity periodof an object (of the contact person relationship, in this case) on thetime axis.

          • You only need to maintain a date if a time constraint has been defined
          • for the contact person relationship category.
            • If you do not enter a date, the default value is set at 12/31/9999.

            • If no time constraint has been defined in the settings menu for the
            • relationship category, any date entries that differ from the defaultvalue are ignored, and the default date is set.

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