Skip to Content

Why standard processing methods?

You can control the data output in reports with processing methods by means of transaction Edit Report Templates (CG42) under Basic Data and Tools (EHS-BD) -> Report Definition (EHS-BD-RDF). These methods are used in conjunction with report symbols whose content can only be output in certain cases.

USE

Processing methods are created as function modules and assigned to the relevant report symbols:

In the Customizing activity Check and Specify Report Symbols, specify the expansion method in the Expansion Parameters for a Report Symbol selection field. In the Expansion Value for a Report Symbol field, specify the name of the expansion method.

When editing a report template (transaction CG42), open the Symbol tab page and select the Expansion Mode NM check box for the report symbol. Enter the relevant processing method in the Method field.


The processing methods delivered in the standard system are available:

  • Filtering Value Assignment Instances
  • Outputting Hazard Statements on the EU Safety Data Sheet.
  • Generic Stack Function
  • Integrating Dangerous Goods Data into the Safety Data Sheet (Section 14)
  • Converting Units of Measurement \
  • Suppressing Multiple Output of Graphics
  • Outputting Risk Phrases on the EU Safety Data Sheet.
  • Outputting Risk Phrases on the EU Safety Data Sheet-Standard
  • Trade Secret: Outputting Identifiers Based on Component Types
  • Converting U.S. Telephone Numbers
  • User Exit Repeating Group ANTI_S_POS

1) Filtering Value Assignment Instances:

You can use this function to filter the output of values from value assignment instances to a report according to certain criteria:

Example:

if the value assignment for a substance contains multiple value assignment instances with different regulations such as OSHA, CA Prop 65, and IARC, only one particular regulation, such as OSHA, is to be output on the report. The value assignment instances are filtered by regulation OSHA in this case. The following processing methods are available

Processing Method

Function

C14N_FILT_SSEQ_PAT_ALL

Filters all value assignment instances and compares their characteristic values as patterns. All value assignment instances that fulfill the filter criteria are output.

C14N_FILT_SSEQ_PHR_ALL

Filters all value assignment instances and compares their phrase codes. All value assignment instances that fulfill the filter criteria are output.

C14N_FILT_SSEQ_PHR_1ST

Filters all value assignment instances and compares their phrase codes. The first value assignment instance that fulfills the filter criteria is output.

C14N_FILT_SSEQ_PHR_DEFAULT

If a value assignment instance with the relevant phrase code was determined, no value is output.

C14N_FILT_SSEQ_PHRC_ALL

Filters all value assignment instances and compares their phrase codes. All value assignment instances that fulfill the filter criteria are output.

C14N_FILT_SSEQ_PHRC_1ST

Filters all value assignment instances and compares their phrase codes. The first value assignment instance that fulfills the filter criteria is output

C14N_FILT_SSEQ_PHRC_DEFAULT

If a value assignment instance with the relevant phrase code was determined, no value is output.

Report Templates: Example 1

<11BRG005(M,SAP_EHS_1023_026;*)>

<13BNG064(+:01ZFIL2CA65(M:C14N_FILT_SSEQ_ALL))>

<11BRG006(S:POS;*)>

<11ERG006>

<13ENG064>

<11ERG005>

The processing methods are nested in a blank compression. The report symbol ZFIL2CA65 is used with processing method C14N_FILT_SSEQ_ALL as the control a symbol.

Report Templates: Example 2

<11BRG005(M,SAP_EHS_1023_026;*)>

<13BNG064(+:01ZFIL2CA65(M:C14N_FILT_SSEQ_1ST))>

<11BRG006(S:POS;*)>

<11ERG006>

<13ENG064>

<11ERG005>

<13BNG003(+:01ZFIL2DEFLT(M:C14N_FILT_SSEQ_DEFAULT))>

<13ENG003>

If the processing method *_1ST is nested in a blank compression, no alternative to the blank compression can be used. Since the blank compression in the example is within a master group, the alternative to the blank compression is called for each value assignment instance. No value assignment instances are filtered in this case.

If the blank compression is outside a master group, only the first value assignment instance is taken into account by processing  method *_1ST. A second blank  expression with the processing method *_DEFAULT is therefore called after the blank compression with the processing method *_1ST. The processing method *_1ST that is nested in the blank compression must be called in a master group.

Maintaining Specification Data

Depending on the selected filter criteria specified in the Customizing activity Specify Environment Parameters, corresponding values must exist in the value assignment types and the corresponding characteristics in the specification workbench. So if the regulatory list CA PROP 65 is specified as the filter criteria in the environment parameter, this regulatory list must also be specified as the characteristic value in the specification.

Example:

Value assignment type: Health (SAP_EHS_1023_026)

Characteristic: Regulatory List (SAP_EHS_1023_026_BASE)

Characteristic value: CA PROP 65 (specified in the Customizing activity Specify Regulatory Lists).

2) Outputting Hazard Statements on the EU Safety Data Sheet.

Provides processing methods that allow you to output the wording for the hazard statements listed in sections 2 and 3 of the European safety data sheet in section 16. This involves a duplicate check, which means that if a hazard statement appears in both sections 2 and section 3, the wording for this hazard statement is output just once in section 16.

Processing method

Function

