You are on page 1of 29

EH&S Data Structure

TechniData America LLC


Specification data base structure (I)

ESTRH ESTDU ESTRH = Specification Header


ESTDU = Usage
ESTRI ESTDU ESTRI = Identifier
ESTRL = Identifier Listings
ESTRL
ESTDF = Long text
ESTDF
ESTMJ = Material Join
ESTMJ ESTRR = Reference Specifications
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 2

EHSBT_APPL_SCOPE = Status
ESTRR TCGTPLREL = Inheritance Relationships
ESTVH = Valuation Header
EHSBT_APPL_SCOPE

TCGTPLREL

ESTVH
Specification data base structure (II)
ESTVH ESTVH = Valuation Header
ESTVA ESTVA = Valuation Instance
ESTVP = Compositions/Spec. Listing
ESTVP
ESTDU = Usage
ESTDU
ESTDF = User defined text
ESTDF ESTDR = Assessment
ESTDR ESTDS = Source
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 3

ESTDS AUSP = Characteristic Values


ESTAUSP = Charact. Values (numeric)
AUSP
EST07 = Transport approval (Dangerous Goods)
ESTAUSP EST0B = Packaging code approval (Dang. Goods)
EST07 EST0D = Risk classification (Dangerous Goods)

EST0B EST0F = Transport classification (Dang. Goods)


(AUSP/ESTAUSP-OBJEK = concatenate RECN + ACTN from
EST0D ESTVA)

EST0F
Specification data base - Relationships (I)

Identifier Long text ESTRI = Identifier

ESTRI STXH = Long text (SAP Script) Header


STXL = Long text
STXH
DRAW = Document Header
STXL
DRAO = Document data
DRAP = Document status protocol
User defined text
DRAT = Document description
ESTDF
KPRO = Knowledge Provider (Tool, not table)
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 4

STXH
(Table DMS_DOC2LOIO – convert DRAW key into
STXL logical object ID of KPRO)
STXH key:
DRAW - TDID : 0001
- TDNAME : Concatenate table name + RECN + ACTN
DRAO or KPRO (e.g. ESTDF0000000000000073201100000000000000000000)
- TDOBJECT: C_SHEP_TDF for table ESTDF
DRAP C_SHES_TRI for table ESTRI
- TDSPRAS: Language from corresp. table (ESTDF or ESTRI)

DRAT
Specification data base – Relationships (II)

Phrase selection set for charct. TCG66 = Assign phrase sel. sets to charact.
(Configuration)
TCG11 = Value assignment types
TCG66 CABN = Characteristics
TCG11 ESTPS = Phrase selection sets

CABN ESTVH = Valuation header


KLAH = Classes
ESTPS
KSML = Assign characteristics to class
KSSK = Assign object to class
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 5

Value assignment type / class /


characteristics (Config. + Data) Characteristic values (Config. + Data)
ESTVH ESTVH EH&S

TCG11 ESTVA
TCG11 AUSP/ESTAUSP
KSSK
KLAH
KLAH
KSML
Classification
KSML System
CABN
CABN
Phrases

ESTPH ESTPH = Phrase header


ESTPP = Phrase item
ESTPP
ESTPO = Phrase original
STXH
STXH = Long text (SAP Script) Header
STXL STXL = Long text

ESTPO ESTPS = Phrase selection sets


ESTPT = Description for phrase sel. set
Phrase selection sets
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 6

ESTPJ = Assign phrases to phrase sel. set


ESTPS STXH key:
- TDID : 0001
- TDNAME : Concatenate table name + RECN + ACTN
ESTPT (e.g. ESTPP0000000000000013501100000000000000000000)
- TDOBJECT: C_SHES_TPP
- TDSPRAS: Language from ESTPP

Assign phrases to phrase sel. sets

ESTPS ESTPJ ESTPH


Reports

ESTDH ESTDH = Report Header


ESTDJ = Reference Substances
ESTDJ
ESTDO = Application Objects
ESTDO DRAW = Document Header
DRAW DRAO = Document data
DRAP = Document status protocol
DRAO or KPRO
DRAT = Document description
DRAP
STXH = Long text (SAP Script) Header
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 7

DRAT STXL = Long text


(Value files stored in
STXH SAP Script)
KPRO = Knowledge Provider (Tool, not table)
STXH key:
STXL - TDID : 0001
- TDNAME : Concatenate table name + RECN + ACTN
(e.g. ESTDH00000000000008592300200000000000000000000)
- TDOBJECT: C_SHER_TDH for table ESTDH
- TDSPRAS: EN (fixed for table ESTDH)
Generation Variants / Templates

