SAP ABAP IMG Activity ISPSFM_SET_STATISTIC (BAdI: Setting the Statistics Indicator for Commitment Carryforward)
Hierarchy
EA-PS (Software Component) SAP Enterprise Extension Public Services
   PSM-FM (Application Component) Funds Management
     FMBS_ADDON (Package) FIFM: Basis (Add-On Objects)
IMG Activity
ID ISPSFM_SET_STATISTIC BAdI: Setting the Statistics Indicator for Commitment Carryforward  
Transaction Code S_ALN_01000502   (empty) 
Created on 20020103    
Customizing Attributes _ISPSFM_OBLIGOVORTR   BADIs Commitment Carryforward 
Customizing Activity ISPSFM_SET_STATISTIC   Setting the Statistics Indicator for Commitment Carryforward 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name FMCCF_SET_STATISTIC    

Use

In the standard, you can define that postings in other components that should not consume budget should only be updated statistically in Funds Management; for example you can override the definitions in your update profile for each value type for which Value types relevant to the budget or are only updated statistically or flag commitment items in the master record as statistical.

With this Business Add-In (BADI) you can set the statistics indicator for data records generated with the commitment carryforward separately for the data record in the sender year (amount type Carryforward previous year (commitment) and the data record in the receiver year (amount type Carryforward following year (commitment).

Note the following dependency:

If the FM line item in the sender year are flagged as statistical, the commitment carryforward record in the sender year is also statistical.

Requirements

In the Customizing of Funds Management Government

  • a valid update profile is assigned to the FM area
  • the commitment carryforward in Funds Management is activated
  • the commitment carryforward is allowed for the FM area

Standard settings

In the standard, the Business-Add-In is active provided that you use update profile 000400 (CB with target fiscal years e.g. German local authorities) Default coding is carried out automatically and has the following effect:

  • The commitment carryforward of invoices that are only updated in the payment budget always occurs statistically. The budget assigned once remains tied to the sender year, the generated record is not relevant to the budget in the receiver year.
  • The commitment carryforward with change from the commitment budget to payment budget is only statistical on the sender side. This means the assigned budget in the commitment budget remains tied . In the payment budget, the budget is assigned again.

The Business Add-In is filter-dependent. Create the implementation for your update profile.

Activities

Create an implementation of the Business Add-In for your update profile, provided that update profile 000400 is not assigned to your FM area. Do the following for this:

After calling up the IMG activity, a dialog box appears, in which you can enter a name for the implementation.

If you have already made other implementations for this BAdI, another dialog box appears, in which the existing implementations are displayed. In this case, choose Create, and proceed as follows:

  1. In the dialog box, enter a name for the BAdI implementation in the Implementation field, and choose Create.

    The screen for creating BAdI implementations is now displayed.

  2. Enter a short text for the implementation in the Short text for implementation field.
  3. From the tab index, choose Interface.

    The Name of implemented class field is already filled on the tab page, as a class name was automatically assigned to the implementation when you named it.

  4. Save your entries, and assign the implementation to a development class.
  5. Place the cursor on the method, and double-click to enter method processing.
  6. Enter the code for the implementation between the statements method <Interface name> ~ <Name of method> and endmethod.
  7. Save and implement your code. Return to the Edit Implementation screen.
  8. Save the entries on the Edit Implementation screen.

    Note: You can also create an implementation, and then activate it at a later time. In such a case, end the processing stage at this point.

  9. Choose Activate

    The code you stored in the method will be run when the application program is executed.

Example

Notes Documentation on BADI method STATISTIC_FLAG_SET

Business Attributes
ASAP Roadmap ID 153   Design enhancements 
Mandatory / Optional 3   Nonrequired activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20020325 
SAP Release Created in 110