Fonction SAP BAPI_CD_ACCOUNT_CREATE - OBSOLETE: Use BAPI_CD_ACCOUNT_CREATE1

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ACCOUNTDATA BAPICD_ACCOUNT u 80 Contract Account Data
ACCOUNTDATAX BAPICD_ACCOUNTX u 9 Change Structure for Contract Account Data
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 Type Long. Description
ACCOUNTNUMBER BAPICD_ACCOUNT-CONT_ACCT C 12 Contract Account Number Used to Create the Account

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
With this method, you create a contract account.

  • You can only create one contract account in a call.

  • You can assign more than one partner to a contract at the same time.

  • You must assign at least one business partner to the contract account.
  • You must have already created the business partner in the system.
    You require the authorization to create contract accounts.
    The RETURN parameter can return multiple parameters at the same time.
    If you have selected the Required Entry property for specificfields groups for the contract account, the appropriate fields must befilled.
    If you have defined default values for the corresponding contractaccount category in Customizing, these are used if the field is notprovided with a value from the interface. One field is then filled witha value, if the field of the same name contains an X, in thecorresponding structure with the suffix 'X'.

    Notes
    Within the BAPI, the system calls up event V952. In this event it ispossible to change all data transferred with the interface, or enhanceany missing data.
    The BAPI uses the concept of customer enhancements with BAPI TableExtensions. You haev the EXTENSIONIN parameter for this.
    The associated structures are called BAPI_TE_FKKVK_V andBAPI_TE_FKKVKP_V. If you want to fill additional defined fields with theBAPI, you have to have implemented these structures.

    Description
    Delivers the contract account number used to create the account.

    Description
    Data for contract account
    You must fill the following fields:

    • ACCT_CAT,

    • ACCT_VIEW

    • ACCT_MANAGEMENT

    • If you do not fill the CONT_ACCT field, the system determines thenumber with internal number assignment.

      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.

      Value range
      AS

      Default

      Description
      NODATA flag
      Always use the value '/' for the NODATA flag.

      Description
      Flags whether the system is to simulate the creation of an insuranceobject.

      Description
      Flags whether change documents are to be created.

      Description
      Data for a contract account-partner relationship
      You must assign at least one business partner to each contract account.You can assign multiple business partners at the same time.
      For some fields (such as BUSPARTNER), you have the option of entering anexternally assigned identification number.
      The appropriate fields ahev '_EXT' as a suffix (BUSPARTNER_EXT, forexample).

      Description
      Data for alternative correspondence recipients for a contract account-
      partner relationship.
      Always fill the PROCESSING_MODE field with the value 'I'.

      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.

      Default

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

      Always fill the PROCESSING_MODE field with the value 'I'.
      To create a business lock, only fill the fields with the suffix '_KEY'.

      yMEANING&
      This parameter contains the same field names as theACCOUNTPARTNERLOCK parameter. For each field that you want toprovide with a value in the ACCOUNTPARTNERLOCK structure, youhave to fill the corresponding field in this structure with an 'X'.
      This is necessary to be able to use the value 'SPACE'.

      yMEANING&
      This parameter contains the same field names as the ACCOUNTPARTNER
      parameter. For each field that you want to provide with a value inthe ACCOUNTPARTNER structure, you have to fill the correspondingfield in this structure with an 'X'.
      This is necessary to be able to use the value 'SPACE'.

      Default

      Description
      Data for tax exemptions for a contract account
      Always fill the PROCESSING_MODE field with the value 'I'.

      yMEANING&
      This parameter contains the same field names as the ACCOUNTTAXparameter. For each field that you want to provide with a value in theACCOUNTTAX structure, you have to fill the corresponding field inthis structure with an 'X'.
      This is necessary to be able to use the value 'SPACE'.

      Default

      Description
      Parameter to fill additional fields
      You can implement additional fields for the contract account, as well asfor the contract account-partner relationship.
      If you want to use additional fields for the contract account, you mustset the value 'BAPI_TE_FKKVK_V' 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 must set thevalues for the items that correspond to the BAPI_TE_FKKVK_V orBAPI_TE_VKKVKP_V structures.

      Description
      Parameter for message output.