Fonction SAP BAPI_CD_ACCOUNT_CHANGE - OBSOLETE: Use BAPI_CD_ACCOUNT_CHANGE1

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ACCOUNTDATA BAPICD_ACCOUNT_CH u 86 Contract Account Data (Change)
ACCOUNTDATAX BAPICD_ACCOUNT_CHX u 9 Change Structure for Contract Account Data (Change)
INSOBJ_NUMBER BAPICD_INSOBJ-INSOBJ_NUMBER C 20 X Identification for an Insurance Object
NODATA BAPI_CD_ACCOUNT_CONTROL-NODATA C 1 '/' X NODATA Indicator
TESTRUN BAPICTRACAUX-TESTRUN C 1 X Switch to Simulation Mode for Write BAPIs
WRITECHANGEDOCUMENTS BAPI_CD_ACCOUNT_CONTROL-WRITECHANGEDOCUMENTS C 1 'X' X Indicates Whether Change Documents Are to Be Created

Paramètre Reférence Long. Facultatif Description
ACCOUNTPARTNER BAPICD_ACCOUNT_PARTNER 538 Account Partner Data
ACCOUNTPARTNERCORR BAPICD_ACCOUNT_PARTNER_CORR 74 X Account Partner Correspondence Data
ACCOUNTPARTNERCORRX BAPICD_ACCOUNT_PARTNER_CORRX 9 X Change Structure for Account Partner Correspondence Data
ACCOUNTPARTNERLOCK BAPICD_ACCOUNT_PARTNER_LOCK 107 X Account Partner Locks
ACCOUNTPARTNERLOCKX BAPICD_ACCOUNT_PARTNER_LOCKX 15 X Change Structure for Account-Partner Locks
ACCOUNTPARTNERX BAPICD_ACCOUNT_PARTNERX 63 Change Structure for Account-Partner Data
ACCOUNTTAX BAPICD_ACCOUNT_TAX 58 X Account-Tax Data
ACCOUNTTAXX BAPICD_ACCOUNT_TAXX 9 X Change Structure for Account-Tax Data
EXTENSIONIN BAPIPAREX 990 X Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
RETURN BAPIRET2 548 Return Parameter(s)

Functionality
You can use this method to change a contract account.

  • You can change more than one contract account-partner relationship at
  • the same time.
    • You cannot change more than one contract account in a call.

    • To change contract accounts, you require the appropriate authorization.
      The RETURN parameter can return more than one message at the same time.

      Notes
      Event V953 is called up in the BAPI. In this event, you can change thedata transferred in the interface, or enhance missing data.
      The BAPI uses the concept of customer enhancements with BAPI TableExtensions. You have the EXTENSIONIN parameter for this.
      The associated structures are called BAPI_TE_FKKVK_V andBAPI_TE_FKKVKP_V. If you want to use the BAPI to manage additionallydefined fields, you first have to implement these structures.

      Description
      Data for the contract account

      Value range

      • In order for the system to determine a contract account, you must fill
      • the CONT_ACCT field or the LEGACY_ACCT field.
        • It is also possible to determine a contract account if you do not fill
        • these fields, but do set the INSOBJ_NUMBER parameter.
          • In the VALID_FROM field, you can enter the current date or a date in the
          • future. Changes in the past are not possible. You can leave the fieldempty if the change is to become effective on the current date.

            Description
            This parameter contains the same field names as the ACCOUNTDATAparameter. For every field that you want to provide with a value in theACCOUNTDATA structure, you must fill the corresponding field inthis structure with an 'X'.
            This is necessary to enable the use of the 'SPACE' value.

            Description
            Insurance object number
            When you set this paremeter, the contract account is determined by theassignment to an insurance object-partner relationship.

            Description
            NODATA flag
            We recommend the value '/' as the NODATA flag.

            Description
            Flags whether the system is only to simulate the creation of a contractaccount.

            Description
            Flags whether the system is to create change documents.

            Description
            Data for a contract account-partner relationship
            If the partner is not yet assigned to the contract account, it isassigned. Otherwise, the existing data is chanegd.
            For some fields (such as BUSPARTNER), you have the option of entering anexternally assigned identification number. The corresponding fields have'_EXT' as a suffix (BUSPARTNER_EXT, for example).

            Description
            Data for alternative correspondence recipients for a contractaccount-partner relationship

            • Fill the PROCESSING_MODE field with the value 'I', to add an
            • alternative correspondence recipient.
              • Fill the field with the value 'D' to delete one or more alternative
              • correspondence recipients.
                You cannot delete multiple alternative correspondence recipients, as alldata records to which the values entered in the structure refer, havebeen deleted.

                Description
                This parameter contains the same field names as theACCOUNTPARTNERCORR parameter. For every field that you want toprovide with a value in the ACCOUNTPARTNERCORR structure, youmust fill the corresponding field in this structure with an 'X'.
                This is necessary to enable the use of the 'SPACE' value.

                Description
                Data for business locks for a contract account-partner relationship

                • Fill the PROCESSING_MODE field with the value 'I' to create a
                • lock.
                  In this case, only fill the fields that have '_KEY' as a suffix.
                  • Fill the PROCESSING_MODE field with the value 'U' to change a
                  • lock.
                    The fields with the '_KEY' suffix identify the locks that are to bechanged. All locks that correspond to the values in the structure arechanged. All locks then have the values that you have entered in thefields with the '_DAT' suffix.
                    • Fill the PROCESSING_MODE field with the value 'D' to delete one
                    • or more locks.
                      In this case, only fill the fields that have '_KEY' as a suffix. Alllocks that correspond to the entered values are deleted.

                      Description
                      This parameter contains the same field names as theACCOUNTPARTNERLOCK parameter. For every field that you want toprovide with a value in the ACCOUNTPARTNERLOCK structure, youmust fill the corresponding field in this structure with an 'X'.
                      This is necessary to enable the use of the 'SPACE' value.

                      Description
                      This parameter contains the same field names as the ACCOUNTPARTNER
                      parameter. For every field that you want to provide with a value inthe ACCOUNTPARTNER structure, you must fill the correspondingfield in this structure with an 'X'.
                      This is necessary to enable the use of the 'SPACE' value.

                      Description
                      Data for tax exemptions for a contract account

                      • Fill the PROCESSING_MODE field with the value 'I' to create a tax
                      • exemption.
                        • Fill the PROCESSING_MODE field with the value 'U' to change a tax
                        • exemption.
                          • Fill the PROCESSING_MODE field with the value 'D' to delete a tax
                          • exemption. To do this, you must fill the TAX_CODE,TAX_CONDITION_TYPE and EXEMPTION_FROM_DATE fields.

                            Description
                            This parameter contains the same field names as the ACCOUNTTAXparameter. For every field that you want to provide with a value in theACCOUNTTAX structure, you must fill the corresponding field inthis structure with an 'X'.
                            This is necessary to enable the use of the 'SPACE' value.

                            Description
                            Parameter to fill additional fields
                            You can implement additional fields for the contract account and for thecontract account-partner relationship.
                            If you want to fill additional fields for the contract account, you mustset the 'BAPI_TE_FKKVK_V' value in the STRUCTURE field.
                            For fields for the contract account-partner relationship, you must setthe 'BAPI_TE_VKKVKP_V' value.
                            In the following fields for the EXTENSIONIN parameter, you mustset the values for the items that correspond to the BAPI_TE_FKKVK_V orBAPI_TE_VKKVKP_V DDIC structures.

                            Description
                            Parameter for message output.