SAP Function BAPI_CTRACCONTRACTACCOUNT_CR1 - BAPI: FI-CA Create Contract Account

Parameter Reference Type Length Default Optional Text
CTRACCREATEINFO BAPIFKKVKCI u 45 Basic Data for Contract Account
CTRACDETAIL BAPIFKKVKI u 35 Partner-Independent Data
TESTRUN BAPICTRACAUX-TESTRUN C 1 X Switch to Simulation Mode for Write BAPIs
VALIDFROM BAPICTRACAUX-VALID_FROM C 10 X Validity date of changes

Parameter Reference Type Length Text
CONTRACTACCOUNT BAPIFKKVK-CONT_ACCT C 12 Contract Account Number

Parameter Reference Length Optional Text
CTRACCHARGESDISCOUNTS BAPIFKKVKP_CHGDISCI 55 X Individual Charges/Discounts
CTRACCORRRECEIVER BAPIFKKVKCORRI 74 X Alternative Correspondence Recipients
CTRACLOCKDETAIL BAPIFKKVKLOCKSI1 86 X Lock on Contract Account
CTRACPARTNERDETAIL BAPIFKKVKPI1 723 Partner-Specific Data
CTRACTAXEXEMPTION BAPIFKKVKTAXI 44 X Tax Exemption
EXTENSIONIN BAPIPAREX 990 X Customer Enhancements
RETURN BAPIRET2 548 Confirmations

Functionality
You use this method to create a contract account. You must assign atleast one business partner to the account. Locks are optional.
The 'Return' parameter can deliver several message numberssimultaneously.

Notes
Event 9501 is called when additional data can be determined.
The BAPI uses the concept of customer enhancements with BAPI TableExtensions. You can use the structures BAPI_TE_FKKVKI and BAPI_TE
_FKKVKPI.

Description
New contract account number that can be entered or created.

Description
Basic data for the new contract account. If the field is empty, thecontract account number is generated. The business partner must becontained in the CTRACPARTNERDETAIL parameter. Your application areamust be "APPL_AREA".

Description
General data for the account, valid for all partners.
Description
Standardized BAPI Test Run parameter.
trados = docu -> fi -> fica

Description
Changes to the contract account usually take effect immediately. However
, if you do not want the changes to take effect until some time in thefuture, enter the date when you want the changes to be activated here.

Description
Data for individual charges and discounts. This data ispartner-dependent. Only the 'PROCESSING_MODE' 'I' (Insert) is permittedin the Create method.

Description
Alternative correspondence recipient for contract account

Description
Data for process locks. This data is partner-dependent. Only the"PROCESSING_MODE" "I"(Insert) is permitted in the Create method.The valid mode for the contract account is "LOCK_TYPE" "02".

Description
Partner-dependent data for the account. Every line contains the datafor a business partner. Some account categories allow multiple businesspartners. One partner has to be the account holder.

Description
Contract account: Tax exemptions

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

Value range
The following BAPI Table Extensions exist:

  • BAPI_TE_FKKVKI for structure FKKVK_S_DI

  • BAPI_TE_FKKVKPI for structure FKKVKP_S_DI

  • For more information, see the documentation to structure BAPIPAREX.

    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.

    Value range
    The most important messages:
    E >BAPI,,009 010,,Formal error in the lock table
    E >3,,012 014,,Incorrect data for new contract account
    E >3,,080 ... 087,,Incorrect data for locks

1585480FI-CA enablement for creation of virtual BP/CA/CO