简体   繁体   English

使用数据透视表从SAP导出Excel文件

[英]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; 数据输出只能是csv / xml,并且我无法自动添加所请求的数据透视表。 therefore, I am attempting to pull the data with a Workbook_Open sub routine in an Excel file I will have premade. 因此,我试图使用预先制作的Excel文件中的Workbook_Open子例程提取数据。 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. 我的问题是我无法在SharePoint上使用宏,也无法在宏中公开访问数据...所以我感觉自己像是一条小河。

Any suggestions from a VBA, Excel, or BEX/BOBJ standpoint? 从VBA,Excel或BEX / BOBJ的观点有什么建议吗?

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. 好吧,如果您的报告被强制为csv / xml ....,并且您无法直接通过宏访问数据...该解决方案并非十分简单。

Here is how I would solve 这是我要解决的方法

1) SAP Job drops off file 1)SAP Job删除文件

2) Some type of automation kicks off a macro 2)某种类型的自动化开始于宏

3) Macro formats and emails report 3)宏格式和电子邮件报告

probably possible to have sap email a spreadsheet formatted to taste directly via abap code.... that is not something i have much experience with. 闷闷不乐地给树液发送电子表格,以通过abap代码直接品尝。...这不是我有很多经验的东西。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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