Fonction SAP BAPI_CTRACDOCUMENT_WRITEOFF - BAPI: Write Off FI-CA Document

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
APPLICATION_FIELDS BAPIRFKA1 u 128 X BAPI: Application Fields for Write-Off
CHARGE_OFF_REASON BAPIDFKKKO-CHARGE_OFF_REASON C 2 Write-Off Reason
CREATED_BY BAPIDFKKKO-CREATED_BY C 12 X Name of Person Who Created Object
CURRENCY BAPIRFKA1-CURRENCY C 5 X Currency Key
DOCUMENTNUMBER BAPIDFKKKO-DOC_NO C 12 Number of a Contract Accounts Receivable and Payable Document
DOC_TYPE BAPIRFKA1-DOC_TYPE C 2 X Document Type
FIKEY BAPIRFKA1-FIKEY C 12 X Reconciliation Key for General Ledger
NO_CHECKS BAPIRFKA1-NO_CHECKS C 1 SPACE X Write-Off without Check Rules
POSTING_DATE BAPIRFKA1-POST_DATE D 8 X Posting Date in the Document
TRANSFER_TO_COLL BAPIRFKA1-TRANSFER_TO_COLL C 1 SPACE X Submission to Collection Agency

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return Parameters
RET_DOCUMENTNUMBER BAPIDFKKKO-DOC_NO C 12 Number of a Contract Accounts Receivable and Payable Document

Paramètre Reférence Long. Facultatif Description
EXTENSIONIN BAPIPAREX 990 X Reference Structure for BAPI Parameters ExtensionIn/ExtensionOut
OPENITEMS BAPIDFKKCL 1500 X Clearing Items for Document in Contract A/R + A/P

Functionality
You can use this BAPI to write off an FI-CA document (see transctionFP04).
You have to specify the document number to select the document to bewritten off.

Further information
For more information about write-offs, see the documentation oftransaction FP04.

Description
BAPI return value. If the parameter does not contain a message code,the call was successful.

Description
Number of write-off document created

Description
You can add customer fields to the structure of the application fieldsfor the write-off. You can then enter values in this structure.

Description
Key for the business transaction that led to the write-off. Thewrite-off reason is saved in the original document.

Description
The field contains the name of the creator.

Description
Transaction currency of write-off document

Default
If no transaction currency is specified, the default value from postingarea 1052 is read.

Description
Number of document to be written off

Description
Document type of write-off document

Default
If no document type is specified, the default value is read fromposting area 1052.

Description
Reconciliation key of write-off document

Default
If no reconciliation key is specified, the reconciliation key isdetermined using event 1113.

Description
The indicator specifies whether the check rules defined for thewrite-off are to be ignored.

Default
The check rules are used.

Description
Posting date of write-off document

Default
If no posting date is specified, the current date is used.

Description
Indicator that specifies whether the receivables written off areautomatically submitted to the collection agency.

Default
The receivables are not submitted to the collection agencyautomatically.

Description
Table of open items to be written off