Generation Variants ESTLP = Gen. Variant Header


ESTLR = Description for Gen. Variant
ESTLP
ESTLU = Ratings
ESTLR
ESTLV = Add. Validity Areas and Languages
ESTLU ESTDO = Application Objects

ESTLV ESTLS = Structure file


DRAW = Document Header
ESTDO
DRAO = Document data
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 8

Templates DRAP = Document status protocol

DRAW DRAT = Document description


KPRO = Knowledge Provider (Tool, not table)
DRAO or KPRO
ESTRH = Specification Header
DRAP
ESTDH = Report Header
DRAT
Relationships
ESTDH
ESTLS
ESTRH ESTLP
Report Shipping

CVDDH CVDDH = Report shipping order Header


CVDDP = Report shipping order Parameters
CVDDP
DRAW = Document Header
(Raw-Report and
DRAW Final Report) DRAO = Document data
DRAO or KPRO DRAP = Document status protocol

DRAP DRAT = Document description


KPRO = Knowledge Provider (Tool, not table)
DRAT
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 9

BALHDR = Application Log Header


BALHDR (Flow Log)
BALM = Application Log Messages
BALM ADRC = Address data Company
ADRP = Address data Person
Relationships
ADCP = Address data Person in Company
CVDDH
ESTDH = Report Header
ESTDH Recipient:
- Customer
- Office User ADRC/ADRP/ADCP
- Report receiver
Additional Tables

Change Documents
CDHDR = Change Documents Header
CDHDR
CDPOS = Change Documents Items
CDPOS (For reading the change documents the program
RC1CD100 can be used)
EST_CHANGE_DOCS ESTOH = Generation Orders
ESTWL = BOMBOS Interface – Work list
Buffer protocol
ESTALE = ALE – Ref. to Originals
EHSBC_BUF_PROT
EHSBC_BUF_PROT = Buffer Protocol Table
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 10

Generation Orders EST_CHANGE_DOCS = Change Documents


ESTOH (Writing of this table has to be switched on in the IMG.
Change documents can be viewed in the specification
hit list through Extras – Change Document Log)
BOMBOS Interface
ESTWL ESTOH

- Report or Report Shipping Order (ESTDH or CVDDH)


ALE - Source Document (DRAW)
- Target Document (DRAW)
ESTALE - Generation Server (TCGS8)
Key- and Foreign-Key Fields

Technical Key for all EST* tables (exception are listed separately):
 RECN (Record Number)
 ACTN (Record-Split Number)

Administrative Fields for all EST* tables (exception are listed sep.):
 VALFR (Valid-from date of the Record)
 VALTO (Valid-to date of the Record)
 AENNR (Change Number)
 DELFLG (Flag for logical Deletion)
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 11

 CRDAT (Created by)


 CRDAT (Created on)
 UPDNAM (Changed by)
 UPDDAT (Changed on)
 SRSID (Data Origin – Source system)
 OWNID (Data Provider – linked to ESTRH-AUTHGRP)
 RECNROOT (RECN of Header Object)
 PARKFLG (not used)
Key- and Foreign-Key Fields

ESTRH
 Logical Key
 SUBID (Specification)
 Other Fields
 SUBCAT = TCG31-SUBCAT (Specification type)

ESTRI
 Foreign Keys
RECNROOT = ESTRH-RECN
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 12

 Inheritance relevant Fields:


 RECN_TPLH = TCGTPLH-RECN (Inh. Template Header)
 RECNTRI_SRC = ESTRI-RECN (Inh. Source – 1 level higher)
 RECNTRI_ORIG = ESTRI-RECN (Inh. Source – highest level)
 RECNROOT_ORIG = ESTRH-RECN (Inh. Source Spec. – highest level)
 Other Fields
 IDTYPE = TCG21-IDTYPE (Identification category)
 IDCAT = TCG23-IDCAT (Identification type)
 IDENT (Identifier)
Key- and Foreign-Key Fields

ESTRL
 Foreign Keys
 RECNROOT = ESTRH-RECN
 RECNTRI = ESTRI-RECN
 Other Fields
 SLSTID = TCG81-SLSTID (Regulatory List)

ESTMJ
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 13

 Foreign Keys
 RECNROOT = ESTRH-RECN
 MATNR = MARA-MATNR (Material Master)

ESTRR
 Foreign Keys
 RECNROOT = ESTRH-RECN
 RECNREF = ESTRH-RECN (Reference Specification)