C14N_MSDSEU_HSTAT_PROVIDE

Prepares the hazard statements collected for the data output in section 16:

Duplicates and phrases with a phrase code that does not start with H or EUH

are deleted. The phrases specified for the hazard statements are sorted by

phrase code in ascending order.

C14N_MSDSEU_HSTAT_PROVIDEC

Outputs the phrase code.

C14N_MSDSEU_HSTAT_PROVIDET

Outputs the wording for the hazard statement (phrase text)

C14N_MSDSEU_HSTAT_CHECK

check whether

risk phrases were collected

<11BRG001(M,SAP_EHS_1012_004;*)>

<11BRG002(S:POS;*)>

<13BNG003(+:01GESTRSUBID)>

<11BRG004(M,SAP_EHS_1023_043;*)>

<13BNG005(*:01G1023043HS(C))>

<11BRG006(D;*)>

<01G1023043HS(C;*)><01G1023043HS(M:C14N_MSDSEU_HSTAT_COLLECT;*)>

<11ERG006>

<13ENG005>

<11ERG004>

<13ENG003>

<11ERG002>

<11ERG001>

Example 2

<11BRG007(M,SAP_EHS_1023_043;*)>

<13BNG008(+:01G1023043HS)>

<11BRG009(D;*)>

<01G1023043HS(C;*)><01G1023043HS(M:C14N_MSDSEU_HSTAT_COLLECT;*)>

<11ERG009>

<13ENG008>

<11ERG007>

3) Generic Stack Function

This solution package provides processing methods that can be used to store and process data on a generic stack during report generation

This function is particularly useful if the data output in a report is dependent on a value in a specific characteristic, but it is not possible to access this value at a particular location in the report template. The generic stack function allows these values to be buffered so that the data output at another location in the report template can be influenced using a blank compression. The generic stack function can also be used to check whether data is specified for a characteristic.

This solution package also contains sort functions that can be used to sort tthe values stored in a stack in ascending or descending order.

Processing Method

Function

C14N_SYMBOL_STACK_PUSH

A new value is placed on the stack from the report symbol and existing values on the stack are “pushed down”.

C14N_SYMBOL_STACK_TOP

The value on the top of the stack is read and returned. The previously determined value of the report symbol is replaced. If the stack is empty, no value is returned

C14N_SYMBOL_STACK_EQUAL

The two values on the top of the stack are compared with one another. If the values are the same, the character string EQUAL is returned. If the

values are not the same, a blank is returned.

C14N_SYMBOL_STACK_PUSHX

If no value or a blank was determined for the report symbol when placing a value on the stack, the value X is placed on the stack

C14N_SYMBOL_STACK_SORT_ASC

The values placed on the stack are sorted in ascending order

C14N_SYMBOL_STACK_SORT_DESC

The values placed on the stack are sorted in descending order

C14N_SYMBOL_STACK_POP

The value on the top of the stack is deleted.

C14N_SYMBOL_STACK_SIZE

Determines the number of values stored on the stack. If the stack does not contain any values, no value or a blank is returned

Example of conditional output with the generic stack function:

<01GESTRCRDAT(M:C14N_SYMBOL_STACK_NEW)>

<01GESTRCRDAT(M:C14N_SYMBOL_STACK_PUSH)>

<11BRG000(M,SAP_EHS_1012_001;*)>

<11BRG001(S:POS;*)>

<01GESTRSUBID[D:Specification]>

<01GESTRCRDAT(M:C14N_SYMBOL_STACK_POP)>

<11ERG001>

<11ERG000>

<13BNG002(*:01GESTRCRDAT(M:C14N_SYMBOL_STACK_TOP))>

<13ENG002>

Example of the sort function: A value is output and also placed on the generic stack.

<01G1013005VA(M:C14N_SYMBOL_STACK_NEW)>

<11BRG004(M,SAP_EHS_1013_005;*)>

<01G1013005VA(;1)>

<01G1013005VA(M:C14N_SYMBOL_STACK_PUSH;1)>

<11ERG004>

Example of the comparison function EQUAL in the generic stack.

     The values of the characteristic Temperature, which is assigned to the value assignment types Density and Relative Density, are only to be output in the report if the characteristic values in both value assignment types are the same. This requires an additional symbol that can be used to place the values of both characteristics on the same stack. If the report symbols G1013005ET (Temperature characteristic in the value assignment type Density) and G1013006ET (Temperature characteristic in the value assignment type Relative Density) were used, both values would be placed in different stacks. Since the name of the stack is made up of the report symbol name without the first character (such as 1013006ET), both report symbols whose values are to be placed on the same stack must have the same name with the exception of the first character. The name of the stack in this case is 1013006ET. In the Customizing activity Check and Specify Report Symbols, you can define new report symbols. You must specify values for the following fields:

The current value of report symbol G1013006ET (“Temperature” characteristic in the value assignment type “Relative Density”) is placed on the stack.

<01G1013006ET(M:C14N_SYMBOL_STACK_NEW)>

<11BRG008(M,SAP_EHS_1013_006;1)>

<01G1013006ET>

<01G1013006ET(M:C14N_SYMBOL_STACK_PUSH)>

<11ERG008>

