Ansicht
Dokumentation

/ISDFPS/FUNDC_DERIVE - BAdI: Define Funds Center Derivation

/ISDFPS/FUNDC_DERIVE - BAdI: Define Funds Center Derivation

BAL Application Log Documentation   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

You can use this Business Add-In (BAdI) to define the procedure for deriving one or more funds centers from the force element attributes. The funds center is used to:

  • Display the assignment to the funds center as an attribute of a force element
  • Display the funds center in the accounting checks for the status change in Structures Workbench

You can derive the procedure for your own implementation from the default code provided. The method provided requires the force element master record (type: /ISDFPS/FORCE) as an import parameter. A table is exported from /ISDFPS/FM_FUNDCENTER_KEY_T (financial management area and funds center).

The BAdI is active in the standard system. If you do not create your own BAdI implementation, the BAdI definition default code is executed automatically.

The following functions are available:

  • Determining the WBS element in the force element (if available)
  • Determining the cost center in the force element (if no cost center has been assigned, the superior or inherited cost center is used)
  • Transferring the WBS element and/or cost center to data structure FMDERIVE
  • Determining a suitable funds center derivation using function module FM_ACCOUNT_DERIVE. The funds center derived depends on the strategy sequence: WBS Element -> Cost Center or Cost Center -> WBS Element.
  • Transferring the funds center to data structure COBL
  • Transferring the financial management area and the funds center to the export parameter as a single record (table of type /ISDFPS/FM_FUNDCENTER_KEY_T).

In the present default code, only one funds center is determined. Several funds centers are possible.

You maintain the strategy for the force element using the Structures Workbench by calling transaction FMDERIVE.

If you do not create an implementation, the default code is executed.

If you require a different function for deriving funds centers, create your own implementation.

Note:

You can also control the derivation function of your BAdI using the enhancement feature in transaction FMDERIVE. To do so, create an enhancement (EXIT_SAPLFMDT_001) that is executed in the BAdI when function module FM_ACCOUNT_DERIVE is executed.

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.






TXBHW - Original Tax Base Amount in Local Currency   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 4772 Date: 20240419 Time: 030502     sap01-206 ( 64 ms )