Key- and Foreign-Key Fields
EHSBT_APPL_SCOPE
 Key Fields
 RECN (GUID in case status is assigned to a Formula)
 ACTN (GUID in case status is assigned to a Formula)
 Foreign Keys
 RECNROOT = ESTRH-RECN (in case status is assigned to a Spec.)
= Formula-Header-RECN (in case status is assign. to a
Formula)
 Other Fields
 NAMEMST = E1 (in case status is assigned to a Spec.)
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 14

= FR (in case status is assigned to a Formula)


 SUBSTAT (Status)
 RVLID = TCG91-RVLID (Validity Area)
 VACLID = TCG86-VACLID (Rating)

TCGTPLREL
 Foreign Keys
 RECNROOT_SRC = ESTRH-RECN (Source Spec.)
 RECNROOT_DST = ESTRH-RECN (Target Spec.)
 RECN_TPLH = TCGTPLH-RECN (Inh. Template Header)
Key- and Foreign-Key Fields

ESTVH
 Foreign Keys
 RECNROOT = ESTRH-RECN
 Other Fields
 ESTCAT = TCG11-ESTCAT (Value assignment type)

ESTVA
 Foreign Keys
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 15

 RECNROOT = ESTRH-RECN
 RECNTVH = ESTVH-RECN
 Inheritance relevant Fields:
 RECN_TPLH = TCGTPLH-RECN (Inh. Template Header)
 RECNTVA_SRC = ESTRI-RECN (Inh. Source – 1 level higher)
 RECNTVA_ORIG = ESTRI-RECN (Inh. Source – highest level)
 RECNROOT_ORIG = ESTRH-RECN (Inh. Source Spec. – highest level)
Key- and Foreign-Key Fields
ESTVP
 Foreign Keys
 RECNROOT = ESTRH-RECN
 RECNTVA = ESTVA-RECN
 RECNCMP = ESTRH-RECN (Components/Specs in Spec. listings)
 Other Fields
 COMPCAT = TCG76-COMPCAT (Component type)

ESTDU
 Foreign Keys
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 16

 RECNROOT = ESTRH-RECN
 RECNMST = ESTVA-RECN (Usage of a value assignment)
= ESTRH-RECN (Header Usage)
= ESTRI-RECN (Usage of an identifier)
 Other Fields
 NAMEMST = ESTVA (Usage of a value assignment)
= ESTRH (Header Usage)
= ESTRI (Usage of an identifier)
 RVLID = TCG91-RVLID (Validity Area)
 VACLID = TCG86-VACLID (Rating)
Key- and Foreign-Key Fields
ESTDF
 Foreign Keys
 RECNROOT = ESTRH-RECN
 RECNMST = ESTVA-RECN
 DOKAR = DRAW-DOKAR (DMS-Key – Document type)
 DOKNR = DRAW-DOKNR (DMS-Key – Document number)
 DOKVR = DRAW-DOKVR (DMS-Key – Document version)
 DOKTL = DRAW-DOKTL (DMS-Key – Document part)
 Other Fields
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 17

 NAMEMST = ESTVA
 TEXTCAT = TCG41-TEXTCAT (User defined text type)

ESTDR
 Foreign Keys
 RECNROOT = ESTRH-RECN
 RECNMST = ESTVA-RECN
 Other Fields
 NAMEMST = ESTVA
 RELID = TCG71-RELID (Assessment)
Key- and Foreign-Key Fields

ESTDS
 Foreign Keys
 RECNROOT = ESTRH-RECN
 RECNMST = ESTVA-RECN
 Other Fields
 NAMEMST = ESTVA
 SRCID = TCG41-SRCID (Source)
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 18

EST07/EST0B/EST0D/EST0F
 Foreign Keys
 RECNROOT = ESTRH-RECN
 RECNMST = ESTVA-RECN
 Other Fields
 NAMEMST = ESTVA
Key- and Foreign-Key Fields

AUSP
 Relevant Key Fields
 OBJEK = ESTVA-RECN+ESTVA-ACTN (Object ID)
 ATINN = CABN-ATINN (internal Characteristic number)
 Other Fields
 ATWRT = Characteristic value
 ATFLV = Characteristic value (Numeric value)
 ATSRT = (Sort Number in case of multiple values for one Characteristic)
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 19

ESTAUSP
 Relevant Key Fields
 OBJEK = ESTVA-RECN+ESTVA-ACTN (Object ID)
 ATINN = CABN-ATINN (internal Characteristic number)
 Other Fields
 EST_ATWRT = Characteristic value (Numeric value)
