Outputting Dangerous Goods Standard TextsThis example describes how you configure the SAP system so that a dangerous goods standard text is output at the header level or item level of a delivery note.
Phrase sets exist.
Phrasing is activated.
With the selected phrase set, you have specified that phrases are to be output at header level or item level.
For this, choose . In the property tree, choose and enter the phrase sets. 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 Customizing for Basic Data and Tools
, in the activity Manage User Exits
, enter the user exit category HR_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.
You 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.
Recommendation
To avoid losing data, you should run the DGCONVERT
report if you are changing to a higher release from a release lower than 2.5/2.7.
In Customizing for Basic Data and Tools
in the activity Manage User Exits
, specify the user exit for outputting the dangerous goods standard text.
Enter the following data:
User exit category: PHR_TEXT
User exit name: EXCPQUAN
Function module name: DG50_PRICOND_EXCPQUAN_STDT
Sort seq.: 1
User exit identifier: Begrenzte Menge
Function module name: Automatically entered by the system
Create a phrase for the marginal 10011 and assign it to the user exit.
In the Basic Data and Tools
menu, choose .
The Edit Phrase: Initial Screen
appears.
Choose
(Create
).
The Create Phrase: Header
screen appears.
Enter the following data:
Phrase: EHS
In this field, you need to enter the key for the active phrase library. The system generates the phrase key.
Phrase group: Gruppe_01
Source language: DE
Phrase text: Limited quantity
User exit name: EXCPQUAN
Choose
(Enter
) .
The system generates the phrase key for the phrase that you created.
Save your entries.
Assign the phrase to a phrase set.
In the Basic Data and Tools
menu, choose .
The Edit Phrase: Initial Screen
appears.
Enter the required selection criteria and choose
(Hit List
).
The Edit Phrase: Hit List
screen appears.
Select the appropriate phrase and choose
(Phrase Set
).
The Edit Phrase: Phrase Set Assignment
screen appears.
Using the input help, choose the phrase sets you require.
Save your entries.
Note
You can use the sample function modules that are stored in the system:
DG50_PRICOND_ADR10011_STDT
DG50_PRICOND_ADRDECLA_STDT
DG50_PRICOND_ADNRDECLA_STDT
DG50_PRICOND_SHIPDECLA_STDT
For more information about the function modules, see the function module documentation.
From the SAP Menu, choose . Enter the name of the function module and choose Display
. You use the Function module doc.
pushbutton to access the documentation for the corresponding function module.