on 2015 Jun 10 8:38 AM
Hi All,
i've a table data that data needs to be export into excel multiple sheets. in abap i know the process same its nt working in WD.
any one know about this in wd kindly reply.
Regards,
Jack.
Request clarification before answering.
Hi Jack,
You need to convert table data into xml format and then use wdr_task=>client_window->client->attach_file_to_response( )
Refer the below link and build the xml file as per your requirement.
Download Webdynpro table data in Cell formatted Excel Sheet
Please refer the below sample,
xml format for the excel with 3 sheets with some data
<col2>Column2</col2>
</row>
<row id="1_2">
</row>
</sheet>
<sheet id="2" name="Sheet2">
<col2>Column2</col2>
</row>
<row id="2_2">
<col2>4.0</col2>
</row>
</sheet>
<sheet id="3" name="Sheet3"></sheet>
</book>
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramakrishnappa,
I have a requirement to download & upload data into/from Excel sheets. I referred the link you mentioned and converted the data into XML code and download the data as .xls file.
Download Webdynpro table data in Cell formatted Excel Sheet
While uploading, i used the FM: 'CALL FUNCTION 'POC_HR_KR_XSTRING_TO_STRING', and i can able to retrieve the XML code back.
My problem is, I found difficulty to extract the data from XML. So is there any class/method to get only the table details from the XML?
Or this there any way to download the XML code in .XLSX format?.
Could you please me on this. Thanks in advance.
Regards,
Kaushik
User | Count |
---|---|
79 | |
29 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.