Key- and Foreign-Key Fields

ESTPH
 Logical Key
 PHRID (Phrase Key)
 CATPIN = TCG61-CATPIN (Phrase Library)
 Other Fields
 PHRGRP = TCG63-PHRGRP (Phrase group)
 USEXNAM = TCGUEFU-USEXNAM (User Exit Name)

ESTPP
 Foreign Keys
 RECNROOT = ESTPH-RECN
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 20

 Other Fields
 LANGU = TCG65-LANGU (Phrase language)
 PHRCODE (Phrase Code)
 PHRTEXT (Phrase Text)
 PHRGRAPH (Phrase Graphic)

ESTPO
 Foreign Keys
 RECNROOT = ESTPH-RECN
 Other Fields
 PHRID (Phrase Key of Original phrase)
 CATPIN = TCG61-CATPIN (Phrase Library of Original phrase)
Key- and Foreign-Key Fields

ESTPS
 Logical Key
 PHRSEL = (Phrase Selection Set)

ESTPT
 Foreign Keys
 RECNROOT = ESTPS-RECN
 Logical Key
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 21

 LANGU = (Language)
 PHRSNAM = (Description of Phrase Selection Set)

ESTPJ
 Foreign Keys
 RECNTPS = ESTPS-RECN
 RECNTPH = ESTPH-RECN
Key- and Foreign-Key Fields

ESTDH
 Logical Key
 SUBID = ESTRH-SUBID (Specification)
 SBGVID = ESTLP-SBGVID (Generation variant)
 LANGU (Language)
 EHSDOCCAT (EH&S document type - SBR)
 INTVERSION (Internal Version)
(INTVERSION could also be replaced by VALDAT – Validity date)
 Other Fields
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 22

 REPTYPE = TCGL1-REPTYPE (Report category)


 DMSKEY (Document key – DRAW-DOKAR, DRAW-DOKNR, DRAW-
DOKVR and DRAW-DOKTL concatenated to one string)
 REPSTATUS = DRAW-DOKST = TDWST-DOKST (Report Status)

ESTDJ
 Foreign Keys
 RECNROOT = ESTDH-RECN
 RECNREF = ESTRH-RECN (Reference Specification)
Key- and Foreign-Key Fields

ESTLP
 Logical Key
 LDEPID (Generation Variant)
 Other Fields
 REPTYPE = TCGL1-REPTYPE
 RVLID = TCG91-RVLID
 USAGECHECK (Usage check mode)
(0 = Subset, 1 = Intersection, 2 = 1:1 check, 3 = Superset)
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 23

ESTLR
 Foreign Keys
 RECNROOT = ESTLP-RECN
 Logical Key
 LANGU = (Language)
 LDEPNAM = (Description of Generation Variant)
Key- and Foreign-Key Fields

ESTLU
 Foreign Keys
 RECNROOT = ESTLP-RECN
 Other Fields
 VACLID = TCG86-VACLID
 PRIO (Priority of Rating)

ESTLV
 Foreign Keys
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 24

 RECNROOT = ESTLP-RECN
 Other Fields
 RVLID = TCG91-RVLID
 LANGU (Language)
 USAGECHECK (Usage check mode)
(0 = Subset, 1 = Intersection, 2 = 1:1 check, 3 = Superset)
 ORD (Sort Sequence)
Key- and Foreign-Key Fields
ESTDO
 Foreign Keys
 RECNROOT = ESTDH-RECN or ESTLP-RECN
 RECNROOTTYPE = SRGV (for Generation Variants)
= REP (for Reports)
 REPAPPL = TCGL3-REPAPPL (Report Application)
(e.g. SUBMASTER or MATMASTER)
 OBJECTKEY (Report Application Key, e.g. ESTRH-SUBID or
MARA-MATNR)
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 25

ESTLS
 Key Fields
 DOKAR = DRAW-DOKAR
 DOKNR = DRAW-DOKNR
 DOKVR = DRAW-DOKVR
 DOKTL = DRAW-DOKTL
 LDELINE (Sequence Number of Symbol in Template)
 Other Fields
 LSYID = TCGA6-LSYID (Report Symbol)
