SAP Function BAPI_CTRACDOCUMENT_CREATE - BAPI: Post FI-CA Document

Parameter Reference Type Length Default Optional Text
COMPLETEDOCUMENT BAPICTRACAUX-CHECKARCHIVE C 1 X Note 981920 - Complete Document
DOCUMENTHEADER BAPIDFKKKO u 231 Document Header
NET_RECEIVABLES BAPICTRACAUX-CHECKARCHIVE C 1 X Note 1098983 - Receivable Amounts Are Net Amounts
RECKEYINFO BAPIRECKEYINFO u 36 X Information for Reconciliation Key
TESTRUN BAPICTRACAUX-TESTRUN C 1 Switch to simulation mode (no database changes)

Parameter Reference Type Length Text
DOCUMENTNUMBER BAPIDFKKKO-DOC_NO C 12 Assigned document number
RETURN BAPIRET2 u 548 Confirmations

Parameter Reference Length Optional Text
CARDDATA BAPIDFKKOPC 203 X Card Data Supplement for Business Partner Item
DATESFORDEFERREDREVENUE BAPIFKKDEFREV_DATES 27 X Transfer Dates for Deferred Revenue
EXTENSIONIN BAPIPAREX 990 X Customer Enhancements
GENLEDGERPOSITIONS BAPIDFKKOPK 519 X Line items (offsetting items)
GENLEDGERPOSITIONSEXT BAPIDFKKOPKX 84 X General Ledger Item for FI-CA Document - Supplement
ITEMRELATIONS BAPIFKKOPREL 48 X Object Relations for DFKKKO and DFKKOP
PARTNERPOSITIONS BAPIDFKKOP 1010 X Line items (open items)
PORPAYMENT BAPIDFKKOP_ESR 244 X ISR Payment Supplement
POSITIONLOCKS BAPIDFKKOPLOCK 31 X Locks on open items
REPETITIONPOSITIONS BAPIDFKKOPW 128 X Line items (repetition specifications)
WITHHOLDINGTAX BAPIDFKKOPWH 54 X Withholding Tax Data for Business Partner Item

Functionality
You can use this method to post an FI-CA document. All the tableparameters are optional and depend on the document type.

Description
Number of new document that was posted.

Description
The return code of the method. If the parameters do not have a messagecode, the method was successful.

Value range
The most important messages are as follows:
A B1 500 Error in ISO conversion
E >BAPI 005 006 Formal error in document data
E >BAPI 009 Formal error in lock data
E >0 >4 Incorrect document data

Description
If the parameter is set, you can transfer an incomplete document thatwill be completed before the check. The following events are used:

  • 1001 - Determine G/L account of an open item (FKKOP-HKONT)

  • 1110 - Determine tax items automatically

  • 1100 - Automatic determination of offsetting items

  • 2100 - Determine account assignment ID
  • Description
    Document header data.

    Description
    If no reconciliation key is transferred in the document header when theBAPI is called, the system tries to find a open reconciliation key onthe date or to create a new one. It does this for the combination ofcaller ID, reservation object, and object key transferred.

    Description
    Switch to simulation mode.

    Description
    Card data supplement for business partner item

    Description
    If trigger records for deferred revenue postings are to be created fora line item, the data and amounts must be transferred to thisparameter.

    Description
    Parameters for transferring customer-defined data. This data isautomatically transferred to the customer-defined enhancements of SAPtables as part of the 'BAPI Table Extensions'.

    Value range
    The following BAPI table extensions exist:
    BAPI_TE_DFKKKO for structure DFKKKO
    BAPI_TE_DFKKOP for structure DFKKOP
    BAPI_TE_DFKKOPK for structure DFKKOPK
    For more information, see the documentation for structure BAPIPAREX.

    Description
    Line items for G/L accounts.

    Description
    Items for G/L accounts - enhancement

    Description
    The parameter transfers the relationships of a document or an item toother objects.

    Description
    Items for contract accounts. These items can also be statistical ones.

    Description
    ISR supplement for partner items

    Description
    Process locks for contract account items. Only "PROCESSING_MODE" Createis allowed here.

    Description
    Repetition specifications to statistical line items for contractaccounts.

    Description
    Additional withholding tax data for business partner items