Ansicht
Dokumentation

FA_FACC_BAL_ACCOUNT - BAdI: Derivation of Zero-Balance Clearing Account Relevant for Cash Control

FA_FACC_BAL_ACCOUNT - BAdI: Derivation of Zero-Balance Clearing Account Relevant for Cash Control

BAL_S_LOG - Application Log: Log header data   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

If you are using cash control (CC) in Public Sector Management, you must define a cash control-relevant zero balance (ZB) clearing account to map the cash control-relevant clearings in the system.

You can use this Business Add-In (BAdI) to derive zero-balance clearing accounts at runtime, based on cash control-relevant bank accounts. The assignment between the bank account and the corresponding ZB clearing account is necessary in order to map the cash balance adequately for each control object if the control objects of CC were defined including the accounts relevant for cash control.

You have activated General Ledger Accounting with document splitting.

You have activated cash control in Public Sector Management.

The BAdI is not active in the standard system. To be able to use the BAdI, you must implement the method.

  1. Implement the BAdI using method DERIVE_ZB_ACCOUNT. You can derive the different cash control-relevant ZB clearing accounts using this method.
The method has the following parameters:
Import parameters:
  • IS_HEADER: contains the header of the document to be posted.

  • IT_ITEMS: contains the zero-balance clearing lines of the document to be posted.

Export parameters:
  • EV_ZB_ACCOUNT: contains the zero-balance clearing account

Note the following for the implementation of the method:
  • The account relevant for cash control that you can use as the basis for deriving the ZB clearing account can be found in field IT_ITEMS-ACCIT-CC_ACCOUNT. The corresponding company code is contained in field IT_ITEMS-ACCIT-CC_BUKRS.

  • You can also use the other fields from IS_HEADER and IT_ITEMS for the derivation of the ZB clearing account.

  • If you specify a value for the account, the value defined in the configuration of document splitting is overwritten. As such, the definition of an account relevant for cash control is in this case no longer necessary when configuring document splitting for cash control.

  • The account must have a correct value. Once the BAdI has been called, no validation takes place. Make sure that the derived account in the configuration of CC is defined as relevant for cash control.

  1. After calling the Customizing activity, proceed as follows:
    1. Enter a name for the implementation of the BAdI in the following dialog box in the Implementation field and choose Copy. If implementations were already created for the BAdI, a dialog box will appear with the existing implementations. In this dialog box, choose Create.
    2. Enter a short text for the implementation in the appropriate field.
    3. Add filter attributes to the Characteristics tab if it is a filter-dependent BAdI.
    4. Choose the Interface tab.
The system generates the name of the implementing class based on the name of your implementation. You can change this name.
  1. Save your entries and assign a package.
  2. Position your cursor on a method. Call the class builder by double-clicking.
  3. Enter your coding for the implementation between the instructions method ~<Name of Method>. and endmethod..
  4. Save and activate your coding and go back to the Change Implementation screen. Save the implementation.
Note:
You can first create an implementation and then activate it later on. In this case you finish processing now.
  1. Choose Activate.
When you execute the application program, the coding you created will be run.






ROGBILLS - Synchronize billing plans   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 4671 Date: 20240523 Time: 220158     sap01-206 ( 139 ms )