SAP ABAP IMG Activity IHS_MD_SYMBOL_FIELD (Create Symbols for Table Fields)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   EHS-IHS (Application Component) Industrial Hygiene and Safety
     CBIH (Package) EH&S: Industrial Hygiene and Safety
IMG Activity
ID IHS_MD_SYMBOL_FIELD Create Symbols for Table Fields  
Transaction Code S_SH8_84000402   (empty) 
Created on 20011210    
Customizing Attributes IHS_MD_SYMBOL_FIELD   Create Symbols for Table Fields 
Customizing Activity    
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name IHS_MD_SYMBOL_FIELD    

Use

If you want to insert in a report template a new symbol that relates to a table field, you must create a parameter determination function module for the symbol first and create a symbol group assigned to this module. You then either create the symbol manually or let the system generate it. You then insert it in the report template.

The steps required to do this are described below. The description is valid for all report applications in Industrial Hygiene and Safety. For more information about the report applications, see Check Product Safety Settings.

The examples listed refer to the sample templates for report applications included with the standard system. The same applies, however, to all other industrial hygiene and safety reports, such as accident notifications.

Activities

Step 1: Create parameter determination module

The standard system contains copy templates. Examples of these are:

Function module    Report application

C12N_DEFAULT_PARAM_WORKAREA    Work area

C12N_DEFAULT_PARAM_INCAFFPERS    Accident victim

C12N_DEFAULT_PARAM_FIRSTAIDLOG    Injury/illness log

C12N_DEFAULT_PARAM_IALOGHEAD    Incident/accident log

The interfaces of the parameter determination modules are predefined in the C12N_DUMMY_DEFAULT_PARAM function. This function contains the following tables:

  • Import table I_CVDDP_TAB_STRUCTURE CVDDP
  • Export table E_CVDDP_TAB_STRUCTURE CVDDP

The import table contains the following entries depending on the report application: Examples

With the export table E_CVDDP_TAB, the values of the symbols that are read or calculated in the determination module are returned. Here, the connection between a symbol and an entry in the export table is established via the fields E_CVDDP_TAB-OBJECT and E_CVDDP_TAB-ATTRIB of the export table. The following relationship applies:

Field for Symbol    Corresponds With    Field in Export Table

Table name        E_CVDDP_TAB-OBJECT

Field name        E_CVDDP_TAB-ATTRIB

Example for Entries in the Export Table

In the parameter determination module you read out the plant for the work area. In this example, the value of the plant is 0001. You output the plant as an entry from the export table E_CVDDP_TAB as follows:

Table Field    Value    Remark

E_CVDDP_TAB-OBJECT    CCIHT_WAH    Table name/structure

E_CVDDP_TAB-ATTRIB    WAPLANT    Field name

E_CVDDP_TAB-VALUE    0001    Value of the field

E_CVDDP_TAB-REPPARAFLG    X    Report parameter is always 'X'

When you create the corresponding symbol, you must then enter the value CCIHT_WAH under table name and the value WAPLANT under field name. You make this setting in Customizing for Basic Data and Tools under Check and Specify Report Symbols.

Example of a Parameter Determination Module Parameter Determination Module for the Standard Operating Procedure

Step 2: Create symbol group

  1. In Customizing for Basic Data and Tools, call the IMG activity Specify Report Symbol Groups.
  2. Create the symbol group. You can copy the symbol group 10 to do this.
  3. The symbol group must contain the following information:
    • Symbol expansion funct. module: C12O_PARAMETER_VALUES_SELECT
    • This applies for all report applications in Industrial Hygiene and Safety.
    • Foreign key - function module: Enter the parameter determination module.
    • In the example this is the function module Z_DEFAULT_PARAM_WORKAREA.
    • Report application: Enter the report application for the symbol group, for example, work area (WORKAREA) for the standard operating procedure.

Step 3: Create symbol manually (as an alternative to generating, see below)

  1. In Customizing for Basic Data and Tools, call the IMG activity Check and Specify Report Symbols.
  2. Create the new symbol in accordance with the following regulation:
    • Report symbol type: 02 (parameter symbol)
    • Symbol group: Enter the newly created symbol group.
    • Access key parameter: TABLES
    • Table name: Specify the table or structure that you output in the corresponding line of the export table E_CVDDP_TAB of the parameter determination module in the OBJECT field. For the example named above, this is the table CCIHT_WAH.
    • Field name: Specify the field that you output in the corresponding line of the export table E_CVDDP_TAB of the parameter determination module in the ATTRIB field. In the example above, this is the field WAPLANT.
    • Expansion time: 20 (expand in report)
  3. Leave all other entry fields blank.

Step 3: Generate symbol (as an alternative to creating manually)

If you want to create a number of symbols, you can generate them with the help of the system.

  1. Create a new customer structure in the DDIC (such as ZMY_STRUC).
  2. In this structure enter the fields and their data elements for which you want to generate new symbols. Make sure that the parameter determination module from step 1 handles the expansion for all fields in your structure.
  3. Enter your structure in Customizing for Basic Data and Tools in the IMG activity Specify Tables for Report Symbol Generation with the following parameters:
    • Source type: Application: table
    • Generation source: Name of your structure, for example, ZMY_STRUC
    • Class type: Leave blank
    • Expansion time: Symbol value is application-dependent (expand in report)
    • Generation scope: Generate all elements of object
    • Rep. sym. group: Enter the symbol group you created in step 2.

      Note:

    • You can restrict generation so that certain fields from your structure are left out (see Specify Tables for Report Symbol Generation).
  4. From the SAP Easy Access menu, call the symbol matchup by choosing Environment, Health and Safety -> Basic Data and Tools -> Tools -> Match Up Master Data.
  5. Set the Generate symbols indicator and choose Execute.

    Once the process is finished, a result log is displayed.

Step 4: Insert symbol in report template

See under Create Symbols for Characteristics.

Notes on Creating the Report

Reports of the work area report application (WORKAREA) that refer to an agent must be created in an earlier step as a report body. This step is not required if you set the Generate manual requests automatically in the generation variant.

For exposure-related standard operating procedures, you must also have assigned the respective agent to the work area in the exposure profile.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 1   Mandatory 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 IHS_MD_SYMBOL_FIELD 0 SH10000016 O  
SIMG IHS_MD_SYMBOL_FIELD 1 SH10000011 O  
SIMG IHS_MD_SYMBOL_FIELD 2 SH10000009 Incident/Accident Management 
Maintenance Objects
Maintenance object type    
History
Last changed by/on SAP  20020205 
SAP Release Created in