I am traying to create and XML and save into file system, I get XML string by a web services and I pass this string to file system, the problem its that the xml are incomplete,I donwload file from AL11 and the file are incomplete
Original file looks like this
This is my code:
DATA: ruta TYPE string, long TYPE integer. ruta = '/tmp/darwin.xml'. OPEN DATASET ruta FOR OUTPUT IN BINARY MODE . long = strlen( i_input-mt_ventas_emision_res-factura-ruta_xml ). TRANSFER i_input-mt_ventas_emision_res-factura-ruta_xml TO ruta LENGTH long. CLOSE DATASET ruta. BREAK-POINT.
Can anyone help me?