Quantcast
Channel: SCN : Popular Discussions - Custom Code Management
Viewing all articles
Browse latest Browse all 731

XLS download (Using OLE2_OBJECT) not working for WebGUI.

$
0
0

Hi,

 

I am using OLE2_object to download XLS document which contains ALV output of my report.

the functionality is working Fine when ran through SAP GUI (SE 38), But when I tried to run the same from WebGUI (Portal) functionality fails and ther is no file download.

 

following is the code which i used for achieving this functionality.

 

As per my observation CALL METHOD of gv_excel (type ole2_object) is not populating LV_MAPL (type ole2_object) and afterwards ,

when we CALL METHOD of LV_MAPL (type ole2_object) it returns sy-subrc = 2.

 

I tried debugging CALL METHOD OF but it is not possible to debug.

Capture.JPG

 

can you please help me to understand what is the difference while running the report functionality from SAP GUI and from WebGUI.

Thanks in advance


Viewing all articles
Browse latest Browse all 731

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>