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
farukh

hi,
check this thread..
how to start printing data from a new page in smartforms!

Similar Messages

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

  • Smartform-printing problem

    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,
    alson

    Hi 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 printer problem

    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,
    Hans

    Hey 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 Maurya

    May 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

  • 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

  • Smartform print problem in vf03

    Hi friends,
                 This issue is very critical so kindly help me at ur earliest.
    1>There are four invoices attached to my smartform.
    When i print preview my first invoice no. the o/p comes proper.
    But ,when i test next subsequent invoice and click on the print preview button it does not show me anythg.
    Same continues with the next invoice.
    I do not get any error message.
    When i debugg it takes me to the smartform, my tables are also filled but there is no display.
    Same is the case with mass printing to.
    Could anybody assist me on this.

    Check if u have given output type.
    Output type is assigned with a medium, partner and language
    select this line and press communication methods
    there you assign the printer name, number of messages and the print seetings like print immeidately, save along with transaction..like that some 4 options will be there, check them.
    Also have you created a page format.If yes,then that has to be assigned to the device.This is done by the basis person.
    Reagrds
    vasu

  • Smartform Printing Problem for double sided printing

    Hi Techies,
    I have created a smartform for invoice printing, using double side printing.
    The requirement is that in the front page, page number has to be printed and at the back side static text is to be printed. So if my line items exceed to two pages. Than in printing, it is getting priinted as "Page 1 of 4" for the 1st invoice items page and "Page 3 of 4" for the second items page. But the client is asking it to be printed as "Page 1 of 2" & "Page 2 of 2" respectively.
    Currently I am using Page&SFSY-PAGE& of &SFSY-FORMPAGES&.
    Can anyone guide me how to achieve this requirement.
    Thanks & Regards,
    Vinit.

    Hi vinit,
    better u declare your own variable . and check with sfsy , the footer window must be final window
    data : lv_page type sfsy-page,
             lv_tot_page type sfsy-page.
    if sfsy-formpages > 2.
    lv_tot_page = sfsy-page / 2.
    if sfsy-page >2
    lv_page = sfsy-page - 1.
    else.
    lv_page = sfsy-page.
    endif.
    else .
    lv_page = sfsy-page.
    lv_tot_page = sfsy-formpages.
    endif

  • Smartform Print Problem

    Hi all,
    Am taking printout of a Purchase order. <i><u>The form contains only a single page and is preprinted form with a custom page format</u></i>. I also have a couple of other windows to be printed at the end of main page. Am taking print in one of those cases where in my main window extends to two pages. In this case the preview shows two pages but the print output is coming only in one page with 2nd page overlapping on the first one. Unable to spot the error. Help higly appreciated.
    regards,
    chaitanya.

    Hi
    When the data is of 2 pages where do you expect the data of second page to print?
    Since there is no second/next page created/existing it is overlapping on the first page itself.
    so create a NEXT page and and see the output.
    Why you doesn't want the NEXT page? your data is always limited to a single page? how can you assure that a PO will have a items restricted to a single page?
    better to have Next page.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Smartform printing on Dot Matrix printer for continuous stationery

    Hi Friends,
    I'm throwing my smartform print output on printer using local printer .Now the problem is as i have designed the SF using A4 page size , the output on Dot matrix is my output (WHICH IS 1/3rd OF a PAGE) + rest of empty space which is actually wasting pages.
    Settings in SPAD are as follows:
    Output device : Lp01
    Device type : SWIN
    and page format : LINE_21
    Format Type : LINE_21
    What i want is a restricted output .please let me know the possible solutions and do i need to load the driver for my printer in SAP as well (Printer is  : wipro WEP 800 DX)
    Thanks and Regards,
    Sachin Soni

    Hi,
    Change the page settings in the form
    -> under the form attributes you can find the page format there you can set up your required format
    Thanks,
    Nethaji.

  • SmartForm Printing all the Items in one page

    Hi,
    When iam trying to print the data in the smartform.....it is printing all the data in the one page(if 2 pages are shown in printpriview).But the same invoice is going to be printed in all the plants in the same format...so i hope it is not the printer problem.so any one pls go thru' this thread and try to give the solution as early as possible.....
    The main thing is if line items are 18.15 on one page and 3 on second page in printpriview...but while printing the the second page 3 line items are overwriting on the first 3 line items of the first page itself.
    Pls Asnwer as it is very Urgent.....
    Thnx in Advance

    Sorry sir, It is a slip of the tongue, I corrected my response already.
    So it is defenitely possible to make ALL the columns appear in the same page in PDF regardless of how much width the report occupies?
    If yes, can I see a horizontal scroll bar or the text will be shrinked to fit the page?

  • Smartform barcode problem

    I have designed a smartform prints barcode. On the left hand side there is barcode window and right hand side another window that holds some text for printing. Both windows are same level ( same line horizontally) . When i try to print, barcode prints but texts which are right hand side moves other place. How can i solve this problem ?
    Sorry for my bad english .. thanks

    Hi Murat,
    I suggest to make the smartform appear in boxes. So that you can trace out the problem easily.
    make all the smartform nodes' 'Output Options' -> Lines with (under Box & Shading) ticked.
    After doing the above change in the smartform, try executing in printpreview, now you can see where the text is getting overflown.
    Hope this helps
    Rgds,
    Sripal

  • Smartforms - Printing Label

    Hello All,
    I´m developing a smartform to print information in a label that has 6cm height.
    My problem is that when I print the informaton the smartform prints information of the next label on the previous information. It seems that the smartform understands my label has 5cm of height.
    How can I 'enlarge' the height of the window or table so smartform will print the correct information on the next label ?
    Thanks in advance.
    Best regards,
    Marcelo Perine

    Matt,
    The smartform receive information in Form interface -> Tables -> ZTB0014
    Each register of this table is printing in one label. Then, my problem is that the smartform is printing two registers in one lable. It´s seens that the new-page function ins´t working.
    Main window
    -Loop
    --Table
    ---Text1
    ---Text2
    --Command
    Main - Output options
    Left margin 0,00 CH
    Upper margin 0,00 LN
    Width 82,00 CH
    Height 15,00 LN
    Loop
    Internal table ZTB0014 INTO EST0014 
    Table
    Table width 80,00 CH
    Horizontal alignment Left 0,00 CM
    Minimum Height 0,00
    Line1 50,00 CH | 30,00 CH
    Text1
    (1) Recebedor das Mercadorias.    
      &EST0014-NAME1&                 
      &EST0014-STRAS&                 
    &EST0014-ORT01& - &EST0014-REGIO&
      &EST0014-ORT02&                 
      CEP &EST0014-PSTLZ&             
    (4) Transportadora                
      &EST0014-TRANS&                 
    Text2
    Volume             
      &EST0014-VOLUM&  
    Command
    X Go to new page %PAGE1                                            
    Reset paragraph number P1
    Message was edited by: Marcelo Perine
    Message was edited by: Marcelo Perine
    Message was edited by: Marcelo Perine

  • Airport Extreme Printing Problem with HP Deskjet.

    Hello ... I wonder if any helpful folks can assist me with my printing problem? I am using Tiger on a new Intel imac with a HP Deskjet 960C. This printer is listed as having the latest drivers included within Tiger and works perfectly when connected via USB so my problem I guess is not with the software....I have disconnected everything and plugged everything back together again. I also deleted the printer from the printer list within the Printer Setup Utility application.... The imac recognisies the printer and upon pressing the print button everything feels as though its just going to work. The blue barber shop scroll appears but the printer fails to kick into gear and I get the big red exclamation mark appearing in the status box .... I would really love to try and sort this annoying error ... Any ideas? Thanks. Book G4   Mac OS X (10.4.4)  

    Hello jds17. Welcome to the Apple Discussions!
    Unfortunately, not all USB printers are compatible with AirPort base stations.
    Take a look at one of these iFelix Unofficial AirPort Printer Compatibility links, depending on which AirPort base station you have:
    o 802.11g AirPort Extreme Base Station (AEBS) or AirPort Express Base Station (AX)
    o 802.11n AirPort Extreme Base Station (AEBSn)
    If your printer isn't listed, it doesn't necessarily mean it won't work, but simply that it has not been verified. iFelix also provides the following workaround for printers not on the list that would certainly be worth a try.
    Also, you may find the following Apple article helpful.

Maybe you are looking for

  • From Blackberry to iphone 3gs

    I need some help. I am going from a Blackberry Curve 8300 to an iphone and I can't wait to get/use the iphone. I need to tranfer all my contacts to the iphone. What is the best way to do this? I don't have Outlook. My Blackberry currently backs up to

  • At new and at last

    Hi... can i use At first or At last in the modulepool table control.... if not , what is the alternate to get grandtotals in the table controls? Thanks, Naveen

  • Isn't the nano suposed to come with.....

    ok i have the 4GB ipod nano, and when i got it it said it had 3.7GB on it... if it says it comes with 4GB, then why did it come with 3.7GB? im guessing it has something to do with the games, features etc.. but im not sure.....

  • Premiere CS4 capture tool problem

    Hello there, I am experiencing a weird problem with Premiere CS4. I am not able to capture DV footage from my Sony DSR-PDX10P. When I open the Capture window (F5), it's working very slowly compared to anything else with the software. If I have the ca

  • Issue is formating the report

    Hi Experts, My  issue is formatting the report the columns are like this (ex) empno,ename,job,hiredate and so on when the data populates in to report empno and hiredate should be aligned to center and ename,job should align to left when i tried to do