SAP Output blocks on printer
We are facing some printing prob: SAP Output blocks on printer LJ06 frequently: waiting in host spooler
SAP Output blocks on printer LJ06 frequently (= every day, more then 1 time).
This for output sent from several transactions (= not only or every time from the same transaction)
We only have problem with SAP printing. No problem with BaaN printing neither with windows printing. Some follow-up tests done : it takes average 5 minutes before the status in SAP printer spooler is changing from 'Waiting for output formatter' to 'Waiting for host spooler'. Please provide some solution for this prob.
Regards,
Ansar
Here in SPAD: Acces tab: Host Spool Access Method: E: External Output Management system.
Its mention E, so you mean to say i need to change the Access method to L, S, C, U
When iam selecting L,S,C,U the system is showing the Donot query host Spooler for output status.
So wht need to be done?
In Dev server method is E, here the system doesnot show the option of Donot query host Spooler for output status.
In Quality server method is E, here i can view the option of Donot query host Spooler for output status.
In Prod server method is E, here the system doesnot show the option of Donot query host Spooler for output status.
Iam coming nearer to the solution. can you plz elaborate this.
Similar Messages
-
To upload a RTF and a PDF file to SAP R/3 and print the same through SAP
Hi,
I have a requirement to upload a PDF file and a RTF file to SAP R/3 and print the same.
I wrote the following code for uploading a RTF file to SAP R/3 and print the same. However, the problem is , the formatting present in the RTF document( bold/italics..etc) is not being reflected when I do the 'print-preview' after the executing the code below :
report z_test_upload .
data: begin of itab occurs 0,
rec type string,
end of itab.
data: options like itcpo.
data: filename type string,
count type i.
data: filetype(10) type c value 'ASC'.
DATA: HEADER LIKE THEAD OCCURS 0 WITH HEADER LINE.
DATA: NEWHEADER LIKE THEAD OCCURS 0 WITH HEADER LINE.
DATA: ITFLINE LIKE TLINE OCCURS 0 WITH HEADER LINE.
DATA: RTFLINE LIKE HELP_STFA OCCURS 0 WITH HEADER LINE.
DATA: string_len TYPE i,
n1 TYPE i.
selection-screen begin of block b1.
parameter: p_file1(128) default 'C:\test_itf.rtf'.
selection-screen end of block b1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file1.
CALL FUNCTION 'F4_FILENAME'
IMPORTING
file_name = p_file1.
start-of-selection.
move p_file1 to filename.
call function 'GUI_UPLOAD'
EXPORTING
filename = filename
filetype = filetype
TABLES
data_tab = itab
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
others = 17.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
loop at itab.
string_len = strlen( itab-rec ).
n1 = string_len DIV 134.
ADD 1 TO n1.
DO n1 TIMES.
rtfline-line = itab-rec.
APPEND rtfline.
SHIFT itab-rec BY 134 PLACES.
ENDDO.
endloop.
HEADER-TDSTYLE = 'S_DOCUS1'.
HEADER-TDFORM = 'S_DOCU_SHOW'.
header-tdspras = 'E'.
CALL FUNCTION 'CONVERT_TEXT'
EXPORTING
CODEPAGE = '0000'
DIRECTION = 'IMPORT'
FORMAT_TYPE = 'RTF'
FORMATWIDTH = 72
HEADER = header
SSHEET = 'WINHELP.DOT'
WITH_TAB = 'X'
WORD_LANGU = SY-LANGU
TABLETYPE = 'ASC'
TAB_SUBSTITUTE = 'X09 '
LF_SUBSTITUTE = ' '
REPLACE_SYMBOLS = 'X'
REPLACE_SAPCHARS = 'X'
MASK_BRACKETS = 'X'
IMPORTING
NEWHEADER = NEWHEADER
WITH_TAB_E =
FORMATWIDTH_E =
TABLES
FOREIGN = RTFLINE
ITF_LINES = ITFLINE.
LINKS_TO_CONVERT =
if sy-subrc <> 0.
endif.
CALL FUNCTION 'PRINT_TEXT_ITF'
EXPORTING
HEADER = newheader
OPTIONS = options
IMPORTING
RESULT =
TABLES
LINES = itfline.
if sy-subrc <> 0.
endif.
Any hints or suggestions to solve this problem will be highly appreciated.
Thanks,
AvraHi Vishwas,
Check out the thread [Efficient way of saving documents uploaded|Re: Efficient way of saving documents uploaded by users; and check the blog by Raja Thangamani.
Also check the thread [Export Images through Function Modules |Export Images through Function Modules;.
Hope it helps you. -
How to send output of a print to a single pool in smartforms
Hi,
when iam taking a an out put from the invoice all the output has to be send to a single pool .means if we give an invoice number in vf03 and issue the output and if we choose print then it will directly got to spool.but requirement is to store all the spool numbers on application server and finall we have to convert all these into single pdf and then we have to print that.
can any body tell me where to store these spool numbers and how we can send at a time to print
help me pleases
sasiHi Sasi,
Check the following:
Exporting the Contents of a Spool Request as a PDF File
Use
You want to export the contents of a spool request as a PDF file to a directory of your choice, and print the file as required. The PDF file contains the print data in the format in which it would be output by the printer.
The following procedure is irrelevant for the PDF-based form printing integrated as of SAP Web Application Server 6.40, since a PDF file is already returned. See also Displaying and Printing PDF-Based Forms.
Procedure
The PDF file is generated as follows with report RSTXPDFT4:
1. Generate a spool request from the document to be printed.
2. In transaction SE38, start report rstxpdft4.
3. In the displayed window, enter the spool request number and the directory in which the PDF file is to be stored.
Leave the Download PDF File option selected.
Choose Execute.
4. In the next window, you can confirm or change the path in which the file is be stored.
Save your entries.
5. The system displays a log from which you can see whether the report was successfully performed.
You can then open the file from the directory and print it as required.
Constraints· The PDF conversion only supports true bar codes for Smart Forms, which were generated with the new bar code technology. In all other cases, the bar code is only simulated.
· PDF conversion, especially of ABAP lists, is slower and is therefore not suitable for mass printing. However, you can speed up the conversion to PDF using the FASTLISTCONV option in report RSTXPDF3.
· The font selection for ABAP lists is predefined in the PDF converter and cannot be changed.
For more information about constraints, see SAP Note 323736 in the SAP Service Marketplace.
For further reference check the SAP documentation...
http://help.sap.com/saphelp_erp2005/helpdata/en/94/45c53bcc422d42e10000000a114084/frameset.htm
Thanks and Regards,
Bharat Kumare Reddy.V -
List of script and smart forms(except TNAPR) with output type or print prog
How to find out List of SAP SCRIPT and SMART FORMS (except TNAPR)with output type or print program..I like to chk in output type WMTA whch form should use.kindly help on this
Hi
WMTA is special msg and doesn't create any print: so you can't find a sapscript or smartform to link to it.
WMTA is a message for delivery, so you can find it by NACE trx or TNAPR table (It's the same): infact here it can find only all messages of logistic modules (SD & MM).
The routine ENTRY of RLAUTA20 is called by WMTA and creates a Transfer Order (for WM, Warehouse Management, module), so if you need to create a print for that msg you need to change prg RLAUTA20,
Max -
Hi All,
we are facing a very strange issue with SAP output in Thai Language for only customer address.
We have hardcoded language for the customer address to be in thai.
While in preview we can see the customer address in thai language but when we print the output, the characters are not coming in thai language.
Please find the two screen shot explaining the differences.
Can anyone please help..Hi Devendra Singh,
I think it's not possible to show all field values in another Language (Eg Thai) But it's possible if it's short Text, Long Text etc
SE63 and follow menu
Translation
ABAP Objects
Short Text / Long Text Etc..
AND
Translation
NON ABAP Objects
For that also you have to maintain it first in SE63..
[SAP Help1|http://help.sap.com/erp2005_ehp_04/helpdata/EN/77/5719d2492011d1894a0000e829fbbd/frameset.htm]
[SAP Help2|http://help.sap.com/erp2005_ehp_04/helpdata/EN/b4/54601d77f38e429ffad9e3e11c1b25/frameset.htm]
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
ilesh Nandaniya -
Output determination and Printer determination for both PO and GR
Dear all,
Can anyone please help me in congiguring the output determination and printer determination for both PO and GR. please give me detailed configuration including the paths as i am stuck with the configuration.
Thanks & Warm Regards
Somashekar Anandhi Somashekar
follow he steps
Output of Purchase Order
1. Condition Table
SPRO > Material Management> Purchasing -> Message -> Output Control->Condition Tables->Define Condition Table for Purchase Order
Select:
Purchasing Doc. Type,
Purch. Organization,
Vendor
2. Access Sequences
SPRO -> Material Management-> Purchasing -> Message -> Output Control->Access Sequences->Define Condition Table for Purchase Order
3. Message Type
SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Types->Define Message Type for Purchase Order
*4. Message Determination Schemas*
4.1. Message Determination Schemas
SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Maintain Message Determination Schema
4.2. Assign Schema to Purchase Order
SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Assign Schema to Purchase Order
5. Partner Roles per Message Type
SPRO -> Material Management-> Purchasing -> Message -> Output Control-> Partner Roles per Message Type ->Define Partner Role for Purchase Order
6. Condition Record
Navigation Path: SAP Menu-> Logistics -> Material Management -> Purchasing-> Master data->Messages-> Purchase Order-> MN04-> Create
Now you create PO (ME21N) and save it. Go to ME22N and print the PO by giving output type.
Output of GR
After setting table, access sequence and output type for GR,run MB02 transaction, enter material document number. Double click one line item and select messages. Separate screen will be opened to configure outputs. Give the required fields and save the document. Now Run MB90, you can take printout. Output Type: WE03 or WE01 or WE02
Reward points if helpful
Thanks and regards
Ravikant Dewangan -
List of Output For Particular Printer
HI,
SAP guru,
I want to find out LIst of OUTPUT for Particualr Printer.
Can you Plz Advice me
Thanks
BhushanHi,Goto SE16 table and give table name NAST and then give out put device(field name-LDEST) and the execute afetr out put you can see out type in the field "message type"(KSCHL)
Hope you are very clear now...
Regards,
Chandra -
Very Urgent! Print Report output to local printer on button click in form
In Sales Order Form there is a print receipt button. In current situation On Clicking the 'Print Receipt Button' it submits a XML Publisher report(PDF output) to the concurrent manager. Currently to print that report i need to go view--> requests--> view output and then print. According to my new Requirement i need to print that report directly to local printer on one simple Print receipt button click in form.
I am trying to call the printers on server using custom.pll. The report is running successfully but it is not printing output to the local printer. I need to print the report to the local printers based on responsibility. Local printers are available on apps server. Can anyone help me on this issue ASAP.
Is it possible to print the document using custom.pll? Is there any other alternative to print the report on simple button click in form.
Environment: Apps 11.5.10.2, Forms 6i
Here is the code that i am using in my custom.pll.
if (v_form_name = 'OEXOETEL' --and v_block_name = 'LINES_SUMMARY'
and name_in('parameter.ACTIONS') = 'PAYMENT_RECEIPT' )THEN
l_organization_id := Name_In('PARAMETER.OE_ORGANIZATION_ID');
l_order_header_id := Name_In('ORDER.header_id');
select to_number(oe_sys_parameters.value ('SET_OF_BOOKS_ID')) into l_sob_id from dual;
xml_layout := FND_REQUEST.ADD_LAYOUT('XXAFP','XXAFPOEXPMTRCRTF','en','US','PDF');
select a.profile_option_value
into v_printer_name
from fnd_profile_option_values a
, fnd_profile_options b
, fnd_profile_options_tl c
, fnd_user fu
where a.profile_option_id = b.profile_option_id
and c.profile_option_name = b.profile_option_name
and fu.user_id (+) = a.level_value
and c.language = 'US'
and c.user_profile_option_name='Printer'
and a.level_id = 10003 ;
if (FND_SUBMIT.SET_PRINT_OPTIONS(v_printer_name, 'Portrait', 2, TRUE, 'N'))
then
l_new_request_id := FND_REQUEST.SUBMIT_REQUEST('XXAFP','XXAFPOEXPMTRC',
null,null,FALSE,l_sob_id,l_organization_id,NULL,NULL,l_order_header_id,
chr(0), '', '', '', '', '', '', '', '', '', '',
end if;
fnd_message.set_string('Request Submitted for Custom Payment Receipt. Request ID is '||l_new_request_id);
fnd_message.show;
copy('NULL','parameter.ACTIONS');
IF (l_new_request_id = 0) THEN
FND_MESSAGE.RETRIEVE;
FND_MESSAGE.ERROR;
else
l_commit_result := APP_FORM.QuietCommit;
END IF;
I need to complete this requirement immediately. Can anyone suggest me better ways in doing this.
Thanks,
SrinivasI solved this problem myself using shell script through custom.pll. I wrote shellscript and called that shellscript through FND_REQUEST.SUBMIT_REQUEST.It printed 2 copies to local printer.
-
How to send background program output to a printer
Hi !
I created a background report,running via a job in background. I need to display the output of the background report via two channels : a printer and an e
mail. I created the output of the report by using the command Write, and the output is printed to screen. However this solution is good for an online report and not for background report ? and my question is how to send the background report output to a printer in background .
Thanks
MosheHi,
If you are using JOB_OPEN, JOB_SUBMIT & JOB_CLOSE to execute the program in background, then in the FM JOB_SUBMIT you have a parameter PRIPARAMS for which you need to pass a value.
Before that get all the Print Parameters using FM GET_PRINT_PARAMETERS. Then pass the same to PRIPARAMS.
This would solve the problem.
Best regards,
Prashant -
Customer Statement using SAP Script and Standard print program RFKORD10
Using sap script and standard print program RFKORD10 I need to create a customer statement where the main window will be as follows
Invoice # InvoiceDate CustomerPO Debit Amt Credit Amt Total
6 7 8 9 10 11
6 7 8 9 10 11
Totals 12 13 14
Where company code BKORM-KUKRS
Invoice BSID-BELNR
Invoice date BSID-BLDAT
Customer PO VBKD-BSTKD
For each document number selected there will be one to many records in VBRP. For each invoice item in VBRP:
u2022 Select BSTKD from VBKD where
o VBELN = VBRP-VGBEL and
o POSNR = VBRP-VGPOS
u2022 If no hits then select BSTKD from VBKD where
o VBELN = VBRP-VGBEL
If there is more than one PO per invoice then list them in the Customer PO field without repeating the other fields.PO shouldnu2019t come more than once per invoice.
Debit Amt if BSEG-SHKZG = S then WRBTR ELSE 0
Credit Amt if BSEG-SHKZG = H then WRBTR ELSE 0
Total Debit Amt u2013 Credit Amt
Totals Subtotals
It will be of great help if some one can help me with the script and the alterations required in standard print program RFKORD10
Points will b rewarded for sure.
Thanks.Hi Suganya,
The custom form is getting displayed properly. But the requirement is to have it as an editable PDF. So the functional team is working on configuring the settings of PDF forms with customers email address.
But for right now, i customized the standard form F140_ACC_STAT_01 and standard print program RFKORD10_PDF and did the configuration. It is getting displayed (I tested only with the transaction FBL5N - customer open line items..)
Please let me know any further details on this.
Poornima -
Red Light in Output Message for Print
Hello.
When I create an Output Message to Print a Purchase Order, a red light appears in the status column.
Then when a I click over, the system said " No Analysis Log exist".
Does anyone know what turns this on?
I appreciate your help.
Hector.Hi,
Check following options:
Option:1-->Are you using two output type of Purchase order Print( one is default output type & one you are entering manually).
Check your entry of print operation ( 1 or 2) for your PO output type manually in following path:
SPRO>MM>Purchasing>Message>Output control>Message type> Define message type for Purchase Order-->Fine-Tuned Control: Purchase Order
Option:2-->Have look on dispatch time ( 1 or 2 or 3 or 4) set for output type in NACE t.code
Option:3--> In NACE t.code for output type, check CannotBeChanged check box selected or not in default tab.
Regards,
Biju K -
Invoice outputs are not printing after saving the document..!
Invoice outputs are not printing after saving the document. Eventhough we maintain all condition records not only that Processing log also it showed that it has been processed on some date. but customer not received the printout
AmarhI,
GO TO IMG, SD, BF, OUTPUT CONTROL, OUTPUT TYPES, SELECT UR OUTPUT TYPE, GO TO DETAILS ICON AND ASSIGN THE VALUE "ISSUE OUTPUT IMMEDIATELY SAVING THE APPLICATION" FROM DROP DOWN DOWN LIST IN THE DEFAULT VALUES
AND ASSIGN THE RELEVENT PRINTER TO USER ID IN SU01 AND IN CONDITION RECORDS
REGARDS,
SK
Edited by: Sadanandam Kasarla on Mar 16, 2009 12:07 PM
Edited by: Sadanandam Kasarla on Mar 16, 2009 12:08 PM
Edited by: Sadanandam Kasarla on Mar 16, 2009 12:10 PM -
TV goes black and then says. Hdmi/Dvi output blocked. I unplugged everything and turned it on and then it works ok for a while and goes black again. Been happening off and. On for months
Go to your TV Mfr's support site and update the firmware on the TV. Depending on the TV, you might need to download it from your computer and copy to a USB flash drive or a SD card.
If that doesn't do it, try another HDMI cable.
3rd, swap out the DVR for anther one at your lcoal Comcast office.
-
Output type to print pending schedule lines only
Hi,
Is there a standard Output type to print only pending schedule lines thru ME9E, with the respective delivery date, schedule Qty, delivered Qty and pending Qty,
Please revert.
Thanks & Regds,
RiteshCheck this link:
output type is used for sending / printing "schedule lines" against sch agr
Re: Email output of PO
Edited by: Afshad Irani on Aug 30, 2010 12:26 PM -
Hello,
Can someone tell me the table where I can see the SAP customer block ?
Thanks.
Regards,
Rajesh.Hi,
There are several types of customer blocks (search for "block" in table KNA1) each of which have a check table associated with it. For example, table TVFS contains billing blocks (KNA1-FAKSD), table TVLS contains delivery blocks (KNA1-LIFSD), TVAST contains central order blocks (KNA1-AUFSD), etc.
Regards,
Jamie
Maybe you are looking for
-
Hi i have created a unique index on table on 3 columns.
Hi i have created a unique index on table on 3 columns.I want to know when i have 2 records which contain same values in 2 fields and the 3rd field contains a null will unique index allow me to insert these records.
-
Passing hard coded array to a method
how to passing hard coded array to a method like method1("eee","eoe","eee",.....) which should populate a array of strings (say arr[]) for the method what can be done??
-
[SLOVED] XFCE background bug?
Thats what happens to my desktop if I open anything...anyone have any clues? Using xfce on arch64 Didn't have a daemon starting (hal or fam I forget which one) Last edited by Elvish Legion (2008-01-03 16:51:36)
-
How to convert Windows mails to Mac mail
Hi - can anyone help me. One of my colleagues are changing from Windows to Mac - clever guy i Think But now he will bring All he's Windows mails into MacMail. Now he's asking me if that is possible without buying expensive software. Is it better for
-
Connecting monitor to tv tuner
I have a L2045W monitor,can i connect an upscaling freeview tuner box to my monitor