Entering content frame

Function documentation Output of Dangerous Goods Information Using Text Patterns Locate the document in its SAP Library structure

Use

If you compare dangerous goods regulations you will find that the different regulations require dangerous goods-relevant information to appear on transport documents in a different sequence and with varying contents. This means dangerous goods information varies in form and content according to the regulation that applies.

The varying requirements for transport documents in different regulations affect the following details:

·        Type of information (such as class, packing group)

·        Sequence of information

·        Additional text

·        Additional information such as flash point

Using text patterns allows you to print dangerous goods information on a delivery note and in the IDocs for delivery and transportation in a manner that fulfills the requirements of the respective dangerous goods regulation.

Prerequisites

Sample text patterns are included in the standard SAP EH&S system. To be able to use these, you have:

...

       1.      Imported the sample text pattern phrases together with the EH&S sample phrase library.

       2.      Called the report program DGCTPATT once after installing SAP EH&S Release 2.7 and thus generated the required formatting for the text pattern phrases.

For more information, see the IMG activity Import Text Pattern Phrases in Customizing for Dangerous Goods Management.

Features

The standard system includes a series of text patterns. You have the option of either editing existing text patterns or creating new text patterns yourself.

Use of Text Patterns

Depending on the regulation, you can specify text patterns under specifications of the specification types Dangerous goods classification and Real substance in the Product Safety component. You specify the text pattern in the value assignment type Output of dangerous goods information. The text pattern entered in the dangerous goods classification can be overridden by the text pattern in the real substance. Text patterns specified in the Product Safety component can be transferred by means of filling to the dangerous goods master in the Dangerous Goods Management component.

When you print dangerous goods information on transport documents, the symbols specified in the text patterns are replaced by the corresponding values in the dangerous goods master. If you wish, these values can be overridden with the help of a customer exit. See also the IMG activity Specify Output Conditions and Formatting Methods in Customizing for Dangerous Goods Management.

Structure of Text Patterns

You can create text patterns as phrases in the SAPscript editor in phrase management. In this case, the phrases must be saved as SAPscript texts. For entries containing less than 132 characters, the format column ensures that these are saved as SAPscript texts.

All regulation-specific information with the exception of the standard texts and the specific texts (user-defined texts) that appear at item level is put together to form a special text module. These text modules are different depending on the dangerous goods regulation and the context. The dangerous goods data is specified by symbols within the text modules.

The symbols are made up of a structure name and field name separated by a hyphen and enclosed by & characters. The symbols are placeholders for values that are substituted when the document is formatted for printing.

Example: &RDGPRINT-LWDGN&    (Name of dangerous goods regulation)

The RDGPRINT structure contains the SAPscript keys for the text modules. When a new text pattern is defined, the system accesses this structure. All fields in the RDGPRINT structure can therefore be used for symbol definition.

Then during print formatting, all symbols and Include statements in the text pattern are expanded.

Storing Text Patterns As Phrases

The text patterns can be assigned to a special phrase group and a special phrase set. Storing text patterns as phrases has the following advantages:

·        The SAPscript editor is available.

·        Text patterns can be language-specific.

·        Engineering change management is available.

·        The distribution of the text patterns is guaranteed.

·        Authorization for editing text patterns and so on can be controlled via phrase groups.

 

 

 

 

 

Leaving content frame