简体   繁体   中英

Exporting Excel files from SAP with pivot tables

I currently have a report which will be emailed to business users weekly. The data output can only be csv/xml and I do not have the ability to automatically add the requested pivot tables; therefore, I am attempting to pull the data with a Workbook_Open sub routine in an Excel file I will have premade. My issue here is I cannot use Macros on SharePoint nor can the Data be publicly accessed in a Macro...so I feel like I am up a creek.

Any suggestions from a VBA, Excel, or BEX/BOBJ standpoint?

Well if your report is forced to be csv/xml.... and you can't access the data directly through a macro... the solution is not terribly straight forward.

Here is how I would solve

1) SAP Job drops off file

2) Some type of automation kicks off a macro

3) Macro formats and emails report

probably possible to have sap email a spreadsheet formatted to taste directly via abap code.... that is not something i have much experience with.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM