Hierarchy
⤷ EHS-SAF (Application Component) Product Safety
⤷ CBUI (Package) Company Environment Information System
IMG Activity
ID | EHS_SR_230_10_7 | Specify Parameter Hierarchies |
Transaction Code | S_SH8_72000865 | IMG Activity: EHS_SR_230_10_7 |
Created on | 20001013 | |
Customizing Attributes | EHS_SR_230_10_7 | Specify Parameter Hierarchies |
Customizing Activity | EHS_SR_230_10_7 | Specify Parameter Hierarchies |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | EHS_SR_230_10_7 |
Use
In this IMG activity, you create parameter hierarchies in order to define the structural interdependencies between parameter objects that you require.
You assign a report symbol group to the parameter hierarchy. The report symbol group must have been defined in the IMG activity Specify Report Symbol Groups.
Note:
The report symbol group is used to assign:
- The function module for default parameter determination to the hierarchy
In this way, symbols and repeating groups can be transferred from the structure file to the appropriate determination functions for the default parameters.
- The corresponding report application to the hierarchy
Assignment to the report application is necessary so that before default parameter determination is called in the report information system, the keys for the application objects can be queried that are required for parameter object selection in the function module for default parameter determination.
You define the parameter hierarchy by specifying the parent object for each parameter object. The following constellations are possible:
- A parameter object is the parent parameter object for several parameter objects.
- A parameter object has several parent parameter objects.
- A parameter object is its own parent parameter object either directly or indirectly.
Object 1 <--- <----- a: indirectly (1 -> 2 -> 1)
| | | b: directly (1 -> 1)
Object 2 <----- |
| | |
Object 1 ----- -----
a b
Example for case b: In the Industrial Hygiene and Safety component, you can structure hierarchies between work areas that are directly assigned under one another:
Work area
| |
Agent Work area
| |
Agent Work area
Example
Definition of parameter hierarchy ORDERLIST (order list):
Object Description Parent Object Start Object
ORDER (Order) X
ITEM (Item) ORDER
SCHED_LINE (Schedule line) ITEM
This definition means the following hierarchy tree will appear in the symbol tree for symbols of the type Parameter under the Parameter Hierarchies node in the Windows Wordprocessor Integration (WWI) application:
Parameter Hierarchies
--Order list
--Order
--Item
--Schedule line
In the report template, you can use the hierarchy tree to create the necessary parameter repeating groups, for example:
<11BRG002(P,ORDERLIST-ORDER;*)>
<02EHS_ORDNR(;*)> ;Order number
<02EHS_PO_NR(;*)> ;Purchase order number
<11BRG001(P,ORDERLIST-ITEM;*)
<02EHS_ITEMNR(;*)> ;Item number
<02EHS_MATNR(;*)> ;Material number
<11BRG000(P,ORDERLIST-SCHED_LINE;*)>
<02EHS_ETNR(;*)> ;Schedule line number
<02EHS_BMENG(;*)> ;Quantity confirmed by
;schedule line
<11ERG000(P,ORDERLIST-SCHED_LINE)>
<11ERG001(P,ORDERLIST-ITEM)>
<11ERG002(P,ORDERLIST-ORDER)>
Notes:
- Only the repeating group that belongs to the start object may be used as the most outer repeating group.
- The Parameter hierarchy-parameter object symbol must be specified explicitly for the end of repeating group ("*ERG*") of type Parameter for the control symbols. This is an exception compared with all other types of repeating groups for which the control symbols "<11ERG00*>" at the end of the repeating group suffice.
The function module for default parameter determination is found because of the assignment between the parameter hierarchy and the report symbol group. Within the function module, a table must be created in which the values and structural interdependencies are stored.
The symbols from the example above are then expanded as follows, for example, in generation:
Order: 4711
Purchase order number: 0020201
Item: 10
Material number: COLOUR_10
Schedule line: 1
Confirmed quantity: 50L
Schedule line: 2
Confirmed quantity: 40L
Item: 20
Material number: COLOUR_20
Schedule line: 1
Confirmed quantity: 100
Order: 4712
Purchase order number: 020202
Item: 10
Material number: COLOUR_20
Schedule line: 1
Confirmed quantity: 30L
Schedule line: 2
Confirmed quantity: 30L
Schedule line: 3
Confirmed quantity: 30L
You can use the following columns in the table to store the structural dependencies for each value:
- PARHIER (Parameter hierarchy)
- PAROBJ (Parameter object)
- PAROBJ-KEY(Key of parameter object)
- PAROBJPAR (Parent of parameter object)
- PAROBJ-PARKEY (Key of parent parameter object)
- REC (Nesting depth)
Notes:
The table contains other fields (value category, for example) that you can use to specify values.
For the above example of parameter hierarchy order list, the table for the structural dependencies of each value is as follows (the nesting depth in this example is zero):
Parameter Hierarchy ParObj. Key ParentObj. Key
Order no. ORDERLIST ORDER 4711
Value: 4711
PurOrdNo. ORDERLIST ORDER 4711
Value: 020201
Order no. ORDERLIST ORDER 4712
Value: 4712
PurOrdNo. ORDERLIST ORDER 4712
Value: 020202
Item ORDERLIST ITEM 471110 ORDER 4711
Value: 10
Mat. no. ORDERLIST ITEM 471110 ORDER 4711
Value: COLOUR_10
PurOrdNo. ORDERLIST ITEM 471120 ORDER 4711
Value: 20
Mat. no. ORDERLIST ITEM 471120 ORDER 4711
Value: COLOUR_20
PurOrdNo. ORDERLIST ITEM 471210 ORDER 4712
Value: 10
Mat. no. ORDERLIST ITEM 471210 ORDER 4712
Value: COLOUR_20
SLineNo. ORDERLIST SCHED_LINE 4711101 ITEM 471110
Value: 1
Conf.Qty ORDERLIST SCHED_LINE 4711101 ITEM 471110
Value: 50L
SLineNo. ORDERLIST SCHED_LINE 4711102 ITEM 471110
Value: 3
Conf.Qty ORDERLIST SCHED_LINE 4711102 ITEM 471110
Value: 40L
SLineNo. ORDERLIST SCHED_LINE 4711201 ITEM 471120
Value: 1
Conf.Qty ORDERLIST SCHED_LINE 4711201 ITEM 471120
Value: 100L
SLineNo. ORDERLIST SCHED_LINE 4712101 ITEM 471210
Value: 1
Conf.Qty ORDERLIST &
Business Attributes
ASAP Roadmap ID | 203 | Establish Master Data |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 1 | 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 | EHS_SR_230_10_7 | 0 | ALR0000062 | Report Definition |
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 |
VC_TCGP3 | C - View cluster | SM34 | EHS_01 | Definition of Parameter Hierarchies |
History
Last changed by/on | SAP | 20010320 |
SAP Release Created in |