cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform logo output in doc file

sushant_singh
Participant
0 Kudos

Hi Experts,

I am trying to import smartform output to a doc file .The problem I am getting is that the smartform logo is not visible in the output file.

Can you please suggest me how can I insert an image in doc file using OLE.

points are sure.

Thanks,

Sushant

<MOVED BY MODERATOR TO THE CORRECT FORUM>

Edited by: Alvaro Tejada Galindo on Dec 23, 2008 11:27 AM

Accepted Solutions (0)

Answers (2)

Answers (2)

Sandra_Rossi
Active Contributor
0 Kudos

If it's only an OLE question. You should know visual basic for word.

To open a document for example, is done in vba :

set mydoc = Documents.Open( "c:\kdjfdf.doc" )

it corresponds to the following OLE commands (if I remember well):

TYPE-POOLS ole2.
DATA word_application TYPE ole2_object.
DATA documents_collection TYPE ole2_object.
DATA my_document TYPE ole2_object.
CREATE OBJECT word_application 'word.application'.
CALL METHOD OF word_application 'Documents' = 
    documents_collection.
CALL METHOD OF documents_collection 'Open' = 
    my_document EXPORTING #1 = 'c:\kdjfdf.doc'.

Former Member
0 Kudos

Hi Sushant,

import smartform output to a PDF .

program name :RSTXPDFT4 -> Execute -> enter smartforms spool request -> Execute -> save file.

might be your problem sloved.

Regards

Sam.