The current value of report symbol Z1013006ET (“Temperature” characteristic in the value assignment type “Density”) is placed on the same stack as report symbol G1013006ET

<11BRG008(M,SAP_EHS_1013_005;1)>

<01Z1013006ET>

<01Z1013006ET(M:C14N_SYMBOL_STACK_PUSH)>

<11ERG008>

<13BNG003(*:01Z1013006ET(M:C14N_SYMBOL_STACK_EQUAL))>

<13CNG003>

4) Integrating Dangerous Goods Data into the Safety Data Sheet

Used to provides processing methods and user exits that you can use to output the relevant dangerous goods data in section 14 of the safety data sheet.

Processing Method

Function

C14N_SYM_CHECK_FOR_YES

This checks, for example, whether the characteristic Transport Permitted of the value assignment type Dangerous Goods Regulations has the value Yes

C14N_SYM_IATA_NAME

Outputs the descriptor IATA in place of the descriptor IATA_C.

C14N_FILT_SSEQ_ALL

Processing method from the Filtering Value Assignment Instances solution package

C14N_SYMBOL_STACK_PUSH

Processing method from the Generic Stack Function solution package

C14N_SYMBOL_STACK_NEW

Processing method from the Generic Stack Function solution package

C14N_SYMBOL_STACK_TOP

Processing method from the Generic Stack Function solution package

User Exit

User Exit Description

CRDGCH14C

All regulations are output from the assigned

CRDGCH14C1

Only the first regulation is output from the assigned regulations.

CRDGCH14C2

All regulations other than the first regulation are output from the assigned regulations

Example 1

Filter by Dangerous Goods Regulations in Transport Classification

User exit CRDGCH14C is called within the S:CLASS repeating group. A parameter is used to specify the regulation used for filtering.

<11BRG006(M,SAP_EHS_1022_023;*)>

<11BRG007(S:CLASS;*;E:CRDGCH14C,ADR)>

<01GESTRSUBID> / <01GEST0LWDG>

<11BRG008(M,SAP_EHS_1022_024;1)>

<13BNG010(+:01GESTRIDENT(T:D_DANGOOD))>

<01GESTRIDENT(T:D_DANGOOD)>

<13ENG010>

<13BNG011(+:01GESTRIDENT(I:NAM,DG,))>

<01GESTRIDENT(I:NAM,DG,)>

<13ENG011>

<11ERG008>

<11ERG007>

<11ERG006>

Example 2

Filter by Dangerous Goods Regulations in Hazard Inducers.

The user exits CRDGCH14C1 and CRDGCH14C2 are called within the S:CLASS repeating group. The parameters for this user exit are used to specify the hazard inducer type for filtering (Hi = hazard inducer , MP = marine pollutant, and RG = reportable quantity) on the report template. In this process, the data in table EST0F (Transport Classification) is accessed. The user exit CRDGCH14C1 outputs the first hazard inducer; user exit CRDGCH14C2 outputs the second and all  additional hazard inducers.

<11BRG113(M,SAP_EHS_1022_032;*)>

<11BRG114(S:CLASS;*;E:CRDGCH14C1,ADR=HI)>

<01GESTRIDENT(I:NAM,HIS,)>

<11ERG114>

<11BRG115(S:CLASS;*;E:CRDGCH14C2,ADR=HI)>

<01GESTRIDENT(I:NAM,HIS,)>

<11ERG115><11ERG113>

Filter by Characteristic Value Transport Permitted = Yes

For a UN listed substance, the characteristic values Transport Permitted = Yes (value = 1) or Transport Permitted = No (value = 0) can be specified in the value assignment type Dangerous Goods Regulations (SAP_EHS_1022_024). The processing method C14N_SYM_CHECK_FOR_YES can be used to select all listed substances with the characteristic value Transport Permitted = Yes. If the value = 1, the processing method returns this value. If the value = 0, a blank (ZERO) is returned.

<11BRG012(M,SAP_EHS_1022_023;*)>

<11BRG013(S:CLASS;*;E:CRDGCH14C,ADR)>

<01GESTRSUBID> / <01GEST0LWDG>

<11BRG015(M,SAP_EHS_1022_024;*)>

<01G1022024D3(K)>

<13BNG016(+:01G1022024D3(M:C14N_SYM_CHECK_FOR_YES))>

<01G1022024LW> [Transport Permitted]

<13CNG016>

<01G1022024LW> [Transport Not Permitted]

<13ENG016>

<11ERG015>

<11ERG013>

<11ERG012>

Output Descriptor IATA in Place of IATA_C

The processing method C14N_SYM_IATA_NAME is used to output the descriptor IATA on the report in place of the descriptor IATA_C that is specified in the system.

Information:

This processing method can be used for all report symbols with which

descriptors of dangerous goods regulations are output on reports.

<11BRG022(M,SAP_EHS_1022_023;*)>

<11BRG023(S:CLASS;*;E:CRDGCH14C,IATA_C)>

<01GESTRSUBID> / <01GEST0LWDG>

<11BRG024(M,SAP_EHS_1022_024;*)>

<01G1022024LW> -> <01G1022024LW(M:C14N_SYM_IATA_NAME)>

<11ERG024><11ERG023><11ERG022>

