2006 Mar 02 5:16 PM
I am using the Office Integration (OI) classes/methods in an ABAP program. It creates a large multi-tabbed Excel workbook with statistical data. I need to graph the data in some of the worksheets.
I am looking for code examples to create a bar chart. I think the method call GET_DOCUMENT_PROXY in the I_OI_CONTAINER_CONTROL interface has to use the 'Excel.Chart' document_type. I am using 'Excel.Sheet' right now. Can't find any examples or references.
Any help is appreciated.
Norm
I am using the Office Integration (OI) classes/methods in an ABAP program. It creates a large multi-tabbed Excel workbook with statistical data. I need to graph the data in some of the worksheets.
I am looking for code examples to create a bar chart. I think the method call GET_DOCUMENT_PROXY in the I_OI_CONTAINER_CONTROL interface has to use the 'Excel.Chart' document_type. I am using 'Excel.Sheet' right now. Can't find any examples or references.
Any help is appreciated.
Norm
2006 Mar 02 5:22 PM
Just found some stuff in R/3... like SAPRDEMOEXCELINTEGRATION.
Still open for more suggestions!
2006 Mar 02 5:51 PM
Are you wanting the graph to Excel, specifically? Or would it be OK to create it inside of SAP?
2006 Mar 02 6:03 PM
2006 Mar 02 6:07 PM
Thanks guys, but I have to use MS Excel. The file is going to be downloaded and emailed via SAPconnect. The client wants an Excel format.
2006 Mar 02 6:24 PM
Hi,
You can do this with 'Excel.Application' object , try to create the macro in excel according to your requirement and then get the code from excel macro with edit operation and then call same methods from ABAP.
Laxman
2007 Nov 21 11:31 AM
Hello Norman,
I have a similar requirement as your, I have created a multi-tabbed excel sheet using EXCEL.APPLICATION and need to put graphs in some excel.
Please let me know if you have already implemented this kind of requirement and can provide me with some sample code.
Regards,
Ruchi
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |