New page in smart forms

Hi,
       I have requirement of displaying each record of an internal table on individual pages.When iam trying to include command line inside the main of table its giving error saying explicit page breaks not allowed.Any pointers regarding this plzzz.
Thanks and Regards,
Rajashree

Hi Rajashree,
I have just tried the same on our system without any problem. How did you exactly define your page break?
Regards,
John.

Similar Messages

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

  • **To branch to a new page in Smart forms after main window**

    I have three pages where on second pages main window so my data many be carry on next 3, 4, pages and my requirement is to display  data(like notes ) on last page after all contain of main window .that last  third page is different formatting on basis of company code lets 10 different pages. On second page in main window I write u2018commandu2019 and General Attributes, Tick Go to new page in. On the Determine the new page using the list box next to the checkbox. The output of the main window will continues on the new page of third pages. I did this for my all company like (command for 10 , command for 11u2026.).BUT also on second page option of next page in General Attributes. Where in can maintain next pages entry is single...if I put blank the error comesu2026thingu2019s 1) what should I have to maintain in second page for next page.
    2) how I get data from multiple page design (I design 10 pages from that I want one should display):- I used condition option in command for company still getting error .
    So kindly help me  for such scenario.
    Edited by: nshahare on Aug 5, 2011 4:07 PM

    Hi nshahare ,
    Format the way you have asked the question, It is highly unclear what issue you are facing.
    Be clear, be cool and then post(edit) the question again. we are here to help you.
    BR
    Dep

  • New page in smart form when displaying internal table data in table

    Hi ,
    My requirement in smartform is like
    I'm using the tables to display the internal table data in main window .
    based on SORTF field in the internal table ,when SORTF field value changes all the related to that SORTF value should be displayind in the new page.
    Please anybody tell me that , how to do this?
    Thanks
    Naveen

    Hi Navi,
        Try this Logic.
    1) Go to Smartform,
    2) Declare a flag variable w_flag type c
    3)Go to Main Window
       a) Go to table
       b) Create one more Table Line
       c) Create a CODE Line in that.
           write inside CODE  as Below:-
                 CLEAR: w_flag.
                 ON CHANGE OF w_final-sortf.
                   w_flag  = 'X'.
                  ENDON.
       d) Create one COMMAND Under CODE line created above.
           click on check Box "Go to New Page"  ( Page1 or Page2 or give as reqd ).
           click on conditions tabe of COMMAND
           write: w_flag = 'X'.
    Hope this will work
    Reward Points if Useful
    regards
    Avi.............

  • Repeat Line item prints on every new page of smart form of Service PO

    Dear Sir,
    I am  facing following Problem & need abaper help.
    example:-
    PO type is Service
    Line item 10.  Transportation  1  AU
      under this activities
              01.  Transportaion by Tree wheeler 3 Rs/ KM
              02.  Transportaion by Four wheeler 8 Rs/ KM
              03.  Transportaion by Heavy vehical 10 Rs/ KM
    Line item 20      Errection     1 AU
    Sub services are,
            01. Errection of Boiler   200 RS/Hr
    Like this way
    Now I am seeing Print Preeview
    Suppose line item 20 come in second page , in this case system copies sub services of firs line item
    example : - system shows line item 20 in second page as shown below which is wrong.
    Line item 20      Errection     1 AU
               01.  Transportaion by Tree wheeler 3 Rs/ KM
              02.  Transportaion by Four wheeler 8 Rs/ KM
              03.  Transportaion by Heavy vehical 10 Rs/ KM
    Pls, suggest where I need to change.
    Regards,
    Ravi

    hi ,
    i think you are not clearing the Barcode variable once it has printed.
    try declaring the variable like this in smartform,
    BARCODE     TYPE     CHAR24
    when one loop excecutes .and end of loop  in command line clear this variable.
    thanks & regards,
    kat.

  • 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

  • How to create new page in adobe form.

    how to create new page in adobe form.

    Hi
    First Go To Layout.
    On Hicherchy Platte , rightclick on Subform and select option new body page.
    This way you can create body page for the particular subform.
    if you want to create master page , right click on page 1 and select New master page.
    Hope this will helpful to you.
    Rewards if useful.
    With Regards
    Nikunj Shah

  • How to mention two different next pages in smart forms

    Hi
    In our scenario there is smart form in which we have one main window, after that we need to print two different pages one for instructions and other for delivery address.
    In main window we can add a command and mention the condition for a next page e.g Instructions page. but for  delivery address page we are unable to specify condition in main window or in secondary window  in instruction page/main page.
    Kindly help us
    Regards
    Ammad

    Hi Ammad,
    Create two pages(page2 and page3), page2 for printing the "Instructions" and second(page3) for "delivery address".
    in the first page, at the end of main window create the command and specify as below
    general attributes->check the go to new page check box->choose the page which u wanted to be print on the second(for your case it is page2).
    In the page2->general attributes->next page->give "page3".
    Thanks,
    Prabhakaran
    Edited by: prabakar1998 on Dec 12, 2011 9:42 AM
    Edited by: prabakar1998 on Dec 12, 2011 9:44 AM

  • How to supress a blank page in smart forms

    Hi,
    I am using a command in Smartforms to trigger a new page whenever a new BELNR(Accounting document). My problem is in the output i am getting a first page is blank and remaining pages are ok.
    What i did Is In conditions tab i written as temp NE belnr. So first time temp is nothing so blank page is coming. and in the following text elements i am passing a belnr value to the temp.
    Temp = belnr and in general attributes go to new page check box has been activated. Then how to supress a blnk page.
    Regards
    Ramakrishna .P

    Hi,
    I am not using loop.
    In main window i have the contents as
    Header---- Headers for table
    Main Area---- text elements ( i have fileds slno, belnr,glaccount,cost center,gtext,description,dmbtr,wrbtr)
    In belnr field i have created the command there i am comparing the condition temp ne Belnr and go to new page on conditions tab
    wrbtr text element i am passing the g_temp =belnr
    My requirement is whenever new belnr comes new page has to trigger and corresponding gl accounts need to be displayed and end of the belnr i want to display the footer.
    For your information passing the belnr values from the print program (select options) to smart form
    Footer---footer

  • Dynamically call different pages in smart forms

    Hello Abap Gurus:
    I am creating a smart form for cobra letters, in which i need to display one letter for hourly employees, and other for salaried employees.
    For example in my variant if i have two employees one salried and other hourly then my cobra letters should print different letters for salried and hourly employees.
    Any suggestions are helpful.
    Thanks,
    Ratna.

    Hi,
    I am assuming that before coming to the Smartform you know the Status of the Employee. May be you can get the status from the Smartform Interface Parameters or else set the Variable (Used for comtroling the page printing) in the Driver Program and Import that variable to the Smartform.
    Now once 4 letters are printed after the 4th Letter Create a New Page Command and Check the New Page Check and give Page as "5th Letter Page Name" and Under the Condition Tab give your Variable Name with the Set Value.
    Similarly follow the same process for 6th Letter.
    I suggest to set the Variables Values in Driver Program and IMport this Variable to the Smartform unsing the Form Interface.
    Under the Condition Tab V_GROSS_HRLY(Say Identifier)  NE ' '. This is will take of Printing the New Pages. I think this logic should work.
    Let me know in case if you face any problem on this.
    Regards,
    Srinivas

  • Blank pages in smart forms

    hi am working on smartforms i developed a smart form in which i designed a selection screen it will take run-date and run-id from the user and displays vendors address iten details and description and amount after tht cheque will be printed.
       giving the adress and item details of each vendor in one go.
      in my test data , three vendors are comming one is having 16 line items and the other 5 and 3  now  i want to put a condition i want to pick only those vendors who r having more than 10 items .
      so am using a codition on address window main vindow
      i declared
    data:  V_LINES(3) type c.
    describe table it_regup1 lines V_LINES.
    and in the conditins options i gave 
       v_lines ge or eq to 10.
    so only one vendor is displaying but two blank pages are
    how to supress them
    pls let me know
    cheers
    uday

    hi thanks for the reply
    there is only one page
    first one address winow is there here am displaying vendor name1 name2 street postal code and all.
      in the main window there is a dynamic table for line items in tht regup-xblnr and sgtxt and regup- dmbtr is comming  below tht am printing a cheque . in a preprinted format
    and tht is fine.
       i put a condition in it tht if line items more than 10. am displaying a text for tht particula vendor 'please see the enclosed attachment'. n its over
       in the second smartform am picking only those vendors who has line items more than 10 and am not printing the cheque as in the first one it will be printed..
       so here i put a condition in the command line
    greater than or equal to 10.  so only those vendor who's having more than 10 line items are comming but the problem is          in  my test data there r three vendors one with
    16 items other with 5 and 3 
      so for the first vendor everything is fine and it is showing
    as the window can hold only 10 its going to the new page thts what i want but after tht its showing blank two blank pages   thts the prob
      hope u got my prob if not pls revert back
    cheers
    uday

  • How to creat 2nd page in smart forms

    hi
    in smart forms iam facing problem i'e if i gave 10 material's it was comming fine if i give 30 materials it was going to 2nd page in that again from starting it was comming like Header delivery adress.
    what i want is if materials increase than main window should increase size & rest of thing(footer )should comes in 2nd  window
    regards
    A K reddy

    Hi,
    For the header details not to print on the second page:
    -> Go to Conditions tab of the window in which u r printing Header  delivery address and check the condition 'Only on first Page'
    This will solve ur problem.
    thanks,
    Anon

  • How to add New field in SMART forms.

    How to add new field in the SMART FORMS. Please know me the step.
    Please help me soon.
    Moderator message: Welcome to SCN!
    Moderator message: please search for available information/documentation, do not use a priority higher than normal (no "soon", "ASAP", "earliest" etc.).
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Jun 17, 2011 12:31 PM

    How to add new field in the SMART FORMS. Please know me the step.
    Please help me soon.
    Moderator message: Welcome to SCN!
    Moderator message: please search for available information/documentation, do not use a priority higher than normal (no "soon", "ASAP", "earliest" etc.).
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Jun 17, 2011 12:31 PM

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

