Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Excel / ABAP / OLE ! How ?

Former Member
0 Likes
1,394

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.

7 REPLIES 7
Read only

Former Member
0 Likes
1,358

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

Read only

0 Likes
1,358

Where could I get some documentation about "using OLE with ABAP"???

Thanks,

Fábio.

Read only

0 Likes
1,358

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

Read only

0 Likes
1,358

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

Read only

0 Likes
1,358

best way is to use DOI and BDS technology.

look at I_OI_CONTAINER_CONTROL and CL_GUI_CUSTOM_CONTAINER

Read only

0 Likes
1,358

This message was moderated.

Read only

0 Likes
1,358