Hierarchy

⤷

⤷

IMG Activity
ID | PBC_FTE_0420 | Define Error Code |
Transaction Code | S_ALN_01002207 | (empty) |
Created on | 20030408 | |
Customizing Attributes | PBC_FTE_0010 | General Settings |
Customizing Activity | PBC_FTE_0420 | Define Error Code |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | PBC_FTE_0420 |
Use
Financing rules map the relationship between budget structure elements and positions/persons from the pay scale valuation perspective.
Since this relationship can be extremely varied, Customizing for Position Budgeting and Control provides different IMG activites that help you to create financing rules.
If, when a budget structure element is filled by a position/person, you wish the program to check whether the relevant financing rule was adhered to and to issue a message if the rule is violated, you have to assign this message to the financing rule. You can work with error codes or store the message directly in the implementation of the BAdI for checking the financing rules. Using error codes has the advantage that you simply have to define the error code as a return value in the implementation. This ensures that a specific rule violation always generates the same error message.
If you work with error codes, you have the following possibilities:
- You define an error code in this IMG activity and assign an error message to it.
- You define an error code - also in this IMG activity - without assigning an error message to it. In this case, the system generates an error message from the available data of the error code. You should only use generated error messages in exceptional cases, since they needlessly complicate the evaluation of the financing rule check.
Requirements
To depict financing rules that the system can check, you have implement the Business Add-In (BAdI) for checking the financing rules when a budget structure element is filled by a position/person. For further information, see BAdI: Check of Financing Rules.
Standard settings
SAP does not deliver any error codes.
Activities
To define an error code, proceed as follows:
- Select a key (8 digits maximum) for the code.
- Enter a name.
- Assign a (default) error category, which you have already defined in the IMG activity Define Error Category, to the error code.
- Assign a (default) error message to the error code.
The default error category and the default error message are evaluated in the standard implementation of the BAdI: Postprocessing of Check Results.
Example
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 |
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 |
V_HRFPM_ERRCODE | V - View | SM30 |
History
Last changed by/on | SAP | 20031120 |
SAP Release Created in | 200 |