Skip to Content
0
Former Member
Nov 05, 2012 at 01:28 AM

where path is to set default values in assignment of funds to budget periods and define rules assigning funds to budget periods

185 Views

where path is to set default values in assignment of funds to budget periods and define rules assigning funds to budget periods

when I create a fund and a budget period ,and then in change fund assignment a budget period to fund ,system tell me this combination is not allow

Specified budget period/fund combination is not allowed according to the assignment rules defined in the active implementation of the BAdI FMMD_FUND_TO_BPD_RULES

this means i must creat a new BADI that can Implement all interface methods and i can empty this method?

i am understand is correct?

the BADI help is following

Use

Use this step to implement the Business Add-In (BAdI) where you can define your own rules assigning funds to budget periods.

This BAdI can be used to define rules governing assignment of a budget period (BP) to a fund. Every time a user requests creation of a fund-to-BP assignment, the BAdI implementation is called to check whether the defined rules allow the assignment. Input parameters are fund master data (I_FMFINCODE) and BP master data (I_FMBUDGETPD). Output parameter is flag ‘BP to Fund assignment is allowed’ (E_ALLOWED).

For example, delivered default implementation IMP_FMMD_FUND_TO_BPD_RULES requires that the fund and BP validity periods overlap.

Customer-specific business rules might require that only one BP assignment can exist for a fund at any given time or that the BP validity period be completely contained within the fund validity period. To use rules other than those defined in the default implementation, create a custom implementation of the BAdI.

Standard settings

We deliver default implementation IMP_FMMD_FUND_TO_BPD_RULES.

Activities

To create an implementation for the BAdI, follow these steps:

    1. Open the Customizing activity (BAdI: BAPI - FM: Define Custom Rules for Fund to BP assignments) and create a new Enhancement Implementation:
  • Enhancement Implementation:
  • Enh. Impl: <Name of your enhancement implementation>
  • ShText: <Short description>
  • Composite: <Name of your composite> (If none exists already, you can create one)
    2. Create the implementation <Implementation Name> for the BAdI definition FMMD_FUND_TO_BPD_RULES.
    3. Open the BAdI - Tab and activate the Implementation.
    4. Expand the tree on the left side and double-click the 'Class' entry.
    5. Create a new class.
    6. Implement all interface methods. (If there are methods you do not need, you can leave them empty but you must implement them.)
    7. Save and activate the class and go back.