cancel
Showing results for 
Search instead for 
Did you mean: 

converting spool ouput into ms word format

Former Member
0 Kudos

Dear experts,

I need to convert a spool request into MS WORD format.

Can any one show me the right way to do this ?

With Regards

Ravishankar Vembu.

Accepted Solutions (0)

Answers (2)

Answers (2)

raymond_giuseppi
Active Contributor
0 Kudos

Unfortunately SAP only provide ASCII and PDF conversion from OTF. (look CONVERT_OTF)

You may check the function module

CALL FUNCTION 'RSPO_DOWNLOAD_SPOOLJOB'
     EXPORTING
          id    =  id " spool id
          fname = fname " filename with .doc

But some formatting will be loss.

Regards

Former Member
0 Kudos

Hi!

No, you can convert them only into adobe PDF format.

Use the following function modules to it:

CONVERT_ABAPSPOOLJOB_2_PDF

CONVERT_OTFSPOOLJOB_2_PDF

ANd you can convert the PDF into MS word with an external program, with adobe acrobat for example.

Regards

Tamá

Former Member
0 Kudos

I have done the same , but the requirement is to convert the smart forms spool output to word document.

Can any one of you tell me if I can convert the spool output to xml format or html format.

With reg

Ravishankar