Dangerous Goods User-Defined Texts

Report symbol EFDG_UADR (filter symbol, value ADR # UDT) can be used to

filter by user-defined texts for regulation ADR in the value assignment

type Dangerous Goods User-Defined Texts.

<11BRG025(M,SAP_EHS_1022_042;*)>

<13BNG026(+:01EFDG_UADR(M:C14N_FILT_SSEQ_ALL),01G1022042TE(P;1))>

<01G1022042TE(P;*)>

<13ENG026>

<11ERG025>

Example for Marine Pollutant Information

The marine pollutant information (if the specification is for a marine pollutant) can be specified in the following value assignment types:

Under Dangerous Goods Regulations (SAP_EHS_1022_024), Marine Pollutant characteristic for UN listed substances

Possible values: P = marine pollutant or PP = severe marine Pollutant

Under Additional Data for Transport (SAP_EHS_1022_029), Marine Pollutant characteristic for dangerous goods classifications or real substances

Possible values: P = marine pollutant or PP = severe marine Pollutant

Under Hazard Inducers (SAP_EHS_1022_032) by means of an entry as a hazard inducer for the hazard inducer type Marine Pollutant for dangerous goods classifications or real substances.

If the marine pollutant information is specified in at least one of the three named value assignment types, the characteristic value Marine Pollutant = Yes is output on the report:

[A.] Value P or PP in the Marine Pollutant characteristic (SAP_EHS_1022_024_MAPOL) for the value assignment type Dangerous Goods Regulations

[B.] Value P or PP in the Marine Pollutant characteristic (SAP_EHS_1022_024_MAPOL) for the value assignment type Additional Data for Transport

[C.] Assignment to hazard inducer type Marine Pollutant 1 or Marine Pollutant 2 in the value assignment type Hazard Inducer (SAP_EHS_1022_032)

[A. The system checks whether marine pollutant information exists in the value assignment type Dangerous Goods Regulations]

<11BRG013(M,SAP_EHS_1022_023;*)>

<11BRG014(S:CLASS;*;E:CRDGCH14C,IMDG)>

<01GESTRSUBID> / <01GEST0LWDG>

<11BRG015(M,SAP_EHS_1022_024;1)>

<11BRG128(G,T:REGION,L:EN;*)>

<13BNG200(*:01EFDG_RMP,01EFDG_RMPP)>

<01GEHSDGMAPL>

<01GESTRSUBID(M:C14N_SYMBOL_STACK_PUSH)>

<13ENG200>

<11ERG128>

<11ERG015>

<11ERG014>

<11ERG013>

[B. The system checks whether marine pollutant information exists in the value assignment type Additional Data for Transport]

<11BRG013(M,SAP_EHS_1022_029;*)>

<01G1022029LW>

<13BNG016(+:01EFDG_TIMDG(M:C14N_FILT_SSEQ_ALL))>

<11BRG128(G,T:REGION,L:EN;*)>

<13BNG200(*:01EFDG_TMP,01EFDG_TMPP)>

<01G1022029MA>

<01GESTRSUBID(M:C14N_SYMBOL_STACK_PUSH)>

<13ENG200>

<11ERG128>

<13ENG016>

<11ERG013>

  1. C. The system checks whether marine pollutant information exists in the value assignment type Hazard Inducers

<11BRG113(M,SAP_EHS_1022_032;*)>

<11BRG114(S:CLASS;*;E:CRDGCH14C1,IMDG=MP)>

<01GESTRSUBID(M:C14N_SYMBOL_STACK_PUSH)>

<11ERG114>

<11ERG113>

<13BNG200(+:01GESTRSUBID(M:C14N_SYMBOL_STACK_TOP))>

<13CNG200>

<13ENG200>

5)Converting Units of Measurement

You can use this solution package to convert units of measurement for values that are output in reports.

The following units of measurement are available in the solution package

Dimension

Unit

Unit of Measurement

Temperature

Fahrenheit

°F

Celsius

°C

Mass

Kilogram

KG

Pound

lb

Pressure

Hectopascal

hPa

Millibar

mbar

Millimeter

mm

Millimeters of mercury

mmHg

Torr

torr

Pound-force per square inch

psi

The following processing methods are available for converting units of measurement

Processing Method

Descriptio

C14N_SYM_MASS_TO_KG

Conversion to kg

C14N_SYM_MASS_TO_LB

Conversion to lb

C14N_SYM_PRESS_TO_HPA

Conversion to hpa

C14N_SYM_PRESS_TO_MBA

Conversion to mbar

C14N_SYM_PRESS_TO_MMHG

Conversion to mmHg

C14N_SYM_PRESS_TO_TOR

Conversion to torr

C14N_SYM_PRESS_TO_PSI

Conversion to PSI

C14N_SYM_TEMP_TO_C

Conversion to °C

C14N_SYM_TEMP_TO_F

Conversion to F

Prerequisites

The units of measurement above must exist in the system. Verify this by checking the settings in the Customizing activity General Settings -> Check Units of Measurement.

The unit of measurement that is to be converted with the processing method must have the same dimension (temperature, mass, or pressure) as the unit of measurement to be converted.

Example:

<11BRG001(M,SAP_EHS_1013_005;*)>

