cancel
Showing results for 
Search instead for 
Did you mean: 

Error printing after creating multiple OTF spools into one OTF spool

Former Member
0 Kudos

I am facing a problem .
since a I am coding an abap's procedure to merge spools using the format type's 'SMART' into one spool without changing the type 'SMART', everything is working fine (the spool is generated , the preview of the otf's file is displayed with no error , logo , character , paragraphs etc)
I am using these functions :

1 first I open the spool

CALL FUNCTION 'RSPO_SR_OPEN'
EXPORTING
dest = p_dest
layout = l_layout
name = l_name
titleline = g_title
suffix2 = p_user
immediate_print = ' '
auto_delete = ' '
doctype = l_doctype
IMPORTING
handle = l_spool_handle
spoolid = lv_spoolid

2 then I get the spools to be merge from sp01 into a internal table

loop at spool id

CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
EXPORTING
rqident = ls_id_low
desired_type = 'OTF'
TABLES
buffer = gt_buffer
EXCEPTIONS

endloop

3 write into the new spool

CALL FUNCTION 'RSPO_SR_TABLE_WRITE'
EXPORTING
handle = l_spool_handle
*CODEPAGE = " I have tried codepage 1134 and '4103'
* TRUNCATE =
TABLES
lines = gt_soli_tab

4close the spool
CALL FUNCTION 'RSPO_SR_CLOSE'
EXPORTING
handle = l_spool_handle.

the LOCL printer has no problem because the printing is working fine when I launch it using the old spool generated by a standard transaction F150

but while I tried to print this new spool to the LOCL printer , the print failed message :

*******************************************

SAP spool error log
===================== Print request processing log
Character converter active when first problem occurred Data was saved with character set 4103
Data will be converted to character set 1134 (synt = 1134) Errors occurred processing this print request
OTF module: Character set conversion I -> N failed
OTF module: Character set conversion I -> N failed
OTF module: Character set conversion I -> N failed
OTF module: Character set conversion I -> N failed
OTF module: Character set conversion I -> N failed
OTF module: Character set conversion I -> N failed
OTF module: Character set conversion I -> N failed
OTF module: Character set conversion I -> N failed
OTF module: Character set conversion I -> N failed
OTF module: Character set conversion I -> N failed
OTF module: Character set conversion I -> N failed
OTF module: Character set conversion I -> N failedHello guys,

thank you to help me solve the problem

Accepted Solutions (0)

Answers (0)