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: 

How to add bulleted list in Word document using OLE2 SAP ABAP

0 Kudos

Hello,

I couldnt find if its possible to add bulleted or numbered list to my word document using sap abap.

If anyone knows please inform me.

Also i couldnt find ole2_object functions list, is there any?

Im using CALL METHOD OF gs_selection 'TypeParagraph' 'TypeText' 'INSERTNEWPAGE' etc. but i want to know what other possibilities are.

2 REPLIES 2

Sandra_Rossi
Active Contributor
0 Kudos

When you work with OLE in ABAP, the only experience you need is to know how to record actions in Word to generate VBA code automatically (record macro), and how to convert VBA code into ABAP OLE.

You don't need to know anything about what is TypeParagraph, etc.

What is "ole2_object functions list"? I just know the type "ole2_object" which is stored in the OLE2 type pool/group (SE11).

raymond_giuseppi
Active Contributor
0 Kudos

Suggested steps to perform

  1. Record a macro within Office
  2. Display the VBA generated code
  3. Convert it to Abap

There is a guide in archives of forum at Copying data from Microsoft Excel to ABAP using OLE