<01G1013005ET(M:C14N_SYM_TEMP_TO_F)[D:Temperature]>

<11ERG001>

  1. 1. Select the report symbol whose value is to be output in the report, for example, <01G1013005ET> (value assignment type Density, report symbol for the characteristic Temperature).
  1. 2. In the Method field, specify the function module for the unit of measurement to which the unit of measurement specified in the specification workbench is to be converted, for example, function module C14N_SYM_TEMP_TO_C for converting the temperature to degrees Celsius.
  1. 3. Choose Insert WWI Object in Template.

6) Suppressing Multiple Output of Graphics.

You can use this solution package to prevent a graphic from being output more than once in reports if it is used in different phrases (for example, the same graphic for the phrases “highly flammable” and “extremely flammable”). The file name of each graphic to be output is saved for this purpose. For each additional data output, the file name of the graphic is compared with the name of the graphic to be output. If the file name of the graphic already exists, the graphic is not output again.

Processing Method

Function

C14N_SYM_DUPL_CHECK_INIT

This initializes the check. The internal memory containing the file name of the graphic to be output is deleted. This allows the check to be initialized again for different value assignment types.

C14N_SYM_DUPL_CHECK

Checks and prevents graphics from being output multiple times

Prerequisites

Graphics must be specified in the phrases.

The report symbol for outputting graphics must have expansion mode G, for example, <01G1023001SY(G;*)[SZ:A]>.

Procedure

Multiple output of graphics is to be prevented within a value assignment  type, which means the check is executed within a value assignment type:

1 ) Select the relevant report symbol for outputting graphics, for example, G1023001SY (report symbol for the characteristic Hazard Symbol).

2)  Enclose the report symbol with the blank compression. Use the relevant report symbol, such as G1023001SY, as the control symbol.

3) Select the control symbol and choose Edit Symbol from Table.

4) In the Method field, enter function module C14N_SYM_DUPL_CHECK.

5) Choose Insert WWI Object in Template.

The symbol <13BNG005(+:01G1023001SY(M:C14N_SYM_DUPL_CHECK;*))> appears on the report template.

For example:

<11BRG003(M,SAP_EHS_1023_001;*)>

<11BRG004(D;*)>

<13BNG005(+:01G1023001SY(M:C14N_SYM_DUPL_CHECK;*))>

<01G1023001SY(G;*)[SZ:A]>

<13ENG005>

<11ERG004>

<11ERG003>

If you want to include multiple value assignment types in the check, you need to initialize the check for each value assignment type. Do this by inserting the report symbol <01GESTRSUBID> with processing method C14N_SYM_DUPL_CHECK_INIT after each check. The symbol <01GESTRSUBID(M:C14N_SYM_DUPL_CHECK_INIT)[D:Specification]> appears on the report template. You can then execute the check in additional value assignment types

Example:

11BRG003(M,SAP_EHS_1023_001;*)>

<11BRG004(D;*)>

<13BNG005(+:01G1023001SY(M:C14N_SYM_DUPL_CHECK;*))>

<01G1023001SY(G;*)[SZ:A]> ;

<13ENG005>

<11ERG004>

<11ERG003>

<01GESTRSUBID(M:C14N_SYM_DUPL_CHECK_INIT)[D:Specification]>

Example

<11BRG012(M,SAP_EHS_1023_094;*)>

<11BRG013(D;*)>

<13BNG014(+:01G1023094SY(M:C14N_SYM_DUPL_CHECK;*))>

<01G1023094SY(G;*)[SZ:A;D:Symbols]> ;

<13ENG014>

<11ERG013>

<11ERG012>

<01GESTRSUBID(M:C14N_SYM_DUPL_CHECK_INIT)[D:Specification]>

7) Outputting Risk Phrases on the EU Safety Data Sheet

This solution package provides processing methods that allow you to output the wording for the risk phrases listed in sections 2 and 3 of the European safety data sheet in section 16. This involves a duplicate check, which means that if a risk phrase appears in both section 2 and section 3, the wording for this risk phrase is output just once in section 16.

Processing Method

Function

C14N_MSDSEU_PHRRCODE_INIT

Initializes the collector for risk phrases (risk phrase collector).

C14N_MSDSEU_PHRRCODE_COLLECT

Collects the risk phrases; a phrase is collected each time this processing

method is called

C14N_MSDSEU_PHRRCODE_CHECK

Checks whether phrases were collected in previous sections. This processing

method can be used to check whether the wording for the risk phrases

collected needs to be output in section 16.

C14N_MSDSEU_PHRRCODE_PROVIDE

Prepares the risk phrases collected for the data output in section 16:

Duplicates and phrases with a phrase code that does not start with R are

  1. deleted. The phrases are sorted by phrase code in ascending order.

C14N_MSDSEU_PHRRCODE_PROVIDEC

Outputs the phrase code

C14N_MSDSEU_PHRRCODE_PROVIDET

