I have a special requirement. I need to add hex values in a report. To be specific, the special HEX characters: 0D 0A 0C 0C, has to be added to TOP of PAGE event.
Drawing What I want will be something like that:
CR/LF FF/FF
ABCDEFHGIJKLMNOZVCXCThis is a Report that has to be send to the spool. Once in the spool will be converted to TXT file. I created a small code using print control function but still It is doesnt working.
I defined a print control ZPAGE as 0D 0A 0C 0C.
Any idea how to do this?.
** This report doesnt include the Top-of Page event. ** Example Report. REPORT ZCAPRTHEX2 NO STANDARD PAGE HEADING. Data: String1(120) type c value 'ABCDEFHGIJKLMNOZVCXC'. WRITE : /. PRINT-CONTROL FUNCTION 'ZPAGE'. WRITE : string1.
This is what I see in SP01 as HEX View
ABCDEFHGIJKLMNO ZVCXC #ZPAGE