cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Special characters in phrase typed correctly on MSDS

devdatt_khedekar
Participant
0 Kudos
651

Hello Experts,

There is this with phrase. One of the phrase is maintained in estph table as "Causes damage to organs (/$/*_ORG_REP_INHA/$/) through prolonged or repeated exposure if inhaled." However on MSDS its printed as Causes damage to organs (Lungs, Respiratory system) through prolonged or repeated exposure if inhaled. Means -(/$/*_ORG_REP_INHA/$/) is comes out on MSDS as (Lungs, Respiratory system) . Our user is asking the reason for this. As in one of the interface that they use, it is not able to convert the special characters as MSDS is coverting as shown above.


Hence wanted to know the reason for this from all the EHS experts.


Devdatt

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Devdatt

This phrases are called phrase with place holders


If one or more phrases are to be included with a phrase that is issued in a report, there must be a place in the phrase text that shows where this should occur. The placeholder  /$/<atnam>/$/ is inserted at the necessary place. <atnam> stands for the name of the characteristic that is to be used for storing the inserted phrases. You can only specify characteristics that can be valuated with phrases and which are contained in the same value assignment type as the characteristic that is valuated with the placeholder phrase.

Only the phrase texts of other phrases can be included. This is not possible for phrase codes or phrase graphics.

Example:

Causes damage to organs (/$/SAP_EHS_1023_044_ORG_SING_ORAL/$/) if swallowed.

The phrase specified in this example can be used only for the value assignment type SAP_EHS_1023_044 since the value assignment type is defined by the placeholder. To use the phrases independently of the value assignment type, you also have the option of keeping the placeholder independent of value assignment types by specifying *.

Example:

Causes damage to organs (/$/*_ORG_SING_ORAL/$/).

During report generation, the * character is replaced by the value assignment type of the issuing symbol.

In the above case, this means: When the phrase is output using the symbol G1023044HS (ESTCAT SAP_EHS_1023_044), this corresponds with a definition of

Causes damage to organs (/$/SAP_EHS_1023_044_ORG_SING_ORAL/$/).

because * has been replaced by the value assignment type of the symbol for the determination of the characteristic.

You can add several placeholders to a phrase text. The same placeholder can also be used more than once. Phrase with placeholders can also be long texts. This means that all character formats of the style EHS_STD are permitted. However, among the paragraph formats, only the default paragraph (*) format is processed when there are phrases with placeholders.

If a phrase exists in several languages, each phrase item must be supplied with the relevant placeholder. However, the placeholders of the individual phrase items do not have to match (in number or sequence).



Balajee



devdatt_khedekar
Participant
0 Kudos

Perfect Answer!, what a simple presentation of concept!

Answers (2)

Answers (2)

christoph_bergemann
Active Contributor
0 Kudos

Dear Devdat

only one small add on: this type of techniques is delivered by SAP only in WWI context. As you have mentioned: any interface (e.g. ALE) does not support this replacement (thanks Balajee for very good explanation ) technique.

So depeding on the interface you have in mind you need to prepare own ABAP code so that the effect is the same (like in WWI).

In current WWI we have by the way three special symbols (o techniques quite similar).

One is this methodology; one is used in EHS DG only (here SAP uses "&" and other characters for doing the job and some for "collecting" data (collection of R phrases to print them). This type of technique is not used in WWI context but in EHS DG context.

Therefore: because of legal regulations SAP enhanced here SAP EHS via OSS note.

C.B.

christoph_bergemann
Active Contributor
0 Kudos

Dear Devdat

SAP delivered with some OSS note (something like 3 to 4 years ago) an enhancement of WWI. Therefore based on phrase definition, data maintenance now this effect is comping up (it was asked for by industry). The main reason for this enhancement is the worldwide use of GHS and to avoid to create many phrases. I can not list you here all the backgroudn (would tkae to long). But this enhancement of SAP is quite helpful in some circumstances (and can be used if needed, as well for othere topics than GHS if needed).

Please check SAP marketplace if needed.

C.B.