Each document starts with the 'H' flag that introduces the header (structure STXRDIH).
Then follow the data of structure ITCPO (SAPscript output interface).
Note the length specifications of the different fields. For integer types (INT1, INT2, INT4), it must not necessarily be the length defined in the ABAP Dictionary, but can also be the output length specified in the domain.