Ansicht
Dokumentation

FI_ACC_PRINC_ASSIGNM - BAdI: Assignment of Accounts to Accounting Principles

FI_ACC_PRINC_ASSIGNM - BAdI: Assignment of Accounts to Accounting Principles

Fill RESBD Structure from EBP Component Structure   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

In combination with the scenario for parallel costs of goods manufactured, you can use this Business Add-In (BAdI) to portray parallel accounting using parallel accounts. With this BAdI, you can implement your own logic for deriving accounting principles from accounts, for example, if you use prefixes or suffixes to determine the assignment key.

When posting a document, the system calls the BAdI after assessing the settings made in the Customizing activity Define Account Assignments.

Before you can implement the BAdI, the following prerequisites need to be met:

  • You use the account approach (parallel accounts) for parallel accounting.

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).

After you have called the IMG activity, proceed as follows:

  1. In the following dialog box, enter in the field "Implementation" a name for the BAdI implementation and choose Copy.
If implementations have already been created for the BAdI, a dialog box with the existing implementations will be displayed. In this dialog box, choose Create.
  1. In the corresponding field, enter a short text for implementation .
  2. In the tab Propertiesenter filter properties - if this is a filter-dependent BAdI.
  3. Choose the tab Interface.
The name of the implementing class is generated by the system based on the name of your impmlementation. You can change the name.
If the BAdI is a menu exit, the tab FCodes also appears.Enter a function here and, if necessary, additional data.
  1. Save your entries and assign a package.
  2. Position the cursor on a method. Call up the Class Builder by double-clicking it.
  3. Between the statements method <Interface-Name>~<Name of Method>. and endmethod, enter the coding you request for the implementation.
  4. Save and activate your coding, and navigate back to the screen Change Implementation.
  5. Save on the screen Change Implementation.
Note: You can first create an implementation for the BAdI and then activate this later on. In this case, close the processing function at this time.
  1. Choose Activate.
When the application program is executed, the coding you have created will be run.

For the IFRS accounting principle, you use the suffix 01.

The BAdI determines the assignment key IFRS from account 4450001, which is used in the posting. When the business function CO, Parallel Valuation of Cost of Goods Manufactured is used, the system can use it to derive and update the CO version with which the IFRS accounting principle is portrayed in Controlling.

Method: Accounting Principle Assignments (DETERMINE_ACCP_ASSIGNKEY)

  • You implement the method DETERMINE_ACCP_ASSIGNKEY so that the system can use the following import parameters to derive the accounting principle assignment for a line item of an FI document to be posted:
  • I_BUDAT (posting date)
  • I_BUKRS (company code)
  • I_HKONT (G/L account)

The system uses the logic that you have implemented to determine the key of the accounting principle. The assignment key determined is returned using changing parameter C_ACPAK for further processing. Any key that has already been determined from the Customizing settings (in the Customizing activity "Define Account Assignment") is overwritten.

From the accounting principle assignment key, the system determines the assigned accounting principles for the posted company code on the posting date.

For information about how to implement BAdIs in the Enhancement Framework, see SAP Library for the SAP NetWeaver Platform on the SAP Help Portal at http://help.sap.com/nw_platform. Select a release and then choose Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework.






Addresses (Business Address Services)   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 5390 Date: 20240523 Time: 220605     sap01-206 ( 93 ms )