Functionality Using this method it can be checked whether a posting to accounting ispossible. For this, the check depends on one of the possible businesstransactions. Possible (Business Transactions>):
- Postings that generally only affect the general ledger. (RFBU)
- For billing in Sales and Distribution, accounting is supplied with the
relevant billing data. (SD00) BillingDocument>
- Accounting can use the data of a logistics system that result from an
Invoice Receipt>. (RMRP)
- Goods Movements> are triggered by operations
in production and in Sales and Distribution or by inventory postings.Within logistics, they lead to they lead to a change in the warehousestock of Inventory Management>. Thisresults in a posting in accounting. This is why accounting is suppliedwith the relevant data from logistics. (RMWA)Example
- Billing Document>:
By selling goods in accordance with targets, revenue is generated. Therevenue is posted in billing and forwarded to accounting.
- Invoice Receipt>:
Raw materials are purchased in accordance with targets. The invoicereceipt is posted in a logistics system. The data from the raw materialpurchase are forwarded to accounting.
- Goods Movement>:
The use of raw material lead to a change in stock in inventorymanagement. The posting of raw material consumption is forwarded toaccounting.
- G/L Account Posting>:
Provision posting for an expected warranty service. This can refer toacquisitions or retirements belonging to stocks that are not insubledger accounting relevant to inventory management. This isparticularly the case if such materials are not displayed as vendor/ customer, matierals, loans etc. or cannot be displayed in this way.This can also refer to write-ups or depreciation that contain higheraggregations of values than are maintained in a corresponding subledgerthat is relevant to inventory management. The conversion of foreign currencies for receivables/payables due tolarge exchange rate changes that should not lead to an update of theaccounts payable or accounts receivable accounting. A similartransaction can arise for the revaluation of raw materials if thisrevaulation takes place at a correspondingly aggregated level. Reclassification of inventory or P&L statement accounts that are onlyused for reconciliation purposes in the general ledger (this rearrangesvalues for balance sheet items). Balance reclassifications of stocks to receivables with differentreturn times.Notes
- If the parameter CurrencyAmount is filled with the currency fields, a
complete document check including characteristics and value componentsof profitability analysis (CO-PA) is carried out. Otherwise the accountassignment objects are checked.
- Messages are returned in the parameter Return. In the parameter
documentation you can find the return values and their meaning.Further information You can find further information in the SAP Library under "Financials-> Accounting - General (AC) -> Interfaces to Accounting (AC)". Description Fields are transferred in this parameter that only concern the contractaccounts receivable and payable (FI-CA). By filling these fields, the sender calls up FI-CA as open itemaccounting, instead of accounts receivable accounting. Parameter documentation> Description Parameters for the transfer of document header data. The following fields must be filled:
- OBJ_TYPE> Sender identification
- OBJ_KEY> Reference number of the source document
- OBJ_SYS> Logical system of the source document
- COMP_CODE> Company code
- PSTNG_DATE> Posting date
- BUS_ACT>,,,,Business transaction
- USERNAME Document creator
Default The field COMPO_ACC> must remain empty for a generalposting. If an SAP component is transferred in this field, a postingwill only be made in this component. This function is only used forposting subsequently. INCLUDE ACC_AWTYP_AWKEY_AWSYS OBJECT DOKU ID TX INCLUDE ACC_BAPI_ACCOUNTGL OBJECT DOKU ID TX INCLUDE ACC_BAPI_ACCOUNTPAYABLE OBJECT DOKU ID TX INCLUDE ACC_BAPI_ACCOUNTRECEIVABLE OBJECT DOKU ID TXDescription Parameter for the transfer of tax lines. The following fields must be filled:
- ITEMNO_ACC>,,,,Item number
- TAX_CODE>,,,,Tax code
- COND_KEY>,,,,Condition type
If Jurisdiction Code is active, these fields must also be filled. The currency fields are not contained in this parameter. They must betransferred in the parameter Currency Amount for the different currencytypes or currencies. A connection is created to the correspondingdocument line item via the item number ITEMNO_ACC which must be uniquefor all line items. trados = fiMeaning accountpayable Parameter for transferring withholding tax information. The following fields must be filled:
- ITEMNO_ACC>,,,,Item Number
- WT_TYPE>,,,,Withholding Tax Type
- WT_CODE>,,,,Withholding Tax Code
The connection to the relevant line items of the vendor or customer itemis created using the item number ITEMNO_ACC and this must thereforeagree with the item number of the vendor or customer item (parameterACCOUNTPAYABLE/ACCOUNTRECEIVABLE). This parameter also contains the currency fields. They can betransferred together for different currency categories or currencies.Description In this parameter fields are transferred that are concerned with anaccounting document at the item level not including the contractaccounts receivable and payable (FI-CA). Link to debitor line: The item is also transferred to the debitor line (ACCOUNTRECEIVABLE)and must therefore have the same item number (ITEMNO_ACC) INCLUDE ACC_BAPI_CRITERIA OBJECT DOKU ID TX INCLUDE ACC_BAPI_CURRENCYAMOUNT OBJECT DOKU ID TX Description This exit can be used to edit the accounting document before it istransferred to the accounting components for the update. For this, BTE technology (Business TransactionEvents>) is used.Description This enhancement structure can be used to transfer additional fields. There are four fields available for each field (VALUEPART1 - 4) thateach contain 240 characters. In the STRUCTURE field, a defined ABAPdictionary structure can be transferred, on the basis of which thefield contents can be read. The accounting document can be supplemented and changed in animplemented BAdI () before the active accounting component is calledup. Value range The class CL_EXM_IM_ACC_DOCUMENT is available as exampleimplementation. Here, for each data record of the parameter that istransferred the ABAP dictionary structure is checked and the content ofthe fields VALUEPART1 to -4 is set in the structure. If the transferredstructure contains a field POSNR, the associated line of the accountingdocument is updated by the contents of the enhancement. Description In this parameter you can transfer data for credit card payment. Link to debitor line: The item is also transferred to the debitor line (ACCOUNTRECEIVABLE)and must therefore contain the same item number (ITEMNO_ACC). Description In this parameter, account assignments can be transferred for RealEstate Management. The current line represents an addition to the accounting document lineitems (ACCOUNTGL, ACCOUNTRECEIVABLE, ACC OUNTPAYABLE). The line in parameter REALESTATE must be linked with thedocument line number using the line number (ITEMNO_ACC). INCLUDE ACC_BAPI_RETURN OBJECT DOKU ID TX INCLUDE ACC_BAPI_VALUEFIELD OBJECT DOKU ID TX
|