Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Uploading a XML file in Web dynpro Component

Hi Abap Experts,

In my requirement i have to uplaod an XML file in Web dynpro Component. Is possible to do so? We have any function modules or Classes For it?




Hi Sandy,

where exactly lie these "Request Folder" and "Response Folder". Is it on your Presentation Server (Client) ? Is it on the Application server?

I understood so far: You click a button, something is happening, and you have the response XML file which you want to upload back to WD4A runtime.

Should this happen automatically within the whole "Click on shipment-button action"? If yes, can your System know when the Response XML File is available?

In general, I think you could just use

DATA: lv_xstring_response TYPE xstring.

OPEN DATASET <path_for_response_xml_file> FOR INPUT IN BINARY MODE.

READ <path_for_response_xml_file> INTO lv_xstring_response.

CLOSE DATASET <path_for_response_xml_file>.

Then you can convert this xml or bind it to context or whatever you need.

cheers, Lukas

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question