Ansicht
Dokumentation

FARR_BADI_INV_CORR_A - BAdI: Invoice Correction Account Derivation

FARR_BADI_INV_CORR_A - BAdI: Invoice Correction Account Derivation

CL_GUI_FRONTEND_SERVICES - Frontend Services   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Use

This Business Add-In (BAdI) is used in the Revenue Accounting (FI-RA) component. You can use this BAdI to specify the P&L account you want to use for invoice correction postings. This BAdI allows for flexible account determination when standard account determination does not suit your requirements. In the standard account determination, the source account specified in the corresponding deferral item is used as target account for the invoice correction posting. This corresponds to the standard logic used in Revenue Accounting and Reporting (RAR).

The BAdI is called during invoice processing.

Requirements

Standard settings

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

Default State:

The following accounts are being sent from Sales and Distribution (SD) side:

Account description Account number
DR Receivables 140000
CR Revenue 800000

Invoice correction and revenue postings use the same P&L account for revenue adjustment.

Accounts in RAR for invoice correction posting:

Account description Account number
DR Revenue Adjustment (derived from source account Revenue) 800100
CR Receivable Adjustment 140100

Accounts in RAR for revenue recognition posting:

Account description Account number
DR Receivable Adjustment 140100
CR Revenue Adjustment from Invoice 800100
CR Revenue Adjustment from Allocation 800101

Required State:

The following accounts are being sent from SD side:

Account description Account number
DR Receivables 140000
CR Revenue 800000

Accounts in RAR for invoice correction posting:

Account description Account number
DR Revenue Adjustment (new GL account based on specific customizing) 800102
CR Receivable Adjustment 140100

Accounts in RAR for revenue recognition posting:

Account description Account number
DR Receivable Adjustment 140100
CR Revenue Adjustment from Invoice 800100
CR Revenue Adjustment from Allocation 800101

Example

You can find example implementations in the BAdI Builder on the Enhancement Spot Element Definitionstab in the Implementation Example Classes section.

The following example implementations are available:

  • CL_FARR_BADI_INV_CORR_ACCT
The example BAdI implementation uses the following logic:
The source account specified in the corresponding deferral item is used as target account for the invoice correction posting. This corresponds to the standard logic used in RAR.

More Information

For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at https://help.sap.com/viewer/product/SAP_NETWEAVER/ALL/en-US. Choose a release and then Application Help. In SAP NetWeaver Library: Function-Oriented View, choose Application Server > Application Server ABAP > Application Development on AS ABAP > Customer-Specific ABAP Development > Enhancement Framework.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 5388 Date: 20240523 Time: 202237     sap01-206 ( 62 ms )