Outputs the wording for the phrase (phrase text

Note :

To actually output a phrase, the three processing methods C14N_MSDSEU_PHRRCODE_PHRRCODE, C14N_MSDSEU_PHRRCODE_PROVIDEC, and C14N_MSDSEU_PHRRCODE_PROVIDET must be called for each phrase.

These processing methods must not be confused with the processing methods that start with C14N_MSDSEU_RPHRS*. In other words, the two types of processing methods for collecting phrases must not be combined. o The COLLECT method cannot be used to collect phrases in which a user exit is entered in the phrase header. This means that these phrases are not collected and are therefore not available for outputting.

Initializing collection for risk phrases with processing method C14N_MSDSEU_PHRRCODE_INIT

<01GESTRCRDAT(M:C14N_MSDSEU_PHRRCODE_INIT)> The collector for risk phrases must first be initialized. It is useful to assign processing method C14N_MSDSEU_PHRRCODE_INIT to a generic symbol, such as GESTRCRDAT (creation date). The value of the symbol is not output in the report.

The risk phrases of a section in the European safety data sheet are collected using processing method 14N_MSDSEU_PHRRCODE_COLLECT.

<11BRG001(M,SAP_EHS_1012_004;*)>

<11BRG002(S:POS;*)>

<13BNG003(+:01GESTRSUBID)>

<11BRG004(M,SAP_EHS_1023_004;*)>

<13BNG005(*:01G1023004RP(C))>

<11BRG006(D;*)>

<01G1023004RP(C;*)><01G1023004RP(M:C14N_MSDSEU_PHRRCODE_COLLECT;*)>

<11ERG006>

<13ENG005>

<11ERG004>

<13ENG003>

<11ERG002>

<11ERG001>

Furthermore, the risk phrases for an additional section for the report specification from the value assignment type Hazardous Substance Rating (EU) (SAP_EHS_1023_004) are collected for the previously collected risk phrases for the components of the report specification.

<11BRG007(M,SAP_EHS_1023_004;*)>

<13BNG008(+:01G1023004RP)>

<11BRG009(D;*)>

<01G1023004RP(C;*)><01G1023004RP(M:C14N_MSDSEU_PHRRCODE_COLLECT;*)>

<11ERG009>    

<13ENG008>

<11ERG007>

Processing method C14N_MSDSEU_PHRRCODE_CHECK is used to check

whether risk phrases were collected

If risk phrases were collected in sections 2 and 3, the full wording for these risk phrases are output in section 16. The following phrase is also output in section 16:

<13BNG011(+:01GESTRCRDAT(M:C14N_MSDSEU_PHRRCODE_CHECK))>

<11BRG001(M,SAP_EHS_1012_004;*)>

<11BRG002(S:POS;*)>

<13BNG003(+:01GESTRSUBID)>

<11BRG004(M,SAP_EHS_1023_004;*)>

<11BRG006(D;*)>

<13BNG010(+:01G1023004RP(M:C14N_MSDSEU_PHRRCODE_PROVIDE;*))>

<01G1023004RP(M:C14N_MSDSEU_PHRRCODE_PROVIDEC;*)>:

<01G1023004RP(M:C14N_MSDSEU_PHRRCODE_PROVIDET;*)>

<13ENG010>

<11ERG006>

<11ERG004>

<13ENG003>

<11ERG002>

<11ERG001>

<11BRG007(M,SAP_EHS_1023_004;*)>

<13BNG008(+:01G1023004RP)>

<11BRG009(D;*)>

<13BNG010(+:01G1023004RP(M:C14N_MSDSEU_PHRRCODE_PROVIDE;*))>

<01G1023004RP(M:C14N_MSDSEU_PHRRCODE_PROVIDEC;*)>:

<01G1023004RP(M:C14N_MSDSEU_PHRRCODE_PROVIDET;*)>

<13ENG010>

<11ERG009>

<13ENG008>

<11ERG007>

<13ENG011>

8)Outputting Risk Phrases on the EU Safety Data Sheet (Standard)

You can use this  processing methods that allow you to output the wording for the risk phrases listed in sections 2 and 3 of the European safety data sheet in section 16. This involves a duplicate check, which means that if a risk phrase appears in both section 2 and section 3, the wording for this risk phrase is output just once in section 16.

The following processing methods are available in the solution package:

Process Method

Function

C14N_MSDSEU_RPHRS_INIT

