Fonction SAP BCA_DIM_CONTRACTACCOUNT_CREATE - Create Contract Account

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_TAB_ACCT_DETAILS BCA_TAB_DIM_ACCT_DETAILS h 360 AM Clearing Account number
I_TESTRUN BAPICTRACAUX-TESTRUN C 1 X Switch to Simulation Session for Write BAPIs

Paramètre Reférence Type Long. Description
E_CONTRACTACCOUNT BCA_TAB_DIM_CONT_ACCT h 12 Contract Account Number

Paramètre Reférence Long. Facultatif Description
E_TAB_RETURN BAPIRET2 548 X Return Parameter
I_TAB_EXTENSIONIN BAPIPAREX 990 X Customer Enhancements

Exception Description
CLEAR_ACCT_NOT_QUALIFIED Clearing account not qualified.
FAILED Contract account creation failed.
FILL_CTRACPARTNERDETAIL_FAILED Filling contract partner detail failed( BADI-method)
INPUT_NOT_QUALIFIED Input not qualified
MAPPING_FAILED Mapping record creation Failed.

Functionality
You use this method to create a contract account. You must assign atleast one borrower to the account. The first borrower is considered asthe main borrower.
The system calls the following BAdI methods:

  • FILL_CTRACPARTNERDETAIL - to determine FI-CAx -specific contract partner
  • details
    • BP_PAYMENTDETAILS_ADD - to update business partner payment details
    • master data
      The RETURN parameter can deliver several message numbers simultaneously.These messages are also stored in the application log under object nameFS_PROT (Financial Services - Standard Log), with the subobject ERROR(Normal Error) and the External ID CON_ACC_CR.

      Description
      New Contract account number created .

      Description
      Clearing account number from Account Management system for whichcontract account to be created inside Fi-CAx.

      Description
      Switch to Simulation Mode for Write BAPIs
      Used to check the specifications of the instance in write BAPIs, beforethe object instance is actually created in the database. The creation ofthe object instance is simply simulated and the data is not updated. Thepossible values are:
      ' ' (no value)
      No value means that updating takes place. This is the standard settingand is what the caller usually expects.
      'X'
      This value means that this BAPI is called only in simulation mode andthat data is not updated when the BAPI is called .But logs got created.

      Description
      The method return code. If the parameter does not contain a messagecode, the method was successful. As the parameter is a table, it cancontain several return codes at the same time.

      Description
      Parameters for the transfer of customer-specific data. These aretransferred automatically into the customer-specific enhancements of theSAP tables as part of the 'BAPI Table Extensions'.