Maybe you are looking for

  • Is it Possible to select KF's dynamically in BEx ?

    Hello BI Gurus, Is it possible to dynamically select the KF for the columns in BEx ? I'm sure I would be sounding vague with the abouve question. Let me explain the scenario below. I have a specific requirement where I have Year in the rows and 5 KF'

  • What? How do I dowload the "latest ipod mini update"?

    Hello. I have an Ipod Mini (2nd Generagation 4GB). I had put it away a few years ago when trying to reformat it. It had been on Mac, and I was switching to Wondows. I had trouble downloading itunes for some reason. I dont think i was on dialup, but I

  • Lock server read in standalone server

    Hello Gurus , I would like to ask a difficult question . We have a custom created function module which enqueues and dequeues the BI IP Planning locks during a planning function implementation in Input queries. In our custom program we are using stan

  • Including an External File

    I have an external file that contains a declaration of an ActiveX object that I need to include in several JSP's. The external file resides on a separate web server from where our applications reside. I can't use the Include directive or the <jsp:inc

  • Airport Extreme won't stay in Bridge Mode

    I have the AE being used as a USB print server and for some reason it doesn't stay in Bridge mode. Every few days/weeks I have to run the AirPort Utility and put it back on Bridge Mode. No idea how/why it gets reset. I am printing over the network (n