on 2014 Jan 09 2:14 PM
Hi,
Can anybody please help me with a document on how to create Text Patterns for DG?
Thank you,
Sruthi
Request clarification before answering.
Hello Sruthi
DG Text Patterns are used for outputting the DG information in Logistics Documents ,Like Delivery Note, Multi Model Dangerous Form , Picking List , Bill of Lading documents etc....
Text patterns are designed in Technical Language and use the same in Phrase Management for outputting the data in Scripts/ Smart forms through driving programme
Pl.Find the Model Text pattern coding for "IATA" Regulation printing , you can adopt the same for other Regulations also by changing the Field Lables .
...............Text Pattern for DG Instructions for Regulation -IATA..................
DEFINE &DGDES& := &RDGPRINT-DESCRIPTION&
DEFINE &NAME& := &RDGPRINT-HAZINDSUB&
DEFINE &MP& := &RDGPRINT-HAZINDSUBMP_HIS&
DEFINE &RQ& := &RDGPRINT-HAZINDSUBRQ&
DEFINE &HAZ& := &RDGPRINT-HAZNOTES&
DEFINE &HYG& := &RDGPRINT-HYGROS&
DEFINE &OBJ& := &RDGPRINT-TPOJ&
DEFINE &ID& := &RDGPRINT-TPID&
DEFINE &LG& := &RDGPRINT-TPLK&
------------------------------------------------------------------------
&RDGPRINT-LWDGN': '&
- Dangerous Goods Description --
INCLUDE &DGDES& OBJECT &OBJ& ID &ID& LANGUAGE &LG& PARAGRAPH DP
- HAZARD INDUCING SUBSTANCES --
INCLUDE &NAME& OBJECT &OBJ& ID &ID& LANGUAGE &LG& NEW-PARAGRAPH =
,&RDGPRINT-DGCL', '&&'('RDGPRINT-HPN2'), '&&'('RDGPRINT-HPN3'), '&&'('RDGPRINT-HPN4'), '&&'('RDGPRINT-HPN5'), '&&'('RDGPRINT-HPN6'), '&&'('RDGPRINT-HPN7'), '&&RDGPRINT-TKUI' '&&RDGPRINT-DGNU', '&&RDGPRINT-PGRO' // '&&RDGPRINT-PIN&
------------------------------------------------------------------------
Balajee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Krishna
as shown by Balajee: there is a "standard" example in place delivered by SAP (
Pl.Find the Model Text pattern coding for "IATA" Regulation printing , you can adopt the same for other Regulations also by changing the Field Lables .))
Now on high level this is the story:
a.) let us assume you use the regulation "IATA" (and not a dffierent one)
b.) Based on SAP SD process you know the "modes" of transport (e.g. by air)
c.) and you need to print DG data using sap script etc. on SAP SD documents
Therefore: first: try to find the SAP example for IATA as indicated by Balajee, Understand the structure etc.
Based on the "IATA" example you need to check: is the DG information per regulation always the same? Is there any regulation to be printed and if yes which one etc.
as well. Check deep: do you use one time materials/Template materials? I am not sure if SAP delivers here by standard a useful "print" example...
If you start a SAP EHS project and integrate SAP SD with SAP EHS (especially SAP EHS DG part) the DG document print part can be/is a "nightmare"; you need to have knowledge in SAP SD, sap script/smart forms; you need to understand teh DG framework.
What Balajee explained is only part of the "full" story. (e.g. on phrase level you need to have established for special phrases as well "exits") or you will not succeeed to print DG data in sap script etc.
As mentioned: any SAP SD / SAP EHS DG integration is in > 80% of the cases done customer specific
C.B.
PS: for DG: there is some "best Practise documentation" available. This can be helpful as a starter. Check document:
EH&S Dangerous Goods Management (936)
Business Process Documentation
Dear Krishna
may be check as well. Text Patterns & Text Pattern Profiles | SCN
Note 487673 - Delivery note printing after upgrade of EHS 2.5 to 2.7 - Sap NOTE Sap-ConsAlt.Ru
C.B.
User | Count |
---|---|
11 | |
2 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.