4.3.4.14. SAP IDOC
SAP IDOC are the well-known SAP interchange format. You can obtain the definition parser directly from SAP. In order to do this, select the transaction WE63. Select Basic type or Extended Type according IDoc extensions usage.
IDOC parser sample
Below is a sample of SAP IDOC file:
BEGIN_RECORD_SECTION BEGIN_CONTROL_RECORD BEGIN_FIELDS NAME TABNAM TEXT Name of external structure TYPE CHARACTER LENGTH 000010 FIELD_POS 0001 CHARACTER_FIRST 000001 CHARACTER_LAST 000010 NAME MANDT TEXT Client TYPE CHARACTER LENGTH 000003 FIELD_POS 0002 CHARACTER_FIRST 000011 CHARACTER_LAST 000013 NAME DOCNUM TEXT IDoc number TYPE CHARACTER LENGTH 000016 FIELD_POS 0003 CHARACTER_FIRST 000014 CHARACTER_LAST 000029 NAME DOCREL ...