Issue in printing second page in smart form

in my smart form i have only FIRST page in tht i have pur order numberwindow, date window and all the item details in mainwindow. my problem is in my page 1 order number and date are getting printed at the exact position whre i  want but when it is coming to the next page that is page 2 order number and date are going out of scope. I cant even change the position of those two windows as it is getting printed properly on 1st page.

Copy the first page and paste so as to create a second page, now give next page as this second page, and check, if there is any layout issue then make changes in this page, be careful as if you make any any changes, such as deleting some table or template or window in the copied [page it will get deleted in first page to, so only make changes to layout.

Similar Messages

  • Display either ( first and second page ) or only second page on smart form

    Hi All,
    There is a requirement in which we get Program name and smart form name from table TNAPR.Now the smart form contains 2 pages.We have to check condition in the program and based on the condition we have to Display either ( first and second page ) or only second page of the smart form.
    Can any one please tell how to solve this .
    Tahnks in advance.

    SSFCOMPOP-SPONUMIV-->Number range number
    SSFCOMPOP-TDPAGESLCT-->Pages selected for printing
    Data: t_out type ssfcompop.
    If COndition.
    t_out-sponumiv = 'Number Range'.             " 1-2  or 2
    ESLE.
    t_out-sponumiv = 'Number Range'.
    ENDIF.
    OR:
    If COndition.
    t_out-TDPAGESLCT = '2'.        " Else Bot pages will print      
    ENDIF.
    Pass T_out to the function module.
    CALL FUNCTION 'FORM'
        EXPORTING
    *   ARCHIVE_INDEX              =
    *   ARCHIVE_INDEX_TAB          =
    *   ARCHIVE_PARAMETERS         =
    *   CONTROL_PARAMETERS         =
    *   MAIL_APPL_OBJ              =
    *   MAIL_RECIPIENT             =
    *   MAIL_SENDER                =
    OUTPUT_OPTIONS             = t_out
    *   USER_SETTINGS              = 'X'.
    Regards,
    Gurpreet

  • How to Supress the Second Page in Smart form

    Hi,
      I have First page where there is no Main Window and on the Second page is with Main Window.Now lets say if there is item detais then vlaue will be printed on second page but in case there is no Item details so..the second page should not come only the first page would appear i.e. we need ot supress this second page.
    Thanks,
    Pramod

    Hi
    just use the command Describe table ITAB lines v_lines.
    so v_lines <> 0  means items Exist.
    so use this field in the condition
    Define a Text ELEMENT for the MAIN window data
    Before that text element put a condition based on the v_lines field.
    /:  IF V_LINES NE 0.
    /E MAIN
    /:  ENDIF
    So when you give print , if no data in internal table it won't print.
    Reward points for useful Answers
    Regards
    Anji

  • How to print different  header & item data in new pages using smart forms.

    Hi,
    In smart forms I am trying to print header data & their item data. But there are more than one header data for a given input.
    I want to print all the different header data with their item data in new pages using smart forms. Can any one please help to solve the issue.. Its very urgent for me..
    Regards,
    Brajesh

    Hi
    U need to use control break statements to acheive ur requirement.
    Regards,
    Priya

  • How to know no of pages in smart forms to be printed ?

    Hi,
         How to know no of pages in smart forms to be printed ?
    though i got SFSY structure during run time of smartform , even that was not useful.
    &SFSY-FORMPAGES&
    Displays the total number of pages for the currently processed form. This  allows you to include texts such as'Page x of y' into your output.
    for that Page &SFSY-PAGE& of &SFSY-FORMPAGES&
    during debug of smart form i don't  understand how it is calculating no of pages  ,as i kept break point before printing page no in smart form.
    please check my  two screen shots, sfsy-formpage still contains current page no only but not total no of pages.
    Help Required.
    Thanks In advance.

    Hi Prakash,
    You will not get these values during debugging.. Let the program execute completely, you will get the right values.
    As Manish said, the value for &SFSY-FORMPAGES& will be known only after all the pages are processed, though it is not necessary that you use them in the final window only. It can be a text node in a window of any type.
    You will get the desired output, just cant see them during debugging within the program. At the time of printing or in the print review, output would be as expected.
    Also, FYI, it would be better to give total pages as &SFSY-FORMPAGES(3ZC)&  as there can be error if the total number of pages exceeds 9, due to lack of sufficient space to print more digits

  • Printer second page issue

    Dear Gurus,
    When I print two pages for a one invoice in a dot matrix printer,
    second page starts a bit below from starting point..
    Do anyone knows how to fix this issue?
    Kind Regards,

    Hello friend,
    In the windows under output options tab there is an option for setting the left margin and upper margin. Just reduce the upper margin and see whether you are getting any difference in output.
    I think this must be the problem, if not please revert me will help you.
    Thanks,
    Sri Hari.

  • How to get a second page in a form letter report after create it by Wizard

    How to get a second page in a form letter report after create it by Wizard
    i've built a report by wizard with a sql-Query
    the sql give me back for example 3 dataset
    and the report prints 3 pages
    dataset 1 - page 1
    dataset 2 - page 1
    dataset 3 - page 1
    thats ok,
    but now I need a second page per dataset ( with only a text )
    so that the report should print 2 pages per dataset
    dataset 1 - page 1 ,page 2
    dataset 2 - page 1 ,page 2
    dataset 3 - page 1 ,page 2
    It's not really clear for me, what to do, to create the second page
    any help ?

    .... found answer in other forum

  • Blank Page in Smart Forms

    Dear All
    A blank page is printing in Invoice through Smart Forms.
    Help Me?
    Thanks in Advance

    Look at these things:
    <b>check how manty pages you designed.</b>
    <b>on each page what you defined in next page box.</b>
    suppose you have 2 pages page 1 and page 2.
    for page 1 next page shold be page 2.
    and for page 2 it should be page 2.
    if still you have a problem then download your smartform and send it to me .
    reward if useful..
    Amit Singla

  • How  can i print currency symbol in smart form?

    how  can i print currency symbol in smart form?
    i want to print the currency symbol with grant total based on the vendor currency.
    pls hepl............

    Hi,
    think You can't print the symbols for currency like $ and Pound etc
    see this doc if needed
    A variable in SAPscript is called a symbol. There are the following types.
    • System symbol (e.g. the number of the current page)
    • Standard symbol (usable in any document)
    • Program symbol (value from the print program)
    • Text symbol (“local variable”)
    The value of a symbol is text for using within SAPscript code and is represented by the symbol-name enclosed by ampersands. On seeing the tell-tale ampersands in SAPscript code, you sometimes need to figure out the symbol type.
    goto any PAGEWINDOW's Text elements in Script (SE71)
    from the Menu-> INSERT-> Symbols
    you find all symbols here
    System symbols
    System symbols in a SAPscript form are comparable to system fields like SY-UZEIT in an ABAP program, and include these. The graphical editor offers three types of system symbol.
    1. General system symbols
    See the table TTSXY. PAGE is the most widely used. The list given in our BC460 training manuals is out of date.
    2. SAPscript system symbols
    See the dictionary structure SAPSCRIPT. SAPSCRIPT-FORMPAGES is the most widely used.
    3. ABAP system symbols
    For the ABAP system field SY-UNAME, say, the symbol is SYST-UNAME. http://SYST is the dictionary structure for ABAP system fields.
    Sample code:
    User: &SYST-UNAME&
    Page &PAGE& of &SAPSCRIPT-FORMPAGES(C3)&
    Standard symbols
    Standard symbols are maintained centrally (in the table TTDTG via transaction SE75) for use in any document. Menu path:
    Tools
    Form Printout
    Administration
    Settings
    Some standard symbols are SAP-standard and others are custom. Curiously, table TTDTG is cross-client although SAPscript forms are not.
    The value of a standard symbol has to be defined for each language used. This gives a way to make a single SAPscript form multi-lingual.
    We can take advantage to an extent of the central maintenance, though there is no guarantee that the available standard symbols will used in every appropriate context.
    Standard symbols complicate searching a SAPscript form, since text like ‘Charity registration 211581’ may be hiding in a standard symbol.
    Text symbols
    A text symbol is declared and assigned to within the SAPscript code, and so obviously applies only to the current document. The command DEFINE is used, requiring /: in the tag column, as in the following examples.
    /: DEFINE &COMP_NAME& = ‘University of Warwick’
    /: DEFINE &WS_RATE& = &TAX_SUMM_C&
    Reward points for useful Answers
    Regards
    Shiva Kumar

  • Print Charts/Graphs on Smart Forms

    Hi Seniors,
    Here is a requirement on Smart Forms:
    I need to print Charts on Smart Forms. I have been through many answers on SDN but unfortunately, there are not many appropriate solutions. I executed some standard reports and got Charts and graphs as output but am not able to use it to display the same on Smart Forms. I have even  tried using classes for charts / graphs, business graphics(may be there would have been some sequential procedure for that).
    In the Smart Form, I have tried Form Attributes>Output Options>Output Format--> XSF output
    with output mode: 'Spool' and Output Device: 'XSFOUTDEV' from help.sap(I couldn't get what output device that was and was unable to execute).
    I have tried executing transaction GRAL(demo reports for SAP graphics) too.
    I found a report that would produce graph in Excel, I executed it, saved the graph from excel in '.bmp' format in SE78 and then printed it on Smart Form. But all I want is to have it done dynamically.
    I saw answers that we can save the graph chart/graph onto the desktop, upload it and then display it on the Smart Forms. But, when i tried it, I saw that it could be saved only in '.dat' format. I have to save it dynamically in a supported format like '.bmp' and print it on the Smart Forms(the graph would change depending upon the input values). Please help me resolve this.
    Thanks in Advance,
    Chaitanya.

    Dear Bouman,
    Thank you for the reply. I can write a report if would helps me to upload images dynamically. I saw your program but, here we cant give the name of the chart that comes as output. I tried to save the chart but it comes in '.dat' format but not in '.bmp' format. We may be having some classes or function modules that we need to call in a particular sequence. What other options do we have. Please help me resolve this.
    Regards,
    Chaitanya.C.N

  • Print Second page in SAP script

    Hi ,
    I want to print second page in my sapscript.first page has Header,MAIN,footer windows. Second page has only one window where i need to print some terms and conditions those are hard coded in script.
    Could you please let me know how i can print second page after first page?
    Thanks
    Mohit

    Create a new page as second page....
    Assign the second page as the next page to the first page... select print only when main window finishes...
    It will automatically print the second page...

  • Printing Chinese Characters in Smart Forms

    Hi,
    Iu2019m trying to print Chinese characters via smart forms. However during print preview or print, all Chinese characters are showing as # symbols.
    I have researched and implemented for some possible solutions posted in the forum like:
    a.) Setting the regional language control panel.
    b.) Activating the multi-byte function in I18N.
    c.) Checked the output device is SWINCF.
    d.) Control parameter language is ZH (Chinese).
    Unfortunately it still doesnu2019t solve the problem. Any input is highly appreciated.
    With regards,
    Marc

    Remark following basics:
    Forms:
    Language of the form must be: "ZH".
    Due to a SAPNOTE only font family CN* (CNSONG etc.) is mapped.
    For frontend print, you must install chinese true type on you local PC and print via "CNSAPWIN" .
    For backend print, you must install neccesaary fonts in your printer to the resident fonts. You must use a printer like "CNHPL4" or so.
    For PDF archiving, you must upload truetype fonts to application server -> basis guys.
    Cascading Fonts:
    If you mix different subfonts to unicode areas, you must use CNSAPWINCF.
    Until now, only frontend printing is available.
    Note:
    Spool created for back end print with print preview is only a simulation of getting a picture of the output created with front end technology. So it can differ, when the printer does not have the resident fonts.
    Regards,
    Christian

  • How do u get New page in Smart form dynamically

    How do u get New page in Smart form dynamically

    page break in smart form
    Re: New Page in Smart Forms
    Page break inside a loop  in smart form

  • Print Bar code in Smart form

    Hi,
      Can you pls tell me how to print bar code in smart form?

    Hi,
    You create a bar code or change a bar code in the font maintenance transaction (transaction SE73). To do this, proceed as follows:
    &#9675; Start transaction SE73, and choose System Bar Codes ® Change.
    &#9675; If you create a bar code, the system asks whether you want to use the new bar code technology or traditional system bar codes. Choose New.
    You can enter a name and a description for the bar code. Note that the name must begin with a Zto avoid conflict between your bar codes and the standard bar codes.
    2. If you have created a new bar code, you must now add this to a Smart Style as a character format. For information about this, see the section Maintenance of Styles with the Style Builder and its subsections in the Smart Forms documentation.
    If you have only changed the bar code, continue with the next step.
    3. You can now select text in Smart Forms and choose the corresponding style with the bar code as the character format for this text.
    4. You can then print the bar code.
    Refer
    https://forums.sdn.sap.com/click.jspa?searchID=10581664&messageID=3321556
    Check the pdf below..
    http://www.sap-press.com/downloads/h955_preview.pdf
    Regards
    Kiran
    Edited by: Kiran Sure(skk) on Apr 10, 2008 11:01 AM

  • Printing Second Page Issue

    Dear all,
    I have set the print default for a user to print two copies of AR invoice. When the print comes out, the first page is printed as original and second page as a copy which is fine. Unfortunately the second page is printed in a weird way. The text boxes which are shown in the Print Layout Designer are also printed
    Any solution on that
    SAP B1 2007 Patch Level 42
    Regards
    Kentish

    Hi
    You may check these threads first:
    Print problem invoice from 2e page with border around the text
    /message/7371963#7371963 [original link is broken]
    Re: Printing problems with HP Laserjet P2015DN
    It is a printer driver compability issue.
    Thanks,
    Grodon

