‎2008 Mar 24 2:32 PM
Hi,
I am reading a file curreunlt from the presentation server as below
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
EXPORTING
FILENAME = L_FILENAME
FILETYPE = 'BIN'
The filetype is the above is BIN.
Can a xml file be read from the application using the open dataset?
If it can be read using open dataset, can it be converted into a binary stream as done by the earlier call??
Regards,
Vignesh
‎2008 Mar 24 5:36 PM
Hello Vignesh.
First of all, i must say that you can open a XML from application server using open dataset, depending of your system version. What's yours?
I don't know from which version you started to can do it, but in ECC 600 you can use this:
OPEN DATASET dset FOR (input/output)
IN BINARY MODE ENCODING (UTF-8/DEFAULT).
depending of the goal and the encoding you use.
Best regards,
Valter Oliveira.