2004 Feb 19 5:04 PM
Hello people! I need to create an excel file and populate several sheets! How can I do this in ABAP??? I'm in 4.5B.
Regards,
Fábio Alessandro Comassetto.
Hello people! I need to create an excel file and populate several sheets! How can I do this in ABAP??? I'm in 4.5B.
Regards,
Fábio Alessandro Comassetto.
2004 Feb 20 10:27 AM
Although it's not very efficient, I think you might be stuck with using OLE Automation to populate the different sheets of the workbook.
This can only be done in dialog, as it requires the SAPGUI to act as the go-between for the SAP application server and Excel.
Scott
2004 Feb 20 11:41 AM
Where could I get some documentation about "using OLE with ABAP"???
Thanks,
Fábio.
2004 Feb 20 11:46 AM
Look at the ABAP documentation for CREATE and then follow-through to the section on CREATE OBJECT in OLE2 Automation.
There are a number of examples too. You might like to start with transaction OLE.
Scott
2004 Feb 20 1:40 PM
Check 'Office integration' node in transaction <i>DWDM</i> or the online help:
http://help.sap.com/sapdocu/core/47x200/HELPDATA/EN/59/ae3d25488f11d189490000e829fbbd/frameset.htm
Incho
2004 Feb 24 7:28 AM
best way is to use DOI and BDS technology.
look at I_OI_CONTAINER_CONTROL and CL_GUI_CUSTOM_CONTAINER
2013 Apr 29 10:01 PM
2013 Apr 29 10:03 PM
Go through Below link definetly help full.
http://wiki.sdn.sap.com/wiki/display/ABAP/Download+Data+into+Word+Document+using+OLE+Automation
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |