cancel
Showing results for 
Search instead for 
Did you mean: 

Excel download feature in Web Dynpro Abap using OAOR document

Former Member
0 Kudos

Hi Friends,

I am facing an issue in implementing excel download feature in Web Dynpro.

Problem: I have stored an excel document in OAOR. I am displaying data on screen using ALV display in WDA.

I will provide a button to download excel in toolbar of ALV. When user clicks on this button i need to pick the document from OAOR and fill that with my screen values and download it to users desktop.

Please help me in this. Problem is when i am calling these classes c_oi_container_control_creator=>get_container_control and cl_gui_custom_container from my View's method they are returning error.

Thanks & Regards,

Saud

Accepted Solutions (0)

Answers (1)

Answers (1)

Madhu2004
Active Contributor
0 Kudos

HI,

You cannot use GUI classes and methods in web dynpro . That will dump.

Instead you can use file down load UI element or..

If you have the content in xstring format use ATTACH_FILE_TO_RESPONSE method of CL_WD_RUNTIME_SERVICES class.

Regards,

Madhu