Skip to Content
0
Nov 11, 2009 at 01:19 PM

ABAP with OLE for Word

1336 Views

Dear sirs,

can anyone help me with indention and spacing when printing to Word document using OLE for MS Word?

I need to have 2 cols: start with the same left indention.

I cannot pass enough spaces (I don´t know how, because the spaces in the string to print just disappear).

I tried to use the word table so its cols and rows will drive the layout, but now I can´t get rid of the word wrap if the text in a cell is longer than the cell width.

Can you help mi with one (or all) following:

- how to add multiple spaces into the print

- how to add a /t (tab) character into the print

- how to create a table which cells has various width, which I can change

Please provide any useful code snippets, thank you all in advance, Otto