SAP ABAP IMG Activity _ISPSFM_N_FMCCD (Define Check Libraries for Budget Entry Documents)
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_FMCCD Define Check Libraries for Budget Entry Documents  
Transaction Code S_ALN_01000863   (empty) 
Created on 20020201    
Customizing Attributes _ISPSFM_N_FMCCD   Define Check Libraries for Budget Entry Documents 
Customizing Activity _ISPSFM_N_FMCCD   Define Check Libraries for Budget Entry Documents 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name _ISPSFM_N_FMCCD    

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 entry documents. The check libraries for budget entry documents contain check rules. The consistency of the budget amounts in documents is checked in accordance with these rules. The consistency checks are always carried out when you try to save an entry document.

Aggregation of FM Account Assignments

You define which FM account assignment elements should undergo a consistency check for each check rule. For this purpose, you exclude all FM account assignments that are not relevant for the check using aggregation. You define this setting in the header data of a check rule in the screen area Aggregation.

For example, in budget transfers, you can check whether the amount transfer postings from sender to receiver are carried out for each fund. In this case you set the aggregation indicator for all FM account assignments that are not to be checked except for the fund.

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. You can also define an aggregation of an account assignment in the screen area Aggregation. 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.
  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

You want to ensure that the budget transfers are cleared in a fund. You define this in a check rule as follows:

  1. Define the aggregation of all account assignment elements, except for funds to be evaluated.
  2. Formula for prerequisite: ' '
  3. (If you do not enter a formula, this check rule takes place for all budget postings)
  4. Formula for check rule: Key Figure Balance from Transfer (Total)= 0
  5. If the check rule is not adhered to, the posting is prevented with an error message.
  6. The example is available as a sample (check rule 0000001 of check library 0000001) for budget entry documents.
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_FMCCD 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 FMCCD  
History
Last changed by/on SAP  20020328 
SAP Release Created in 110