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;
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'
1) tabnam | 2) mandt | 3) docnum |
4) docrel | 5) status | 6) direct |
7) outmod | 8) exprss | 9) test |
10) idoctyp | 11) cimtyp | 12) mestyp |
13) mescod | 14) mesfct | 15) std |
16) stdvrs | 17) stdmes | 18) sndpor |
19) sndprt | 20) sndpfc | 21) sndprn |
22) sndsad | 23) sndlad | 24) rcvpor |
25) rcvprt | 26) rcvpfc | 27) rcvprn |
28) rcvsad | 29) rcvlad | 30) credat |
31) cretim | 32) refint | 33) refgrp |
34) refmes | 35) arckey | 36) serial |
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 table illustrates how the suffix 2 is used to give unique field names to the mandt and docnum fields.
1) segnam | 2) mandt2 | 3) docnum2 |
4) segnum | 5) psgnum | 6) hlevel |
<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'
msgfn | spras | maktx |
msgfn | spras_iso | fill954 |
The fill954 keyword is the filler for the segment because an incoming IDoc to SAP must have 1000 byte segments.