cancel
Showing results for 
Search instead for 
Did you mean: 

User not able to print/save the Report in PDF.

Former Member
0 Kudos

Hi,

I am facing one strange issue such that

Requirement of the user is, he wants to save the daily report (gate pass report) from the sap to his local front end machine.

we have created local font end printer named "PDF_Printer" with attributes like "local printer"--> LPT1 : printer port --> genric/text --> keep existing drivers --> do not share.

when we select the report and press pint the system did'nt respond but the spool request is created and with status "complete".

The same user tried the same thing on another machine the problem persists

The other user are able to do it smoothly.

Please find the trace for the same below

D Mon Jul 27 10:37:02 2015

D  GuiStatus update status prog >SAPLSPOOL_SP01R< status >1600< ts >20150727050702,032<

D    dynamic text state >W<

D  GuiStatus set generate inline ts >20150727050702,032<

D  GuiStatus store status prog >SAPLSPOOL_SP01R< status >1600< ts >20150727050702,035<

D  GuiStatus clear generate inline ts >20150727050702,124<

S

S Mon Jul 27 10:45:03 2015

S  RSPO_CHECK_FRONT_METHOD: Control does not support GetImplementedMethods

S

S Mon Jul 27 10:54:54 2015

S  RSPO_CHECK_FRONT_METHOD: Control does not support GetImplementedMethods

I  *** ERROR => invalid MPI handle: 0 [mpixx.c      3271]

I  *** ERROR => invalid MPI handle: 0 [mpixx.c      3271]

I  *** ERROR => invalid MPI handle: 0 [mpixx.c      3271]

I  *** ERROR => invalid MPI handle: 0 [mpixx.c      3271]

I  *** ERROR => invalid MPI handle: 0 [mpixx.c      3271]

I  *** ERROR => invalid MPI handle: 0 [mpixx.c      3271]

S

S Mon Jul 27 11:20:55 2015

S  RSPO_CHECK_FRONT_METHOD: Control does not support GetImplementedMethods

S

S Mon Jul 27 11:20:58 2015

S  RSPO_CHECK_FRONT_METHOD: Control does not support GetImplementedMethods

S

S Mon Jul 27 11:21:01 2015

S  RSPO_CHECK_FRONT_METHOD: Control does not support GetImplementedMethods

***SUBPOOL*** generating subroutine pool %_T000EU for user 660 (2db80001).

*GENER* request remote generation: RFMFMOAPRD1230005.

I  *** ERROR => SemRel: Inv. Operation. Units 1. Key=51 [semux.c      1317]

A  Error Code CALL_FUNCTION_CONFLICT_TAB_TYP.

I  *** ERROR => SemRel: Inv. Operation. Units 1. Key=51 [semux.c      1317]

A  Error Code CALL_FUNCTION_CONFLICT_TAB_TYP.

I  *** ERROR => SemRel: Inv. Operation. Units 1. Key=51 [semux.c      1317]

A  Error Code CALL_FUNCTION_CONFLICT_TAB_TYP.

I  *** ERROR => invalid MPI handle: 0 [mpixx.c      3271]

I  *** ERROR => invalid MPI handle: 0 [mpixx.c      3271]

I  *** ERROR => invalid MPI handle: 0 [mpixx.c      3271]

I  *** ERROR => invalid MPI handle: 0 [mpixx.c      3271]

I  *** ERROR => invalid MPI handle: 0 [mpixx.c      3271]

I  *** ERROR => invalid MPI handle: 0 [mpixx.c      3271]

I  *** ERROR => invalid MPI handle: 0 [mpixx.c      3271]

I  *** ERROR => invalid MPI handle: 0 [mpixx.c      3271]

C  ERROR: -1 in function RefillBuffer (fetch) [line 20937]

C  ERROR: -1 in function RefillBuffer (fetch) [line 20937]

B  ***LOG BY0=> [ASE Error SQL30062:HY000]Invalid character conversion.[ASE Error SQL30016:08S01]Bad TDS response stream received fr

B  dbtran ERROR LOG (hdl_dbsl_error): DbSl 'FET'

B  dbtran ERROR LOG (hdl_dbsl_error): DbSl 'FET'

C  ERROR: -1 in function DoPing (SQLAllocStmt failed) [line 21034]

C  (30102) [HY010] [Sybase][ODBC Driver]Function sequence error

I  *** ERROR => SemRel: Inv. Operation. Units 1. Key=51 [semux.c      1317]

A  Error Code DBIF_REPO_SQL_ERROR.

A  Error DBIF_REPO_SQL_ERROR occured.  P1=[REPO/*/43/LOAD/CX_SY_OPEN_SQL_DB=============CP        ] P2=CX_SY_OPEN_SQL_DB============

M  *** ERROR => ThWpHalt: halt wp (step 4, th_errno 5, action 2, level 1) [thxxhead.c   11315]

M  *  ERROR       ThWpHalt: halt wp

---------------------------------------------------

trc file: "dev_w5", trc level: 1, release: "720"

---------------------------------------------------

*

*  ACTIVE TRACE LEVEL           1

*  ACTIVE TRACE COMPONENTS      all, MJ

*

S  *** init spool environment

S  TSPEVJOB updates outside critical section: event_update_nocsec = 1

S  initialize debug system

S  spool kernel/ddic check: Ok

S  using table TSP02FX for frontend printing

S  1 spool work process(es) found

S  frontend print via spool service enabled

S  printer list size is 150

S  printer type list size is 50

S  queue size (profile)   = 300

S  hostspool list size = 3000

S  option list size is 30

S      found processing queue enabled

S  found spool memory service RSPO-RCLOCKS at c00000004f2ed080

S  doing lock recovery

S  setting server cache root

S  found spool memory service RSPO-SERVERCACHE at c00000004f2ed720

S    using messages for server info

S  size of spec char cache entry: 297032 bytes (timeout 100 sec)

S  size of open spool request entry: 2512 bytes

S  immediate print option for implicitely closed spool requests is disabled

H  HTTP> Parameter icf/ssocookie_mandatory set to 0

Please give some suggestions on it.

Pallav Thakur.

Accepted Solutions (0)

Answers (2)

Answers (2)

Laszlo_B
Active Contributor
0 Kudos

Hello Pallav,

if the requirement is to save a PDF file on the frontend, then the port of the File printer should not be LPT1 but FILE.

A step-by-step description which shows how a File printer should be created on the OS frontend can be found here: SAP Note #576973 - "Creating a file printer on a Windows PC".

Best regards,

Laszlo

tomasz_domanski
Contributor
0 Kudos

Hi Pallav,

Don't know how to solve your case but I can suggest a workaround - you can ask users to print to regular LP01 so that the spool request is generated. Then using the std report RSTXPDFT4 this spool request can be saved as PDF into someones drive.

You can assign program RSTXPDFT4 to transaction code (like YPDF?) and then give it to users via roles management.

Best Regards,

Tomek