on 05-28-2015 12:34 PM
Hi All.
We have some issues on our sp01 with regards to LP01 printer.
In SP01, it is throwing status Incorrect (Error Sending Data) and job status "completed" with message "Processing by spool work process compl".
Problem is that it is causing thousands of errors in SP01 and we´re unable to sort which errors are true. Is there a way we can eliminate the false errors from Lp01?
The errors are coming from background job. When checking the Print Specification of the background job it is set to NULL printer not until a spool lists are created then it will set to LP01 printer and there comes the error.
Please suggests on how we can eliminate this issue.
Thank you in advance.
regards,
Florence
Dear Florence,
could you please help if I understood correctly what is happening:
Do I understand correctly?
If yes, it seems the first problem is that Output Device LP01 will be selected instead of NULL. Usually this happens when there is some kind of problem in the program logic, and LP01 will be selected as an error-handling Output Device. The report needs to be checked why this happens.
Anyway: is there a "Log" associated with these incorrect spools? If yes, what does the error message show in this Log?
Best regards,
Laszlo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Laszlo.
Yes, that´s totally correct.
Problem is that there are lot of background jobs that causes this error in LP01 output device so i think it will used a lot of time to check each reports. Are there any other way to correct it?
Here´s the sample log:
SAP spool error log
=====================
Print request processing log
----------------------------------------------
The host spool is reporting errors
------------------------------------------------------
Windows/NT error 1801 [\\serverxx\marked]: "The printer name is invalid."
Errors occurred processing this print request
--------------------------------------------------------------------
Error during print request output. l_rc = 1
There may be no printout
Most important attributes of spool request
-------------------------------------------
Request number 239800
Request name LIST1S LP01 ZEWM_DEMO_CI
Client 300
Owner SAP_BGD
Request attributes
Time created 2015060206173200
Remaining life +00007235946
Dispo 1 (Go/Hold) G
Dispo 2 (Keep/Delete) K
Dispo 3 (Indirect/Direct) D
Default output device LP01
Default no. copies 1
Format X_65_80
Main print request characteristics
------------------------------------------------
Spool request number 239800
Print request number 1
Print request attributes
Time created 2015060206173200
Output device LP01
Format X_65_80
Character converter active when first problem occurred
-----------------------------------------------------------------
No information available
Hi Peng,
Thank you for the tips. I have already sorted out how to check which background jobs have been using LP01.
I have just changed the printer LP01 in SPAD and change the host printer to __DEFAULT and Access Method to F.
Now the status in SP01 is giving "-"
Please let me know if we could use access method F for Lp01.
Thank you very much in advance.
Regards,
Florence
Hello Florence,
and thanks for the screenshots and excerpt. The problem here is that Windows has reported a "The printer name is invalid." error message. This means that R/3 tried to print on the physical printer named \\serverxx\marked, but Windows reported that a printer with such a name is not known.
This means that currently the possible solutions are:
Best regards,
Laszlo
Thank you for your detailed explanation Laszlo.
On your point 2, how can i make it not to have "error" or red in SP01?
As it is creating thousands for red status in SP01, it is very difficult for us to sort out which one is the real error.
Can we use access method "F" for LP01?
I have currently changed the host printer to __DEFAULT and access method to F in our development system. Now I am getting status "-" in SP01.
Regards,
Florence
Hello Florence,
yes, this solution might work - and if you have several systems with different Basis Releases, in some of the older releases this solution might not work.
The reason is SAP Note #1908487 - "No Immediate Print to Front-End Printer from Bckgd. Work Pr.": after the kernel patch listed in this Note is implemented, spools created in background jobs which should be printed immediately on the frontend will be reset. This means that the Status will be "-" in SP01.
This means the following:
Best regards,
Laszlo
Hi Laszlo.
Thank you very much all of your inputs in this discussion.
I looked back on your previous reply regarding the checking of NULL output device.
It turns out that there are also some error coming in this output device.
So might be the root cause of the error from LP01 is from NULL output device ? and this should be fixed first?
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 1116 (synt = 1116)
Errors occurred processing this print request
--------------------------------------------------------------------
OTF module: Unknown print control ZZFWN should be output
The host spool is reporting errors
------------------------------------------------------
Message from host spool:
Unable to initialize device NULL
End of message
Command used: print /d:NULL S:\usr\sap\SID\DVEBMGS00\data\000024056700001.U01
Errors occurred processing this print request
--------------------------------------------------------------------
Error during print request output. l_rc = 1
There may be no printout
Most important attributes of spool request
-------------------------------------------
Request number 240567
Request name SMART NULL EWMREMOTE
Client 300
Owner EWMREMOTE
Request attributes
Time created 2015060211303600
Remaining life +00008000000
Dispo 1 (Go/Hold) G
Dispo 2 (Keep/Delete) K
Dispo 3 (Indirect/Direct) D
Default output device NULL
Default no. copies 1
Format DINA4
Main print request characteristics
------------------------------------------------
Spool request number 240567
Print request number 1
Print request attributes
Time created 2015060211303600
Output device NULL
Format DINA4
Character converter active when first problem occurred
-----------------------------------------------------------------
No information available
Hello Florence,
thanks for the new excerpt too - as I can see a SmartForm would be printed here.
The problem is that Output Device NULL processes SmartForm spools as regular spools, so it will not delete them as it does with ABAP lists / SAPScripts.
SAP Note #181571 - "Output device NULL" describes:
"Note that this applies only to printing lists and SAPscript. When you use Smart Forms and SAP Interactive Forms by Adobe, spool data is created.
<...>
If you do not want to output text from Smart Forms und SAP Interactive Forms by Adobe or keep the print data, create the spool request without immediate output and execute report RSPO1041 daily."
This means that the problem flow is the following:
The solution to this problem is to create such a printer on OS level which can accept these spools, and will delete them instead of printing - then the name of this OS printer can be entered in transaction SPAD as the host printer name.
Also, there is another error message in the excerpt: "OTF module: Unknown print control ZZFWN should be output".
This usually means that a printer command meant for a different Device Type should be used with the "current" Device Type, which does not know this printer command.
The developer of the used SmartForm form needs to check why this difference between the Device Types appears.
Currently these problems doesn't seem to be "enough" for the system to switch to Output Device LP01 from NULL - for this reason the developer of the ABAP report needs to check why this Output Device change happens.
Best regards,
Laszlo
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.