See information about the latest product version
Field names of the IDOC parser structures
The field names of the Control Structure (DC) and the Data Structure (DD) that are used by the IDOC parser.
SET OutputRoot.Properties = InputRoot.Properties;
SET OutputRoot.MQMD = InputRoot.MQMD;
Control structure (DC) fields
All the fields must be specified and set.
<rootname>.<ParserName>.<foldername>.<fieldname>=
For
example: SET "OutputRoot"."IDOC"."DC"."docnum" = '0000000000000001';
SET "OutputRoot"."IDOC"."DC"."idoctyp" = 'MATMAS01'
- tabnam
- mandt
- docnum
- docrel
- status
- direct
- outmod
- exprss
- test
- idoctyp
- cimtyp
- mestyp
- mescod
- mesfct
- std
- stdvrs
- stdmes
- sndpor
- sndprt
- sndpfc
- sndprn
- sndsad
- sndlad
- rcvpor
- rcvprt
- rcvpfc
- rcvprn
- rcvsad
- rcvlad
- credat
- cretim
- refint
- refgrp
- refmes
- arckey
- serial
Data structure (DD) fields
To access each DD segment, use the array suffix DD[1], DD[2], and so on.
<rootname>.<ParserName>.DD[1].<fieldname>=
For
example: SET OutputRoot.IDOC.DD[I].segnam = 'E2MAKTM001';
SET OutputRoot.IDOC.DD[I].mandt2 = '111';
The following list illustrates how the suffix 2 is used to give unique field names to the mandt and docnum fields.
- segnam
- mandt2
- docnum2
- segnum
- psgnum
- hlevel
The last 1000 bytes of data in the DD segment are the bytes that are parsed by the MRM domain. The DD segnam describes the model that the MRM uses.
Segment fields
<rootname>.<ParserName>.DD[1].sdatatag.MRM.<fieldname>=
For
example: SET OutputRoot.IDOC.DD[I].sdatatag.MRM.msgfn = '006'
SET OutputRoot.IDOC.DD[I].sdatatag.MRM.spras_iso = 'EN'
The sdatatag field indicates to the parser that it is the element that contains the data to be manipulated. The MRM field indicates that the MRM handles the transformation.
- msgfn
- spras
- maktx
- msgfn
- spras_iso
- fill954
The fill954 field is the filler for the segment because an incoming IDoc to SAP must have 1000 byte segments.