Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Create Macros in Excel using Abap

$
0
0

I have a requirement where I have to download the alv output to excel sheet (Simple table with multiple rows), However after I download the file I have to run the macro. Macro is not readily available. I have to create it from my abap program placing the scripts within the macro in my abap program. I searched various links and most of them provide information about running an existing macro. But in my case I need to create it in abap and then run it in downloaded excel file.

I am inserting a snapshot of my code of how I am filling the table entries. Any help would be greatly appreciated.

Excel_Macro.PNG

Excel_Macro.PNG

Excel_Macro.PNG

I have tried add_script from_table method but to no avail.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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