Maybe you are looking for

  • Export/Import from 7.5 to 7.6 and COLUMNCOMPRESSION

    Hello, I exported a content server on MaxDB 7.5, Win 32 bit, and am trying to import it to MaxDB 7.6, Win 64 bit, both with loadercli 7.6. I am getting this error in loader.log: // E -25345:     Definitions of source and target table COMPONENTS0001 d

  • Error message (-50) when updating podcast

    When updating the Photoshop TV podcast I get an error message saying that there was a problem downloading it and I should check the URL to make sure that it is right. All other podcast updating is not affected, they update without issue. Is anyone el

  • Loading CS5 and Lightroom 4 on new computer

    I have CS5 and LR4 on my laptop. I have all of the disks. I bought a new desktop computer. I understand I can have photoshop & lightroom on 2 computers under one license. To load CS5 and LR4 on new desktop, would I copy LR3 and download updates and t

  • IDoc Segment -  EIEDP32 through program RSMIPROACT -

    Hi Experts, SE38>RSMIPROACT>IDocs Each segment in EIEDP32 shows data for a day . And there is a cap on the number of days that the iDoc can carry data for. Is there a way in which each of these segments can carry data for a week or month . Thanks in

  • For ZUK_ACP3 no combinations could be created

    Hi All, I am getting the following error when trying to execute a planning sequence in the modeler: Error 1: for muliprovider ZUK_ACP3 could'nt be created any combinations Error 2: For characteristic 0VERSION there does'nt exist any values This copy