Smartform - printout problem

Dear Friends,
I have developed smartform for KANBAN. Smartform containing color text and Background color shading. While testing with offshore printer, I can able to see the printout as per the preview. While testing the same in client end, I cannot able to get the printout as it is in the preview. Printout taken from the client end contain only dark shadow page. It is not contain any text and box as it is in the preview. Give me suggestion for resolving above issue. Thanks in advance.
Regards,
Peranandam

Hey Peranandam,
Even I had faced the similar situation, when i checked the Print preview and when i tried to send a print statement it was absolutely perfect.
But when the user is trying to print it them there was lot of changes in the layout and data was not printed in the format.
In these scenarios we can check the print options and also ask him to try to any other printer.
Genrally Basis team will figure out these kind of issue...But blindly we can chk if the print preview is correctly displayed or the spool is correctly generated(SP02) then in many cases it would be an issue with the
Printer.
Regards,
Kittu

Similar Messages

  • Smartform upload problem (within same Version)

    i have download smartforms from 4.7 first and than uploading it in same 4.7 but error occurs as below:
    first:  "A serious error has occurred
    The transaction had to be terminated".
    than second: Internal error (illegal structure of data storage)
    Message no. SMARTFORMS002.
    i can uplodad smartform successfully than and check also successfully,
    but while i do final activation it causes above error.
    what can be problem, is due to smartforms style problem, but i tried removing all style of text elements, thought it creat that errors,
    if any can knhow how to upload smartform successfully and solve above error.
    regards,

    L.S.
    I just encounter a similar error when activating a smartforms. I had made some changes, maybe by copy nodes through memeory into another smartforms and/or deleting one %GRAPHICS1 and making another.... smartforms got confused somehow and gave me an abort error 002.
    I debugged the coding of activating smartforms and found out that ( in my case ) sap coding tries to insert duplicate entries in table stxfobjt.
    Here is the part of coding where you can put your breakpoint and adjust the internal table tobjt if you have the same problem.
    I made the line  insert stxfobjt from table t_objt.  BOLD ( in plain text with * : it s  not a remarked coding line )
    SAPLSTXBX                      / LSTXBXU36
    FUNCTION                       / SSF_SAVE_FORM      
    Speichern der Tabellen
      if i_active = space.                         " gesicherte Fassung
        export t_ntokens t_objt t_ltext t_noltext
               to database stxfconts(xx) id i_formname.
      else.                                        "     aktive Fassung
        delete from stxfobjt where formname = i_formname.
        try.
          insert stxfobjt from table t_objt.
        catch cx_sy_sql_error into l_exception.
          get reference of t_objt[] into l_dref.
          raise exception type cx_ssf_fb
                exporting textid     = cx_ssf_fb=>err_on_insert
                          table_dref = l_dref.
        endtry.
        perform save_ltext using i_formname t_ltext.
        export t_noltext t_ntokens unchecked = i_header-unchecked
               to database stxfcont(xx) id i_formname.
        delete from database stxfconts(xx) id i_formname.
      endif.
    Good luck all with debugging SAP's bugs
    Regards,
    Edwin Glaser
    doubleclickyourprogrammer [at] sap4u.nl

  • Smartform upload problem

    i have download smartforms from 4.7 first and than uploading it in same 4.7 but error occurs as below:
    first:  "A serious error has occurred
    The transaction had to be terminated".
    than second: Internal error (illegal structure of data storage)
    Message no. SMARTFORMS002.
    i can uplodad smartform successfully than and check also successfully,
    but while i do final activation it causes above error.
    what can be problem, is due to smartforms style problem, but i tried removing all style of text elements, thought it creat that errors,
    if any can knhow how to upload smartform successfully and solve above error.
    regards,

    i have tried deleting one by one elements and found that problem in address element,
    i have just delete it and active it that it got activated,
    and again after deletion i have put sam variable in address element for displaying adress dynamicaly and set length and width all same that it fot activated!
    than what the problem at first time activation?
    is there any runtime conflict or what?
    regards,

  • Problem in printing copy count in the smartform printout

    Hi,
    I have created a smartform with a single page. I will be printing this form n number of times. For this i have used "TDCOPIES" option while calling the function module generated. Let me say that i am printing it twice. My problem is while printing at the end of the page I need to print "Copy 1 of 2" in the first printout and in the second print out "Copy 2 of 2".
    Currently, I am using SFSY-COPYCOUNT, but it still prints "Copy 1 of 2", "Copy 1 of 2", "Copy 1 of 2"... The value of SFSY-COPYCOUNT is always coming as 1. Can anyone help me out in this case.
    Thanks,
    Prem

    hi
    u ahve to use the COPY window to PRINT like this.. in the Normat even if you use the SFSY-COPYCOUNT it won't work.
    wht u ahve to do is crete a WINDOW (Type COPIES WINODOW) then insert the same as u did... or <b>just change teh Window type to COPIES window</b> it will be fine.
    Please Close this thread.. when u r problem is solved. Reward all Helpful answers
    Regards
    Naresh Reddy K

  • 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.

  • 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
    Praneeth

    Moderator 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

  • Sapscript to smartform migration problem

    Hello,
    I'm trying to migrate sapscript form to smartform. I used standard way in smartform transaction. After migration I found out that not all of sapscript windows waren't migrated. What's wrong? Does anybody deal with this problem? What's possibly cause?
    Best regards,
    Josef Motl

    hi
    check the below document may be helpful for you
    Here is the background info from SAP
    http://help.sap.com/saphelp_nw04/helpdata/en/9d/9599386185c064e10000009b38f8cf/content.htm
    Step 1. Access the initial screen. Choose Tools>Forms printout>Smart Forms (transaction SMARTFORMS) from the SAP Easy Access Menu. The dialog window SAP Smart Forms: Initial Screen appears.
    Step 2. Name the form. In the Form Field, enter field name you want to give, for example ZTF_GR_## (based on your company standard starting with Z to identify this as a customized form, where “##” is the group number).
    Step 3. Access the migrate function. Go to Utilities>Migrate SAPscript Form. In the dialogue window enter the SAPscript form name, for example Y_SAPSCRIPT_STD. Choose the Check button.
    Step 4. View the migrated layout. On the screen that appears, the SAPscript form is migrated into a rough Smart Form . Click on Form Painter to see an overview of the form layout.
    Use the following steps for mass migration or simultaneous migration of multiple SAPscript forms: Step 1. Run the mass migration program. In Reporting (transaction SE38), select the program SF_MIGRATE and execute it (Figure 3). Select the names and the language of the SAPscript forms and click the execute icon. The system creates the Smart Forms named for the SAPscript forms plus the extension SF. It displays a list of the migrated forms.
    Step 2. Make changes (if necessary). To change and adapt a form, go to transaction SMARTFORMS. Then activate the changed Smart Form.
    Once the SAPscripts are converted, whether in Smart Forms or Smart Styles, you should clean up any errors made during the conversion process, in terms of attributes, window alignment, or syntax errors. Cleaning up errors during conversion is often standard procedure, as SAPscript might have used local logic. Errors may occur when a field displayed is extracted or manipulated to display and doesn’t exist, or fields exist but appear with no values. Errors may also arise in ABAP syntax.
    Step 1. Define the Import Parameter. Double-click on the Global Settings> Form Interface from the navigation menu
    Step 2. On the Import Tab, enter the import structure information. For example, enter Parameter Name (table name, such as LIKP), Type Assignment: Type, Reference Type (table name), Optional (or Mandatory); Pass Val: (Passing value indicator). This must be done for all the data retrieved from the SAP tables.
    Step 3. Remove irrelevant or unnecessary windows. To delete a navigational menu node, right-click on the node, and select Delete. Since you start with windows in SAPscript, there might be redundant windows created for text.
    Step 4. Set the first page. Delete the NEXT page node on the menu tree. Double-click on the first page node. In the General Attributes tab, change the Next Page value to FIRST.
    Step 5. Delete the DETAIL frame window. Expand the MAIN window and delete all its text nodes.
    Step 6. Adjust the text nodes. Click on the text nodes and let the system fit the text.
    Step 7. Save and check the syntax.
    Refer this thread:
    Re: Migrating SAPscript print program to Smartform
    ~~Guduri

  • Smartform output problem in dunning

    Hi
    I've done a search for this problem in the forums and found what I thought was the answer but it still doesn't work...
    My dunning FM passes paramter IS_SFPARAM to the smartform (which is a copy of the standard SAP form F150_DUNN_SF). the initialisation in the form then calls FM GET_SF_DUNN_DATA in order to populate all the data from the IS_SFPARAM parameter.
    However, as far as I can see, inside FM GET_SF_DUNN_DATA, a method is called to populate h_mhnk and use that to check that the parameters like gs_sf_mhnk are populated. If they are not, it raises exception no_parameters_found. I thought the FM set those parameters in the first place! How can I set parameters gs_sf_mhnk, gs_sf_fsabe and all the others in there? i am always getting the no_parameters_found exception at the moment!
    Any help appreciated.
    Jon

    use smartform_trace transaction to trace ur smartform for errors.
    also open ur smartform goto environment and get fm name now in the end some number wud be thr like this \...\SF000091 modify it and use it in se38 like this \...\LSF000091F01
    it will open the code insert session break points and now check by running the smartform
    кu03B1ятu03B9к

  • Purchase Order Printout Problem

    Hi Everyone,
                    Purchase Order print out is coming in one Laser jet printer and not coming in another laser jet printer.
    1st printer is a Network printer so configured like this:Access method: C and host printer and host name given since it is configured in our SAP Server.
    2nd printer is connected to a Notebook so, Device type: SAPWINJP, Access Method:F, and host path given.
    Normal SAP Printout is coming but only Purchase order designed for Laserjet is not coming. I checked with Document type and all. No default printer assignment is given.
    I have assigned this as a Default Printer in SU01.this is for your information. Error Msg im getting is here:
    (6:26:17 PM) Number of processors: 2
    (6:26:17 PM) Icon DLL loaded.
    (6:26:17 PM)
    (6:26:17 PM) Network Communication via SAP-NiLib
    (6:26:17 PM) Hostname: siva
    (6:26:17 PM) IP Address: 12546920.2089886680.32.1223880
    (6:26:17 PM)
    (6:26:17 PM) SAPLPD Version 6.28 for Windows/NT (OPT) is listening
    (6:26:17 PM) OS-Info: version = 5.1, build = 0/2600, text = Service Pack 2
    (6:26:17 PM) Copyright © 1992-2001 SAP AG
    (6:26:17 PM)
    (6:26:26 PM)
    (6:26:26 PM) Receive job for printer
    192.168.255.63HP_M1319 (Berkeley LPD protocol / RFC1179)
    (6:26:26 PM) send_status called
    (6:26:26 PM) send_status called
    (6:26:26 PM) send_status called
    (6:26:26 PM) send_status called
    (6:26:26 PM) send_status called
    (6:26:26 PM) Job 000000262500001.DEV for user BS2PRAKA queued.
    (6:26:26 PM) Start printing job 000000262500001.DEV on printer
    192.168.255.63HP_M1319
    (6:26:27 PM) Error: Cannot create Printer Context, text = Overlapped I/O operation is in progress.
    (6:26:27 PM) Error: The printer
    192.168.255.63HP_M1319 is unknown to Windows Print Manager.
    (6:26:27 PM) The following printers are currently defined:
    (6:26:27 PM) Printer = HP LJ P3005
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Printer =
    ANILHPHP_ M1319
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Printer =
    KAVITHAHP OFFICEJET 4300 SERIES
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Printer =
    SURESHHPHP LASERJET M1319F MFP
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Printer =
    VARALAKSHMIEPS_VARAL
    (6:26:27 PM) Printer =
    VARALAKSHMIXEROX PHASER 3116
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Printer =
    VIJAYKUMARHP OFFICEJET 4300 SERIES
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Error: BG: saplpd_open_dc failed, msg = 808 SAPLPD:Windows Problem, siehe SAPLPD Protokoll
    Here, 
    192.168.255.63HP_M1319 this is the Machine IP and its printer available in the LAN. Its been shared and marked as default in my Desktop.
    Please give solution for this
    Regards,
    Siva

    somebody could help in this issue?

  • Smartform: Formatting Problem with QUAN-Field

    I want to print a smartform and get exception 1 (formatting error). With function SSF_READ_ERRORS I get an error table. There is on entry: errnumber = 020011, msgid = SSFCOMPOSER, msgty = E, msgno = 601, msgv1 = wa_outtab-menge.
    It seems to be a formatting problem with field WA_OUTTAB-MENGE. But in the structure this field is referenced correctly.
    Does anybody know a solution?

    I solve this kind of problem in my SmartForm.
    Try this:
    Go to "Global Definitions" Node, then "Current/Quant.Fields" tab and set these values:
    Field Name:      WA_OUTTAB-MENGE
    Reference Field: WA_OUTTAB-MEINS
    Data Type:       QUAN
    Best Regards,
    Eduardo Ribeiro.

  • Smartform style  problem

    Hello friends,
         I am getting problem in smartforms style. i had created my own style for one of my Tax invoice form because i want fonts in smaller and for heading i want to increase font size. But when i am applying my own style to paragraph the changes are not accepted after SAVE & ACTIVATION. If any one know solution for this problem than please give reply as soon as possible.
    Thanx & Regards,
    Rahul Talele

    Hi,
    Once I came across the problem as yours.
    This happens becoz certain properties of the fonts when applied will override other formats.
    For eg. If u have chosen bold character format before, but when u want to change it to normal it will not change at all.
    In that case, I have deleted the text as a whole and applied normal format at first. Then I applied bold character format
    whereever applicable.
    Which style u applied to the header in your form? Is it Paragraph format or Character Format.
    Could u give more clear description?
    Regards
    Vadi

  • BAR CODES in smartforms - conversion problems to PDF

    Hello,
    I have a problem. Have a look at the following points and see what I have done:
    1. I generated several different system bar codes using SM73
    2. I added those system bar codes to a smartformstyle
    3. and built a smartform using smartformstyle of system-bar codes.
    4. then I made some examples of bar codes in the smartform as text.
    5. next I sent this smartform via email as an pdf attachment using smartform mail functionality.
    6. shocking - all bar codes in the pdf-file are not readable. You can see that there is a barcode placed, but all barcodes looks like the same.
    Has somebody got a idea on what is going on here?
    I already had a look at OSS Notes 430887 and 645158.
    Greetings
    daniel

    Hi,
    Please can you have a look at Sap OSS Note 197177.
    Regards,
    Sudheer.

  • WHERE clause in a SMARTFORM loop, problems with parenthesis

    Hi all gurus,
    a simple question: I'm coding a LOOP in the form builder for a smartform ... this simple loop should bind text elements to every position of a purchase order. The WHERE clause should be as follows:
    WHERE GUID = WA_ITEM-GUID
    AND ( TDID EQ 'ZDES' OR TDID EQ 'ZDST' ).
    Anyway, in the Form Builder I didn't find a way to add parenthesis; I workarounded the problem with the following query:
    (conditions in lines are in AND conjunction)
    GUID EQ     WA_ITEM-GUID
    TDID      EQ   'ZDES'
    OR
    GUID EQ     WA_ITEM-GUID                                                                               
    TDID      EQ 'ZDST'.
    It's quite a 'bad' way, but it works. I wonder if there's a way to express "complex" WHERE clauses (with addiction of parenthesis) in Form Builder.
    Thanks in advance

    In this case, your solution is the one that works. However in more complex cases with more variables, this can proove difficult to make or mantain.
    What I usually do is use the first part of the condition in the where and then add a condition to the printing area with the rest of the formula. Just remember to document this so that you'll find it easy and it's way more amintainable.
    In this case the loop would contain WHERE GUID = WA_ITEM-GUID and the inside condition TDID EQ 'ZDES' OR TDID EQ 'ZDST. This creates the and between the two blocks.

  • Incoming & Outgoing Payment Printout Problem

    Hi All
    We have a problem on our incoming and outgoing payment printouts.  Both are set up to print once you add the document to the system.  The problem is that the original printout does not match the actual incoming or outgoing payment.  However once you do a reprint it prints out correct.
    I have taken both documents off print once document adds and when I go back to the incoming or outgoing payments and print the original it comes out correctly.
    I would like to know how to fix this problem so that once you add the documents it prints out and with the correct information.
    We are using SAP Business One 2007 A PL 30

    I have now managed to replicate the problem on two other databases one another clients database and another the demo database of OEC Computers. 
    Once again I will explain the problem.  When you go to incoming payments and you select a business partner that has many invoices lets say over 40 and you select five at the top and five at the bottom that you want to pay.  Once you go to payment means and enter your payment and press add the original that prints has not managed to only select the invoices that you have paid instead depending on your setup it will print the first 22 rows (in my case). 
    Then if I go back to that payment and do a reprint no problem it is 100% correct. 
    I thought it might be a simple setting or something however I have been able to replicate the problem on two other databases which makes it three in total.  Therefor I am wondering how to fix this and perhaps if anybody else has experienced this before.

  • 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.

Maybe you are looking for