Entering content frame

This graphic is explained in the accompanying text Outputting Dangerous Goods Standard Texts Locate the document in its SAP Library structure

Introduction

This example describes how you configure the SAP system so that a dangerous goods standard text is output at header level or item level of a delivery note.

Prerequisites

·        Structure linkPhrase sets exist.

·        Phrasing is activated.

·        For the selected phrase set, you have specified that phrases are to be output at header level or item level.

To do this, in the Basic Data and Tools menu choose Phrases ® Edit Phrase Set-Attribute Assignments. In the property tree choose Tables / structure fields ® RDGTPOSPSET and enter the phrase set. The phrase set-to-attribute assignment enables you to freely define the name of the phrase set.

·        The dangerous goods standard text exists in the language of the form.

Note

If you have already been using dangerous goods standard texts, you can continue using them. For this you must do the following:

§         In the IMG activity Manage User Exits in Customizing for Basic Data and Tools, enter user exit category PHR_TEXT (required entry) and the function module HAZMAT_PRI_COND_ADAPT (required entry). You can enter any text for the name of the user exit.

§         Start the conversion report DGCONVERT using the transaction DGU2. The Converting Dangerous Goods Texts and Descriptions to Phrases screen appears. Set the Standard texts indicator and choose the corresponding phrase group. Dangerous goods standard texts that you had previously stored as SAPscript texts are stored as phrases and assigned automatically to the phrase sets.

Caution

To avoid losing data, you should run the DGCONVERT report program before working with Release 2.5 or 2.7.

Procedure

...

       1.      In Customizing for Basic Data and Tools in the IMG activity Manage User Exits specify the user exit for outputting the dangerous goods standard text.

Enter the following data:

¡        UExit cat.: PHR_TEXT

¡        UExit name: RN10011

¡        Function module name: HAZMAT_PRI_COND_RN_10011_NI

¡        Sort: 1

¡        User exit description: DG output cond. marg. 10011

¡        Function module name: entered automatically by the system

       2.      Create a phrase for the marginal 10011 and assign it to the user exit.

...

                            a.      In the Basic Data and Tools menu, choose Phrases ® Edit Phrases.

The Edit Phrase: Initial Screen appears.

                            b.      Choose This graphic is explained in the accompanying text with the quick info text Create.

The Create Phrase: Header screen appears.

                            c.      Enter the following data:

§         Phrase: EHS In this field you must enter the key for the active phrase library. The system generates the phrase key.

§         Phrase group: Group_01

§         Source language: EN

§         Phrase text: Transport according to marginal 10011

§         User exit name: RN10011

                            d.      Choose This graphic is explained in the accompanying text with the quick info text Enter.

The system generates the phrase key for the phrase that you created.

                            e.      Save your entries.

       3.      Assign the phrase to a phrase set.

...

                            a.      In the Basic Data and Tools menu, choose Phrases ® Edit Phrases.

The Edit Phrase: Initial Screen appears.

                            b.      Enter the required selection criteria and then choose This graphic is explained in the accompanying text with the quick info text Hit List.

The Edit Phrase: Hit List screen appears.

                            c.      Select the appropriate phrase and choose This graphic is explained in the accompanying text Phrase Set.

The Edit Phrase: Phrase Set Assignment screen appears.

                            d.      Using the input help, choose the phrase sets you require.

                            e.      Save your entries.

Note

You can use the following sample function modules that are stored in the system:

§         HAZMAT_PRI_COND_RN_10011_NI

§         HAZMAT_PRI_COND_ADR_DECLA_NI

§         HAZMAT_PRI_COND_ADNR_DECLA_NI

§         HAZMAT_PRI_COND_SHIP_DECLA_NI

For more information on the function modules, see the function module documentation.

To do this, on the SAP Easy Access screen choose Tools ® ABAP Workbench ® Development ® Function Builder. Enter the name of the function module and then choose Display. Choose Function module documentation to access the documentation for the corresponding function module.

Note

For more information about marginal 10011, see also Dangerous Goods Structure Reform.

 

 

 

Leaving content frame