Initializes the collector for risk phrases (risk phrase collector

C14N_MSDSEU_RPHRS_COLLECT

Collects the risk phrases; a phrase is collected each time this processing method is called.

C14N_MSDSEU_RPHRS_CHECK

Checks whether phrases were collected in previous sections. This processing method can be used to check whether the wording for the risk phrases collected needs to be output in section 16.

C14N_MSDSEU_RPHRS_PROVIDE

Prepares the risk phrases collected for the data output in section 16: Duplicates are deleted. The phrases are sorted by phrase code in ascending
order.

C14N_MSDSEU_RPHRS_PROVIDEC

Outputs the phrase code

C14N_MSDSEU_RPHRS_PROVIDET

Outputs the wording for the phrase (phrase text).

Note

To actually output a phrase, the three processing methods C14N_MSDSEU_RPHRS_PROVIDE, C14N_MSDSEU_RPHRS_PROVIDEC, and C14N_MSDSEU_RPHRS_PROVIDET must be called for each phrase. Theseprocessing methods must not be confused with the processing methods that start with C14N_MSDSEU_PHRRCODE*. In other words, the two types of processing methods for collecting phrases must not be combined.

The COLLECT method cannot be usedto collect phrases in which a user exit is entered in the phrase header. This means that these phrases are not collected and are therefore not available for outputting.

The risk phrases of a section in the European safety data sheet are collected using processing method C14N_MSDSEU_RPHRS_COLLECT.

<11BRG001(M,SAP_EHS_1012_004;*)>

<11BRG002(S:POS;*)>

<13BNG003(+:01GESTRSUBID)>

<11BRG004(M,SAP_EHS_1023_004;*)>

<13BNG005(*:01G1023004RP(C))>

<11BRG006(D;*)>

<01G1023004RP(C;*)><01G1023004RP(M:C14N_MSDSEU_RPHRS_COLLECT;*)>

<11ERG006>

<13ENG005>

<11ERG004>

<13ENG003>

<11ERG002>

<11ERG001>

The risk phrases for an additional section for the report specification from the value assignment type Hazardous Substance Rating (EU) (SAP_EHS_1023_004) are collected for the previously collected risk phrases for the components of the report specification.

<11BRG007(M,SAP_EHS_1023_004;*)>

<13BNG008(+:01G1023004RP)>

<11BRG009(D;*)>

<01G1023004RP(C;*)><01G1023004RP(M:C14N_MSDSEU_RPHRS_COLLECT;*)>

<11ERG009>

<13ENG008>

<11ERG007>

Processing method C14N_MSDSEU_RPHRS_CHECK is used to check whether risk phrases were collected..

If risk phrases were collected in sections 2 and 3, the full wording for these risk phrases are output in section 16. The following phrase is also output in section 16:

Full wording for the risk phrases listed in sections 2 and 3

<13BNG011(+:01GESTRCRDAT(M:C14N_MSDSEU_RPHRS_CHECK))>

<11BRG001(M,SAP_EHS_1012_004;*)>

<11BRG002(S:POS;*)>

<13BNG003(+:01GESTRSUBID)>

<11BRG004(M,SAP_EHS_1023_004;*)>

<11BRG006(D;*)>

<13BNG010(+:01G1023004RP(M:C14N_MSDSEU_RPHRS_PROVIDE;*))>

<01G1023004RP(M:C14N_MSDSEU_RPHRS_PROVIDEC;*)>:

<01G1023004RP(M:C14N_MSDSEU_RPHRS_PROVIDET;*)>

<13ENG010>

<11ERG006>

<11ERG004>

<13ENG003>

<11ERG002>

<11ERG001>

<11BRG007(M,SAP_EHS_1023_004;*)>

<13BNG008(+:01G1023004RP)>

<11BRG009(D;*)>

<13BNG010(+:01G1023004RP(M:C14N_MSDSEU_RPHRS_PROVIDE;*))>

<01G1023004RP(M:C14N_MSDSEU_RPHRS_PROVIDEC;*)>:

<01G1023004RP(M:C14N_MSDSEU_RPHRS_PROVIDET;*)>

<13ENG010>

<11ERG009>

<13ENG008>

<11ERG007>

<13ENG011>

Example for Processing method C14N_MSDSEU_RPHRS_START_PROV* can be used to

output risk phrases in an additional language, in this case English (EN).

<11BRG113(G,T:REGION,L:EN;1)>

<13BNG014(*:01GESTRCRDAT(M:C14N_MSDSEU_RPHRS_START_PROV))>

<11BRG001(M,SAP_EHS_1012_004;*)><11BRG002(S:POS;*)>

<13BNG003(+:01GESTRSUBID)>

<11BRG004(M,SAP_EHS_1023_004;*)><11BRG006(D;*)>

<13BNG010(+:01G1023004RP(M:C14N_MSDSEU_RPHRS_PROVIDE;*))>

<01G1023004RP(M:C14N_MSDSEU_RPHRS_PROVIDEC;*)>:

<01G1023004RP(M:C14N_MSDSEU_RPHRS_PROVIDET;*)>

<13ENG010> <11ERG006>

<11ERG004>

<13ENG003>

<11ERG002>    

<11ERG001>

<11BRG007(M,SAP_EHS_1023_004;*)>

<13BNG008(+:01G1023004RP)>

<11BRG009(D;*)>

<13BNG010(+:01G1023004RP(M:C14N_MSDSEU_RPHRS_PROVIDE;*))>

<01G1023004RP(M:C14N_MSDSEU_RPHRS_PROVIDEC;*)>:

<01G1023004RP(M:C14N_MSDSEU_RPHRS_PROVIDET;*)>

<13ENG010>

<11ERG009>

<13ENG008>

<11ERG007>

<13ENG014>

<11ERG113>

9) Trade Secret: Outputting Identifiers Based on Component Types:

You can use this solution package to make identifiers being output dependent on the component type when identifiers are output for components. This allows you to output the trade secret name instead of the CAS name, for example, when the component type Trade Secret was specified for the component.

The following processing methods are available in the solution package for outputting identifiers depending on the component type:

Processing Method

Function

C14N_SYM_TS_START

Initializes the output for the relevant identifiers in the report. An identification listing is determined depending on the component type and is used to select the identifiers

