Quantcast
Channel: SCN : Unanswered Discussions - ABAP Development
Viewing all articles
Browse latest Browse all 8768

XLS download ( Using OLE2_OBJECT) not working for WebGUI.

$
0
0

Hi experts,

 

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 8768

Trending Articles