Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- report zvab.
- types:
- begin of ty_cidade,
- cidade type string,
- estado type string,
- end of ty_cidade.
- types:
- begin of ty_time,
- posicao type i,
- nome type string,
- cidade type ty_cidade,
- end of ty_time,
- ty_file type x length 1024.
- data t_times type table of ty_time.
- data t_file type table of ty_file.
- field-symbols <time> like line of t_times.
- data v_xml type xstring.
- data v_filelength type i.
- start-of-selection.
- cl_gui_frontend_services=>gui_upload(
- exporting
- filename = 'c:/temp/times.xml'
- filetype = 'BIN'
- importing
- filelength = v_filelength
- changing
- data_tab = t_file
- ).
- call function 'SCMS_BINARY_TO_XSTRING'
- exporting
- input_length = v_filelength
- importing
- buffer = v_xml
- tables
- binary_tab = t_file.
- call transformation zvab03
- source xml v_xml
- result time = t_times.
- break-point .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement