Application Development 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: 

OLE - ADD TABLE TO DOCUMENT OF WORD

Former Member
0 Kudos

I WRITE REPORT AT ABAP THAT I ADD TABLE TO DOCUMENT OF WORD OFFICE BY USING ESPECIAL COMMANDS OF OLE, BUT width of all columns of table is identical.

i need help of you to get example program that setting

different width, for example 5 chars for one column, 30 chars for second and so.

thanks for who help me.

2 REPLIES 2

Former Member
0 Kudos

Hi ,

check the program "SAPRDEMOWORD97INTEGRATION", If you want to Integrate MS-office with sap , please refer to http://help.sap.com/saphelp_erp2005/helpdata/en/e9/0be775408e11d1893b0000e8323c4f/frameset.htm<a href=""></a>

<i>Reward Points If It Helps YOU</i>

Regards,

Raghav

athavanraja
Active Contributor
0 Kudos

Hi welcome to SDN.

check out the following article for sample code.

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c1d54348-0601-0010-3e98-bd2">An Easy Reference for OLE Automation.pdf</a>

Regards

Raja