Skip to Content
author's profile photo Former Member
Former Member

What is the best way of interacting with MS Office?

Can anyone tell me which is the way to interact with Excel, MS word as far as performance factor is concerned?

Thnx in advance

Balaji

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Posted on May 21, 2004 at 12:57 PM

    I would suggest to take a look at 'Office integration' and 'OLE' nodes in transaction DWDM.

    You can find examples there.

    Incho

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 17, 2004 at 09:30 PM

    Hi!

    In our project, we use OLE Automation. You can use OLE2 objects by means of the statements:

    INCLUDE ole2incl.

    ...

    DATA x TYPE ole2_object.

    ...

    CREATE OBJECT x 'WORD.APPLICATION' .

    SET PROPERTY OF x '<property_name>' = <value> .

    GET PROPERTY OF x '<property_name>' = y .

    CALL METHOD OF x '<method_name>' = z

    EXPORTING #1 =...

    #2 =...

    ...

    FREE OBJECT x .

    It will be very helpful to inspect code examples of SAP.

    *--Serdar

    Add comment
    10|10000 characters needed characters exceeded