Key- and Foreign-Key Fields
CVDDH
 Foreign Keys - Report
 SUBID = ESTRH-SUBID (Specification)
 SBGVID = ESTLP-SBGVID (Generation variant)
 LANGU (Language)
 EHSDOCCAT (EH&S document category - SBR)
 INTVERSION (Internal Version)
 Foreign Keys – Recipient
 RECTYPE (Recipient type)
 RECGROUP (Recipient group)
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 26

 RECADR_C (Recipient ID – Company)


(Customer-ID or Address ID – dependent on RECTYPE)
 RECADR_P (Recipient ID – Person)
(Contact-ID or Address ID – dependent on RECTYPE)
 Other Fields
 COM_ART (Communication type)
 COM_GROUP (Communication Group)
 REASONTYP (Reason/Origin Type)
 REASONCAT (Reason/Origin Category)
 REASONBPR (Business Process)
Key- and Foreign-Key Fields
 Other Fields (continued)
 DDOID (Key of Initial Shipping Order)
 DDPID (Key of Shipping Order Package)
 STATUS (Status)
 DDOCTYPE (Shipping Order Type – RDO or LDO)
 INITIATOR (Initiator of a shipping order)
 DMSSRCKEY (Document Source Key – DRAW-DOKAR, DRAW-DOKNR,
DRAW-DOKVR and DRAW-DOKTL concatenated to one
string)
 DMSKEY (Document Target Key – DRAW-DOKAR, DRAW-DOKNR,
DRAW-DOKVR and DRAW-DOKTL concatenated to one
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 27

string)
 PROCESSCAT (Process Type – (I)mmediate or (B)ackground)

CVDDP
 Foreign Keys
 RECNROOT = CVDDH-RECN
 Other Fields
 OBJECT (Object – Table, Structure or Class)
 ATTRIB (Attribute – Field or Characteristic)
 VALUE (Value of Parameter)
Key- and Foreign-Key Fields
ESTOH
 Foreign Keys
 REPORTRECN = ESTDH-RECN
 LOGID = CVDDH-RECN
 Foreign Keys – Source Document
 SRCDOKAR = DRAW-DOKAR
 SRCDOKNR = DRAW-DOKNR
 SRCDOKVR = DRAW-DOKVR
 SRCDOKTL = DRAW-DOKTL
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 28

 Foreign Keys – Target Document


 TRGDOKAR = DRAW-DOKAR
 TRGDOKNR = DRAW-DOKNR
 TRGDOKVR = DRAW-DOKVR
 TRGDOKTL = DRAW-DOKTL
 Other Fields
 GENPC = TCGS8-GENPC
 STATUS (Status)
Copyright

 No part of this publication may be reproduced or transmitted in any form or for any purpose without the express
permission of SAP AG. The information contained herein may be changed without prior notice.
 Some software products marketed by SAP AG and its distributors contain proprietary software components of other
software vendors.
 Microsoft®, WINDOWS®, NT®, EXCEL®, Word®, PowerPoint® and SQL Server® are registered trademarks of
Microsoft Corporation.
 IBM®, DB2®, DB2 Universal Database, OS/2®, Parallel Sysplex®, MVS/ESA, AIX®, S/390®, AS/400®, OS/390®,
OS/400®, iSeries, pSeries, xSeries, zSeries, z/OS, AFP, Intelligent Miner, WebSphere®, Netfinity®, Tivoli®, Informix and
Informix® Dynamic ServerTM are trademarks of IBM Corporation in USA and/or other countries.
 ORACLE® is a registered trademark of ORACLE Corporation.
 UNIX®, X/Open®, OSF/1®, and Motif® are registered trademarks of the Open Group.
 Citrix®, the Citrix logo, ICA®, Program Neighborhood®, MetaFrame®, WinFrame®, VideoFrame®, MultiWin® and other
 Enterprism / TechniData AG / SAP AG 2003, Report Prototypes, Michael Schalk / 29

Citrix product names referenced herein are trademarks of Citrix Systems, Inc.
 HTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C®, World Wide Web Consortium,
Massachusetts Institute of Technology.
 JAVA® is a registered trademark of Sun Microsystems, Inc.
 JAVASCRIPT® is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and
implemented by Netscape.
 MarketSet and Enterprise Buyer are jointly owned trademarks of SAP AG and Commerce One.
 SAP, SAP Logo, R/2, R/3, mySAP, mySAP.com and other SAP products and services mentioned herein as well as their
respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over
the world. All other product and service names mentioned are trademarks of their respective companies.
 TechniData, EH&S, ISI-STEP, EH&S ISI-STEP, ENVINET and EH&S ENVINET are filed or registered trademarks of
TechniData AG in Germany and in other countries worldwide.

You might also like