cancel
Showing results for 
Search instead for 
Did you mean: 

No output with IMPORT_TEXT for RTF, but perfect in preview mode

Former Member
0 Kudos

I need to print a WORD document with the Job Ticket. I have saved the document in RTF formant and added the IMPORT_TEXT logic to bring the document in. In PRINT PREVIEW mode, the result is exactly what we want, but if run to produce printed output, not only the WORD document doesn't print, but the original SapScript Job Ticket no longer prints either.

This occurs even if I don't try to print any of the text from the WORD document. All I have to do is perform the IMPORT_TEXT routine and the SapScript output is lost.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Try using function GUI_UPLOAD or WS_UPLOAD instead.

Cheers.

...Reward if useful.

Former Member
0 Kudos

WS_UPLOAD says it is for ASCII files only and is marked as obsolete. Therefore, I tried using the GUI_UPLOAD. I experienced the same problem as with IMPORT_TEXT. The original document stopped printing when I just executed the GUI_UPLOAD function module. I didn't even try to use the information that I had uploaded to the internal table. I did check the table and in both cases, the text was loaded from the RTF WORD document.