Smartform : Printing Problem , Urgent Please
Dear All,
When I tried to print a smartform, I am Getting message 'Spool Request (number xxxxxx ) is created' .
but It is not printing.
I am facing this problem only with this form. I could print other forms / Scripts.
What might be the error ? Please Let me Know ..
Thanks & Regards
Venkat
Message was edited by: venkat Kumbham
Message was edited by: venkat Kumbham
Venkat,
You can do that in two ways. Once is to set it in the USER DEFAULTS. Go to SU01 and you can see a tab for DEFAULTS.. There will be a check box for PRINT IMMEDIATELY.
Or you can do that in the SMART Form parameters also. In the OUTPUT_OPTIONS parameters ther is a field TDIMMED. Set that to 'X'. That should print the form immediately.
Regards,
Ravi
Note : Please close the thread, and mark the helpful answers if this solves your problem.
Similar Messages
-
Printing Report - Urgent please
Hi All,
Can anyone please help me with the following printing problem.
I created a report using class cl_gui_list_tree. The report looks like our windows directory stucture. Like directory/sub-directory/file. This is NOT sapscript.
The above class does not have any print methods. I used the following code to print it. It shows the print parameter screen where we can select the printer/format etc. Once press the green check mark, it will not do anything.
The code:
case ok_code.
when 'PRIN'.
data: l_status type c.
call function 'PRINT_REPORT'
exporting
NO_DIALOG = ' '
report = sy-repid
IMPORTING
STATUS = l_status
EXCEPTIONS
ARCHIVE_INFO_NOT_FOUND = 1
OTHERS = 2
if sy-subrc <> 0.
endif.
First question is: Can I use the above function module for printing?
If this is not the right one please let me know the right function module.
If we can use above function module whatelse I have to do to get it printed?
Thanks in advance.I am not sure for the function module but here is a suggestion - write data to spool, get the spool request no.
And then use fm RSPO_OUTPUT_SPOOL_REQUEST to print spool request.
You can try this approach. Let me know if you need any help to create Spool request. -
Session and Refresh problem, Urgent, please help
Hi, Dear Everyone:
I have two questions to ask. (Environment: OS: Nt4.0, Server: Weblogic5.1)
(1). When I use session to store an object in servlet (processed results
from database) then dispatch to a jsp page to display the results, I got the following
error message.
Wed May 16 15:54:31 CDT 2001:<I> <ServletContext-General> Generated java file:
C:\weblogic\myserver\classfiles\jsp_servlet\_ccproject\_subdisplay.java
java.lang.NullPointerException
at jsp_servlet._ccproject._subdisplay._jspService(_subdisplay.java, Comp
iled Code)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:106)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:124)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:154)
at com.voy.CCPro.DataDumper.doPost(DataDumper.java:69)
at com.voy.CCPro.DataDumper.doGet(DataDumper.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:106)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:907)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:851)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:252)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:364)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Here is my servlet code:
HttpSession session = req.getSession(true);
Vector temp = buildData.BuildForDisplay(rst);
session.setAttribute("PostTitlePool", temp);
String url = "/ccproject/subdisplay.jsp";
RequestDispatcher dis = getServletContext().getRequestDispatcher(url);
dis.forward(req, res);
Here is my jsp
<%@ page import="com.voy.CCPro.*" %>
<%@ page import="java.util.*" %>
<%
Vector v = new Vector();
v = (Vector)session.getAttribute("PostTitlePool");
Enumeration enum = v.elements();
SequenceData sq = new SequenceData();
while(enum.hasMoreElements())
sq = (SequenceData)enum.nextElement();
if(sq.getIndicator()==0)
out.println(sq.getTitle());
else
out.print(sq.getTitle());
%>
Please tell me what I did wrong or What more do I need to do?
(2). If I changed to use request.setAttribute in servlet, it works. But I got another
strange
result from browser. That is, if I keep on clicking refresh (IE5.5), the same result
appending
the previous one on the same page.
Here is my code in servlet:
req.setAttribute("PostTitlePool",temp);
String url = "/ccproject/subdisplay.jsp";
RequestDispatcher dis = getServletContext().getRequestDispatcher(url);
dis.forward(req, res);
Here is my jsp:
<%@ page import="com.onvoy.CCPro.*" %>
<%@ page import="java.util.*" %>
<%
Vector v = new Vector();
v = (Vector)request.getAttribute("PostTitlePool");
Enumeration enum = v.elements();
SequenceData sq = new SequenceData();
while(enum.hasMoreElements())
sq = (SequenceData)enum.nextElement();
if(sq.getIndicator()==0)
out.println(sq.getTitle());
else
out.print(sq.getTitle());
%>
Please explain it to me why that and how to fix it. I appreciate it very much.
I control this as follows
--> all JSP's don't create session (<@page session="false">)
--> my FrontServlet checks
session=request.getSession(false);
if(session==null)
//invoke method from LoginHandler (Helper Class)
//for check logindata and create session
else
//invoke method from ProtectedResource (Helper Class)
//for check, if user logged on
--> LoginHandler
//method UserAllowed returns true or false
if(!UserAllowed())
//invoke ServiceDispatcher method who displays
//the 'AccessDenied'Page
else
//set loggedIn into the session
session.setAttribute("loggedIn","OK");
//invoke ServiceDispatcher method to display the requested Page
--> ProtectedResource
//check if user logged in
Object o=session.getAttribute("loggedIn");
if(o==null)
//User not logged in
//invoke ServiceDispatcher method to display 'Login' Page
else
//User logged in
//invoke ServiceDispatcher method to display the requested Page
--> URL of the Application
Welcome: http://localhost:8000/APP/login.jsp
submitted FORM sent to FrontServlet
(FORM ACTION="servlet/FrontServlet")
When everything is alright (username/password)
new URL http://localhost:8000/APP/servlet/FrontServlet
and the 'Main' Page is shown
when session is timed out and i refresh page
data is sent again (without asking for username and password)and new
session is created and the 'Main' Page is shown again.
How can i fix this problem
thank you in advance :-) -
4 level masetr detail problem urgent please
hi all
i have page with 4 level master detail first as a form and other as tables my problem is when i click on a record at the last table the second table stop the partial triger so when i chose any record in table 2 it didnt change data in table 3 and data still as it in table 3 and 4 without changing i need to solve this problem very very urgent
please help me
Edited by: user554540 on 31/12/2009 11:34 صDo you have the partialTriggers set correctly on the 3rd and 4th level tables?
As an alternative, you could write a custom selection listener for table 2 and programmatically ppr the 3rd and 4th tables.. -
Smartform printing problem across network printers
Hi All!
I am facing problem with printing a smartform. When I give LOCL as printer name I am getting an exact printout but when I use any network printer name I am getting black portions printed over the areas where I have tables.
Can anyone advise me on this.
regards
PraneethModerator message -
When closing old threads, there is no need to add a comment. Adding a pasted answer like "Resolved myself " only brings old threads to the top of the forum list and pushes current ones down. If you do add a comment, please indicate just how the problem was resolved.
Note to potential responders to this post - I just rejected about 40 of your posts today. I didn't see that you had assigned a single point to any of the helpful answers or even a "thank you".
Rob -
Any Mac expert who can solve my Printing problem? PLEASE HELP!!!!
So I am asking this again... I have a Samsung 4200 SCX Series printer. It was able to print everything properly till the 14th of April when I installed the latest Security update and the thing stopped working after that (When I give a print command, it just Pauses.... Then when I resume it again, it doesn't respond, just stays there) ... I also noticed that the name of my Mac changed to XXX (3) from XXX (2) after that update, so I am thinking it's the culprit here.. I dunno if it's related, but I just thought I put it forward.
I also went to Printer and Fax settings in my System Preferences and reseted my Printer and changed the LOCATION name to the new name but no solution... I tried even installing the drivers manually, but the thing just PAUSES!!!!
And before doubting my printer, I also have Windows installed via bootcamp and the printer works fine with it, it's only the Mac creating an issue.
I got some response of people asking for the log file about it, so I am posting the last 10-20 line...
------->
E [01/May/2010:10:18:36 +0530] CUPS-Add-Modify-Printer: Unauthorized
I [01/May/2010:10:18:36 +0530] Setting SamsungSCX_4200Series device-uri to "usb://Samsung/SCX-4200%20Series?serial=8T67BAIP221002W." (was "file:/dev/null".)
I [01/May/2010:10:18:36 +0530] Setting SamsungSCX_4200Series printer-is-accepting-jobs to 1 (was 0.)
I [01/May/2010:10:18:36 +0530] Setting SamsungSCX_4200Series printer-state to 3 (was 5.)
I [01/May/2010:10:18:36 +0530] Saving printers.conf...
I [01/May/2010:10:18:36 +0530] New printer "SamsungSCX_4200Series" added by "AUTHREF".
I [01/May/2010:10:18:36 +0530] Setting SamsungSCX_4200Series printer-is-shared to 1 (was 1.)
I [01/May/2010:10:18:36 +0530] Saving printers.conf...
I [01/May/2010:10:18:36 +0530] Printer "SamsungSCX_4200Series" modified by "AUTHREF".
I [01/May/2010:10:19:09 +0530] [Job ???] Request file type is application/pdf.
I [01/May/2010:10:19:09 +0530] [Job 1] Adding start banner page "none".
I [01/May/2010:10:19:09 +0530] [Job 1] Adding end banner page "none".
I [01/May/2010:10:19:09 +0530] [Job 1] File of type application/pdf queued by "chintanvora".
I [01/May/2010:10:19:09 +0530] [Job 1] Queued on "SamsungSCX_4200Series" by "chintanvora".
I [01/May/2010:10:19:09 +0530] [Job 1] Started filter /usr/libexec/cups/filter/cgpdftoraster (PID 452)
I [01/May/2010:10:19:09 +0530] [Job 1] Started filter /usr/libexec/cups/filter/rastertoqpdl (PID 453)
I [01/May/2010:10:19:09 +0530] [Job 1] Started backend /usr/libexec/cups/backend/usb (PID 454)
E [01/May/2010:10:19:09 +0530] PID 454 (/usr/libexec/cups/backend/usb) crashed on signal 10!
I [01/May/2010:10:19:09 +0530] Hint: Try setting the LogLevel to "debug" to find out more.
I [01/May/2010:10:19:10 +0530] [Job 1] Backend returned status -10 (crashed)
I [01/May/2010:10:19:10 +0530] Saving printers.conf...
*E [01/May/2010:10:21:41 +0530] Resume-Printer: Unauthorized*
I [01/May/2010:10:21:41 +0530] Saving printers.conf...
I [01/May/2010:10:21:41 +0530] Printer "SamsungSCX_4200Series" started by "chintanvora".
Oh and it's connected via USB, not the network...
It still baffles me cause I have searched and the only people getting this issue are the one's who use a printer via bonjour or online.. I AM USING A FREAKING USB AND IT's NOT PRINTING!!!!
PLEASE HELP if you can... I can't replace my printer or re-install the OS just for this crap...
MacBook Air running on Mac OS X 10.5.8Hey Rodney, the name changed after I installed the latest security patch... And it's not only me, it's a common problem.. Here check it out...
http://discussions.apple.com/thread.jspa?threadID=2319594&tstart=0
I wish I never installed that security update...
And what exactly does this deleting System pref files does??? What does setting up network again imply... You mean just adding the password and selecting the net name of my wifi don't you?? Cause I would hate to reset all those MAC address and other stuff (I really don't have much knowledge about those so wouldn't like to tamper with those).
Anyways, thanks. -
Smartform Printing Problem in SAP ECC 6.0 with Ehp6
Hi Sap Expert,
Our Sap System has been upgraded from ECC 6.0 to ECC 6.6 ( Ehp6). now we are facing problem in to print smart forms .
I have a smart form with one page and three copies are there.
On first it was written ORIGINAL, on second DUPLICATE and third one is TRIPLICATE.
When I see the print preview it shows all the three pages ( ORIGINAL, DUPLICATE and TRIPLICATE. ). but when i give the command to print. it will only 3 copies
ORIGINAL. and when i convert into PDF it shows only one page ORIGINAL.
I want ORIGINAL, DUPLICATE and TRIPLICATE printout in single command.
Note : Before Up gradation of sap system it worked fine.
Guide me.........Hi Marques,
Yes, my problem has solved,
Write the code Driver Program:
Declare Internal Table as:
DATA : BEGIN OF ITAB OCCURS 0,
I TYPE I,
TEXT TYPE CHAR20,
END OF ITAB.
and Append 3 time this Itab with the no of copies of form ( Original, Duplicate and Triplicate ) as
ITAB-I = 1.
ITAB-TEXT = 'Original'.
APPEND ITAB.
CLEAR ITAB.
Now,
LOOP AT ITAB.
call function module of smartforms as
CALL FUNCTION fm_name
EXPORTING
CONTROL_PARAMETERS = CO
OUTPUT_OPTIONS = OT
* USER_SETTINGS = 'X'
L_*** = L_***
V_INDX = ITAB-I
* IMPORTING
TABLES
IT = IT
and modify the smart form as
write the code in window
IF V_INDX = '1'.
v_text = 'Original'.
ELSEIF V_INDX = '2'.
v_text = 'Duplicate'.
ELSEIF V_INDX = '3'.
v_text = 'Triplicate'.
ENDIF. -
hi gurus,
The smartform is a letter fromat.
The selection screen contains vbak-lifsk(Delevery block) its mandatory field and vbak-vbeln .
My requirement is to print all sales order no.'s and that sold to party details and remaining is hardcoded.
my problem is, suppose in a block if there are 2 or more sales doucuments we want to print the same format for for those sales order numbers.
suppose delevery block is Road Permit.
this block contains 5 sales order numbers.so i want 5 letters .
Now i am getting for one sales order no .
Best answers will be rewarded.
Thanks and regards,
alsonHi Alson,
If the output is only one page per sales order....
1. Hardcoded part would be repeated per each page.
2. For the dynamic date ( sales order no. and sold to party details ),
we can run a loop and print each sales order no. in different page
with NEW-PAGE command....
or another approach could be.. we have to call the generated FM for the
smartform within a loop of the table which has all the data of sales orders
for a delivery block.... -
SMARTFORMS Printing Problem ?
hi
friends ..
iam doing a smartform i had defined 2 linetype of same outputoptions
using it one for header main area.The problem is when iam printing it
suppose there are 20 records then iam getting 14 on one page and the 14th
record doesnot contain full data for ex. if mat, matdesc then meins field is
empty and after that iam getting one complete empty line .
In next page getting data from 15th line but getting a blank line before
15th line.
The data in itab is ok no problem while fetching data .
regards
farukhhi,
check this thread..
how to start printing data from a new page in smartforms! -
Hello,
I open a smartform from a custom print programm using control_parameters and output_control with values from the message control table NAST. The parameter user_settings is set to SPACE.
I fill the parameter output_control-tddest explicitly from NAST, but however, the formular is always printed on one particular printer, our development printer.
Are there any settings which override the FM parameters?
Kind regards,
HansHey Hans,
In SAP each printer has a short and long name associated with it. You might wanna check TSP03 table to get an idea.
Now check in NAST table what kind of name (Shor or long) is being stored.
If its short then assign
SSFCOMPOP-tddest = NAST-VALUE
ELSE
SSFCOMPOP-TDPRINTER = NAST-VALUE
And as you rightly did, user_setting should be space, so that it doesnot pick printer from user settings.
Inacse you still having the problem try deleting any default printer name from your user profile via SU01.
Let me know if you still have problems.
Regards,
Jeet -
Smartform Printing Problem After - Sign
I have some strange problem in Smart forms.
Actually I am printing PO Number in Invoice layout and its printing normally .
But If Po Number Value Like 1-234567 or ABC-234 then its printing only 1 or ABC.
Means after - sign its not printing any thing.
Could you anybody help me on this issue.
Regards
Vijay MauryaMay be there is some SPLIT statement AT '-' to split the PO and print only first part.
Try to Search it in Smartform.
Do like:
Open Smartforms.
Press Test Button.
You will now on the SE37 screen.
Now, open it
Select the Find button
Enter your Text
Select the "In Main Program" << IMportant
And press Enter...
If that text or Program lines exsists in your Smartform anywhere, you will get that code.
Regards,
Naimesh Patel -
WHT Challan problem urgent please........
Hi all,
in my customization of WHT, in t.code J1INCHLN, system is taking all but at the time of posting (i.e. after simulation of document) or saving the following error message has coming.
Message no. 8I 704
Diagnosis
Number group is not maintained for the combination of company code
&.1. section & 2 and business place &.3.
System Response
Challan update program could not proceed without this data.
Procedure
Check entries in table Z_1iewtnumgr and then start challan update program.
but i checked the mentioned table in message, system is saying there is no table existing.
instead of the Z table we are having J_1iewtnumgr. for this we maintain correctly.
kindly suggest, please urgent.... my process are stuckedHello
Check number range assignment
Check challan update status
In the Challan Update Status report, you can create a remittance challan for various documents: Select the documents that you want to remit the tax on and choose Challan Update. The system takes you to the Create Remittance Challans program, which you then execute. However, you can only process documents for one withholding tax section at a time.
In the Bank Challan Status report, you can enter a bank challan: Select the documents (in this case identified by the internal challan numbers) that you have been sent a bank challan for and choose Bank Challan Update. The system takes you to the Enter Bank Challans program, which you then execute. However, you can only a single internal challan at a time.
In the Certificate Status report, you can print withholding tax certificates: Select the documents that you want to print a certificate for and choose Certificate Printing. The system takes you to the Print Withholding Tax Certificates program. However, you can only process documents for one withholding tax section at a time
Reg
*assign points if useful -
Printing problem!Please answer
My program prints some images and texts , everything ok but images are colorless or grayscale , the strange thing ; it prints on hp deskjet printer well ,but on hp laserjet that problem occurs. Is there a problem with my program or there is a driver problem ?Any idea please?
try the jdk1.3
some problems were solved
... -
Printer Problem. Please help!
I can not connect my home printer to my computer. It is a Lexmark Z710. It worked with my computer before. I had to reformat my hard drive because the computer got stuck in safe mode, and now the printer will not work. I install the software, and it says I have to add the printer to my printer list. I go to do that, and it says the driver is not installed ever though I installed the software for the printer. I have the printer connected through a USB hub. I then tried a direct connection to my computer, and got the same thing. The computer does work with my parents computer. Can anyone help me please? Thanks.
Brian Nowicki
iBook G4 Mac OS X (10.3.9)Since your issue is a printing question and probably not really specific to your iBooks, you may want to post in the Mac OS X 10.4 (Tiger) > Printing & Faxing forum.
-Doug -
Check Printing Problem(Urgent)
I have to print checks and invoices(remittance) using transaction F110 . I have to use Adobe Forms to print the checks , but the program RFFOUS_C is meant for SAP SCRIPTS only . Please suggest me some way to use it for Adobe Forms .
Hi Ankit,
Why do u want use Adobe forms for check printing?
Can i know the scenario, If u want to print th output
to PDF files it can be done using BTE's(Business
Transaction Events).
Let us know.
Thanks
Dinakar.
Maybe you are looking for
-
SPA504g provisioning, firmare update failure, file not found.
Hello all, I am provisioning SPA504g phones using a tftp server and it works well, however there is something that annoys me. I have the phones doing firmware updates with the update rule: tftp://sip.XXXXXXXXX.net/Cisco/spa$PSN/Firmware/from-$SWVER/s
-
How much is a used ipod 4th Gen with atiny crack in the top corner worth
The crack is only small and doesnt affect the screen and i dont use my ipod 4 any more so i was wondering how much itis worth if i were to sell it. Thanks, Jake
-
Editing artist in itunes for my iphone
I'm cleaning up all my music in my iphone. I can edit the artst, song, album etc, in itunes when my iphone is plugged in, but it then doesn't appear corrected on my iphone once i'm done. I have synced it after I edit, but still my music on my iphone
-
Dock icons are corrupted/deformed or missing.
The icons in my dock are broken, they look like static fuzz or random lines/dots. Sometimes they disappear altogether. They still work if I click on them, and I can see which is which when I move the cursor over the app's "icon". I searched, but ev
-
How to upload and download image?
hi, can anyone send me links how to to upload and download image to and from sever Here i am using amfphp,mysql,php i have an button and textfield.when i clicked on the button the path will be stored into database and image will be stored into serve