‎2014 Apr 28 2:16 PM
Hello,
I want to converte RAWSTRING to SOLIX TABLE.
how can i do that?
thank you...
‎2014 Apr 28 2:45 PM
Hi,
here an example from sending mail
it_graphics = is_job_info-xmloutput-xsfgr[].
LOOP AT it_graphics
INTO is_graphic.
CLEAR w_gr_xtxt.
LOOP AT is_graphic-content
INTO is_gr_raw.
CONCATENATE w_gr_xtxt
is_gr_raw-line
INTO w_gr_xtxt
IN BYTE MODE.
ENDLOOP.
w_gr_xtxt = w_gr_xtxt(is_graphic-length).
w_offset = 0.
w_len = 255.
CLEAR it_solix[].
WHILE w_offset < is_graphic-length.
w_diff = is_graphic-length - w_offset.
IF w_diff > w_len.
is_solix-line = w_gr_xtxt+w_offset(w_len).
ELSE.
is_solix-line = w_gr_xtxt+w_offset(w_diff).
ENDIF.
APPEND is_solix TO it_solix.
ADD w_len TO w_offset.
ENDWHILE.
Regards
Fred
‎2014 Apr 28 4:48 PM
what is is_job_info-xmloutput-xsfgr? it's à solix table?
thank(you
‎2014 Apr 28 6:55 PM
‎2014 Apr 28 4:52 PM