Documente Academic
Documente Profesional
Documente Cultură
by Maria Nikolova, SAP Senior Expert, National Electricity Company April 15, 2008 Share | You can assign formulas and logical statements to validations and substitutions in Asset Accounting via Formula Editor. You can control the view of this tool by a standard user-specific parameter.
Key Concept
You can maintain substitutions for mass changes to assets via transaction code SM30 (maintain table views), table view V_T093SB_2 (change view substitution in bulk changes), or directly via transaction code OA02 (substitution: mass changes to assets). To have access to maintain data via OA02, you need the following authorizations:
Authorization object S_TABU_DIS field ACTVT: 01 (create), 02 (change), 03 (display), and field DICBERCLS: AS (this value is for the authorization group; it is defined by SAP for maintenance of table view V_T093SB_2). You can define authorization groups based on your own needs. Typically they are authorization objects combined with an activity.
Every person who uses Formula Editor for creating a business logic in Asset Accounting (FI-AA) substitutions and validations should be familiar with the user-specific parameter that controls the view of Formula Editor. It allows you to enter formulas by using the available mathematical functions. It is a standard R/3 tool and you do not need to know any ABAP coding to apply business logic to data records. This article applies to R/3 4.6C and higher.
Note
Be careful when entering business logic to substitutions and validations. Substitution is a process of replacing values and validation is a process of defining your own individual checks for specific fields when the system processes a business transaction. Substitution occurs before the system writes data to the database. Substitutions are valid for different application areas, including FI-AA, Cost Accounting, FI, Special Purpose Ledger, and Profit Center Accounting. For more information about substitutions, refer to the SDN guide, Enhancement Technique: How to Use Substitutions, available at www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/707439da-ead9-2910-5c97-af6ca0b6fbb1. For more information about validations, refer to the SDN guide, Enhancement Technique: How-To-Guide on the usage of Validations, available at www.sdn.sap.com/irj/ sdn/go/portal/prtroot/docs/library/ uuid/c0bc693c-76d8-2910-fd81e891248a02c5. Ill describe four cases for the user-specific parameter GBD (validation: user-specific customizing). The choice you make for the parameter is often a matter of preference, and Ill discuss those in the beginning of each section. The four cases are:
GBD = D (D stands for description) GBD = T (T stands for technical names) GBD = E (E stands for expert mode) GBD = (no value)
You can set the value of parameter ID GBD via transaction codes SU2, SU3 (menu path from every SAP screen: System>User profile>Own data), or SU01 (user maintenance transaction code available for user administrators). Figure 1 provides a screen for editing user-specific parameters via transaction code SU3.
Figure 1
A similar transaction code for changing the records of a user profile is SU2. You can see some differences between SU2 and SU3 in Table 1.
Transaction code
SU2
Tabs
Address Parameter Address
Mode
Display Change Change (but without email address) Change Change
SU3
Defaults Parameters
Table 1
There is an icon circled in Figure 2 that switches from the description mode to technical names mode of the table display. This does not pass to the field in which you enter the business logic.
Figure 2
Change prerequisite screen for user parameter GBD=D (transaction code OA02)
Figure 3
Change prerequisite screen for user parameter GBD=T (transaction code OA02)
Figure 4
Change prerequisite screen for user parameter GBD=E (transaction code OA02)
Parameter ID
Value Description
Action
You can call up an operand. User-defined text entry is not supported. You cannot upload from or download to a local file. You can call up an operand. User-defined text entry is not supported. You cannot upload from or download to a local file You cannot call up an operand. Only user-defined text entry is supported. You can upload from or download to a local
GBD
Description
GBD
Technical names
GBD
Expert mode
file. GBD n/a You can call up an operand. User-defined text entry is not supported. You cannot upload from or download to a local file.
Table 2
Case
Table 3
Note
The standard SAP single authorization role SAP_FI_AA_ASSET_ENVIRONMENT (worklist and tools in FI-AA) includes transaction code OA02. SAP_FI_AA_ASSET_ENVIRONMENT might help the security administrator if he wants to grant this access to a specific user or to a specific user group. The authorization administrators usually check the transactions in which SAP standard roles are included.