C14N_SYM_TS_RESOLVE

The identifiers selected by means of the identification listing are output. If a usage is specified for an identifier to be output,a usage check is run. The Relevant Changes indicator is taken into account

for the change marks. If the long text for an identifier is to be output, processing method C14N_SYM_TS_RESOLVE

must be assigned to the report symbol GESTRLTXTF (identifier long text).  Therwise the short text is output.

Example for Outputting the Trade Secret Identifier in a Report

<11BRG003(M,SAP_EHS_1012_003;*)>

<11BRG002(S:POS;*)>

<01GESTVCOMPC(M:C14N_SYM_TS_START)>

<01GESTVCOMPC(M:C14N_SYM_TS_RESOLVE)>

<11ERG002>

<11ERG003>

Example for Outputting Multiple Identifiers of a Component in a

Report

<11BRG003(M,SAP_EHS_1012_003;*)>

<11BRG002(S:POS;*)>

<01GESTVCOMPC(M:C14N_SYM_TS_START)>

<01GESTRLTXTF(M:C14N_SYM_TS_RESOLVE)>

<01GESTVCOMPC(M:C14N_SYM_TS_RESOLVE)>

<01GESTVCOMPC(M:C14N_SYM_TS_RESOLVE)>

<11ERG002>

<11ERG003>

10) Converting U.S. Telephone Numbers

You can use this solution package to convert the format for U.S. telephone numbers from +13029945863 to (302) 994-5863

Processing Method

Function

C14N_SYMBOL_US_PHONE_NUM

Converting the format of U.S. telephone numbers

Prerequisites

The telephone or fax number to be output in the report is available.

The telephone to be formatted must begin with the country code +1 and contain 12 characters.

Select the relevant report symbol to output the telephone or fax number.In the Method field, enter function module

C14N_SYMBOL_US_PHONE_NUM.

Choose Insert WWI Object in Template.

The following symbol, for example, appears in the report template: Telephone number for sales organization:

<02EHS_SNPHO(M:C14N_SYMBOL_US_PHONE_NUM;*)[D:Telephone]>

Fax number for sales organization:

<02EHS_SNFAX(M:C14N_SYMBOL_US_PHONE_NUM;*)[D:Telephone]>

11) User Exit Repeating Group ANTI_S_POS

This solution package makes the user exit repeating group ANTI_S_POS available for report generation that is used within the slave group S:POS (component of a value assignment). Within an S:POS repeating group, it is usually only possible to access the values for the component specification. If an ANTI_S_POS repeating group is nested into the S:POS repeating group, further values for the report specification can also be output by means of additionally inserted report symbols

Example Use of the ANTI_S_POS Repeating Group

<11BRG000(M,SAP_EHS_1013_008;1)>

<01G1013008VA(P;*)>

<11ERG000>

<01GESTRSUBID>

<11BRG001(M,SAP_EHS_1012_003;1)>

<11BRG002(S:POS;1)>

<11BRG000(M,SAP_EHS_1013_008;1)>

<01G1013008VA(P;*)>

<11ERG000>

<11BRG003(EXIT,ANTI_S_POS;*)>

<11BRG000(M,SAP_EHS_1013_008;1)>

<01G1013008VA(P;*)>

<11ERG000>

<11ERG003>

<11ERG002>

<11ERG001>

The following types of repeating groups can be nested in an ANTI_S_POS

repeating group:

* Master group (repeating group of type M)

*Slave group S:CLASS (transport data)

* Repeating group of type D (discrete expansion of multiple values)

For more information about creating report templates, see SAP Library for SAP ERP Central Component in the Basic Data and Tools (EHS-BD) component under Report Definition (EHS-BD-RDF) on the SAP Help Portal at http://help.sap.com.

Edward

To report this post you need to login first.

10 Comments

You must be Logged on to comment or reply to a post.

  1. Christoph Bergemann

    Dear Edward

    😎 🙂 😆 😉 : SUPER. THANKS: Please go on like this in writing documents !

    I believe you have explained 100 % anything explaind here:

    http://www.stechno.net/sap-notes.html?view=sapnote&id=1576098

    (and OSS note to which this links refer)

    and here:

    http://www.consolut.com/en/s/sap-ides-access/d/s/doc/YY-EHS_SR_230_10_10

    providing nice examples for beginneres in WWI. I assume WWI community will be really happy.

    May you have time so you could explain the new options in WI whcioh are there because of eSDS

    May be could check as welL
    http://sap-consalt.ru/vanilla/discussion/42902/note-422519-support-of-special-wwi-methods/p1

    and figure out how you could enlarge your document.

    Go on with this fantastic work

    C.B.

    PS: may be you could prepare reference to: https://fortress.wa.gov/dop/hrms/TechInfo/Documents/SAPGUI720_FrontEnd_Install_Guide.pdf

    Here e.g. Local WWI Installation is mentioned (as part of SAP GUI installation)

    PPS_ Cleary I will reference your document in my documents asap. No doubt

    (0) 
    1. Edward Stephen Post author

      Many Thanks Dhinesh,

      All information available in SAP enhancement package 6 for sap ERP 6.0 release note. have a look if you want more information.

      Edward

      (0) 

Leave a Reply