SAP ABAP IMG Activity _ISPSFM_N_FMCCA (Define Check Libraries for Budget Addresses)
Hierarchy
EA-PS (Software Component) SAP Enterprise Extension Public Services
   PSM-FM-MD (Application Component) Master Data
     FMCC (Package) FIFM: Cash budget management customizing
IMG Activity
ID _ISPSFM_N_FMCCA Define Check Libraries for Budget Addresses  
Transaction Code S_ALN_01000864   (empty) 
Created on 20020201    
Customizing Attributes _ISPSFM_N_FMCCA   Define Check Libraries for Budget Addresses 
Customizing Activity _ISPSFM_N_FMCCA   Define Check Libraries for Budget Addresses 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name _ISPSFM_N_FMCCA    

Note:
The settings affected here are exclusively reserved for the use of the Budget Control System (BCS).

Use

In this IMG activity, you define check libraries for budget addresses.

During consistency checks of budget addresses, budget amounts entered in budget entry documents are evaluated with the budget already posted. Note that this form of consistency check affects system performance because the database entries are accessed each time an entry document is saved for each budget address.

A check library contains consistency checks that you can define as check rules for budget values. If a check rule is not complied with, a message is issued. You can also set which system message is issued if errors occur for a check rule. If the message class Error is set, a budget posting can be prevented.

Once check libraries are defined, they can be used for all FM areas. You can define the FM area currency required in the header data of a check library.

Rule Definition

You can define a sequence of individual rules for each check library, that are carried out one after the other during the consistency check. Rules are subdivided into three parts:

  • Prerequisite

    You define which budget documents should be checked according to this rule. You define a formula using the formula editor for the budget documents that should be included in the consistency check. If you do not define a formula, the consistency check takes place for each budget posting. For more information, see Formula Builder.

  • Check Rule

    In this step, you define the rule to be checked. You define a formula between the amounts of two operands using an operator ( > ; = ; <...). Two key figures or one key figure can be checked against a fixed value. If you select the operator "=" you can also define a tolerance value.

  • Messages

    An error message is issued if the check of a rule is not complied with. You can define which error message is issued in this section. For this purpose, you must already have created a customer-defined message class containing the corresponding messages.

    Message Variables:
    The message control youdefine here also supports the use of message variables. You can transfer the specific data on inconsistencies (e.g. which FM account assignment is affected) to the respective error message to be issued via the message variable. Up to four message variables can be transferred for each message, provided that the selected message also contains the same number of variables. In the case of an error, the selected messages are filled dynamically with the corresponding values and facilitate the reproduction of the error.

    Error messages are forwarded to the Application log.

Requirements

  • Key Figure for Consistency Check

    You have defined the key figures that you want to use for the check rules in Customizing of Funds Management under Define Key Figures.

    Note that you must have checkmarked the key figures for the category consistency check. If a key figure is not assigned to the category consistency check, the definition of the check rule is not displayed in the F4 selection.

  • Messages for Consistency Check

    You have selected the system messages you want to issue if errors occur. You define a message class and the system messages contained in it in the SAP Easy Access Menu under Tools -> ABAP Workbench -> Development -> Programming Environment -> Messages.

Standard settings

SAP delivers a sample check library with a predefined check rule for the consistency check on budget entry documents and for budget account assignments. You can use these as a template for your own check libraries.

SAP delivers a selection of message variables that you can call in the Message Variables field via F4 input help.

Activities

  1. Create a library by selecting Create and entering the key of the library in the dialog box Create New Library. Define a suitable description for the check library and a currency that applies to all other numeric values and save your entries. The new library is displayed in the selection frame on the left.
  2. Create a rule in the library by selecting the library, choosing Create and entering the library key in the dialog box Create New Check Rule. Define a suitable description for the check rule, then save your entries.

    The new check rule is displayed in the selection frame on the left under the library.

  3. Expand the structure of the library in the selection frame on the left and the rule assigned under it, then double click on Prerequisite. Create a formula using the formula editor. The budget documents to be checked are selected using this formula. Save your entries.
  4. Double click on Check in the selection frame on the left. Select a suitable key figure for the left operand using F4, then define the check to be carried out for the right operand using an operator (< ; = ; > ...). You can also select a key figure as a right operand, or enter a constant value.
  5. Double click on Message in the left selection frame. Enter the message class and the message number, then create a message type. Save your entries.

If you want to use the check library defined for the consistency check, define the appropriate settings in the IMG activity Assign Budget Address Check Libraries.

Example

In the Budget Control System, by default you are allowed to post negative budget. The indicator Negative Budget in the master record of commitment items is not relevant in BCS. If you want to prevent negative budget occurring on a budget account assignment when budget is entered or updated (returns, transfers, carryforwards), define a corresponding consistency check. In the following check rule, the posting of negative budget values is checked for each budget type.

  1. Formula for prerequisite: Workflow Status of a Data Record in Budget Totals Table = 'P'
  2. Formula for check rule: Key Figure Current Budget for each Budget Type >= 0
  3. Example of an error message: Current Budget must be greater than or equal to 0.

This example is available as a sample (check rule 0000002 in check library 0000002).

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG _ISPSFM_N_FMCCA 0 ALN0000195 Budgeting 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
FMCC_LIBRARIES T - Individual transaction object FMCCA  
History
Last changed by/on SAP  20020328 
SAP Release Created in 110