Page Protection in Smartforms

I know this question has been asked before but I've not found an answer which completely solves my problem.
I have a table node in my smartform (basis version 7.0, ERP 2005) which has several line types and a loop within it but I need all data to be page protected for one loop of the table (not the inner loop).  On the table node I've marked all line types as page protected but that just seems to protect each one individually and not collectively.  I've also tried putting the whole table node inside a folder but the page protection flag for the folder is disabled.  I'm also using several different paragraph and line types so page protecting those within the smartstyle doesn't work either.
Can anyone help?

Hi,
<b>Protection against page break for line types </b>
1) Double-click on your table node and choose the Table tab page. 
2) Switch to the detail view by choosing the Details pushbutton. 
3) Set the Protection against page break checkbox in the table for the relevant line type.  Table lines that use this line type are output on
one page. 
<b>Protection against page break for several table lines</b> 
1) Expand the main area of your table node in the navigation tree. 
2) Insert a file node for the table lines to be protected in the main area. 
3) If you have already created table lines in the main area, you can put the lines that you want to protect again page break under the file
using Drag&Drop. Otherwise, create the table lines as subnodes of the file. 
4) Choose the Output Options tab page of the file node and set the Page Protection option.   All table lines that are in the file with the Page
Protection option set are output on one page. 
Alternatively in a paragraph format use the Page protection attribute to determine whether or not to display a paragraph completely
on one page. Mark it if you want to avoid that a paragraph is split up by a page break. If on the current page (only in the main window)
there is not enough space left for the paragraph, the entire paragraph appears on the next page
Regards
Sudheer
Message was edited by:
        Sudheer Junnuthula

Similar Messages

  • Unable to use page protection in smartform

    I am working on a smartform but i am unable to use the checkbox page protection anywhere in the po form.  What do I have to change so I can use this option?

    Hi
    check the parent nodes of the objects, do they hv page protection checked.remove them and try.
    OR
    U can create a FOLDER node and check the page protection.
    If u want to protect a particular line type then in table click DETAILS and click the line types which u want to protect.
    Regards
    Hareesh

  • Page protection in smartform is disabled and how to overcome this problem

    hi friends,
    i have a smartform in which there is a table node to display the item data as shown below :
        Customer No : 12345678
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||   ( Barcode )
        Material No :201836
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||   ( Barcode )
        Material Description : Phase Shifter
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||   ( Barcode )
        Customer Part No :  TDD-09QA76
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||   ( Barcode )
    My Problem is for some customers when the data is much the text is printed in first page and it's corresponding Barcode is getting printed in the Second page which should not happen. I want the text and the barcode should be page protected But when i am trying this the Page protection option is in disable mode. So please anybody help me how to enable page protection it is disabled even if i create a folder.
    NOTE : the table does'nt have main area they have kept every thing in the header itself.
    Edited by: Murthy.G on Nov 17, 2010 5:51 AM

    Hi,
    For basis releases 6.20 and higher, you can define a page protection inside of a table, which contains more than one table line. This function is available, if you have a table of the new table type. i.e. If the table was not originally created in a 46C system. If you right-click on the table node, you can 'Create' a 'Folder'. In the folder you can set the 'Page Protection' flag. After that
    you can right-click on the folder and select Create -> Table line. Then you can put table lines into the folder, which are protected.
    Regards,
    Aidan

  • Main window data to be page protected in smartform

    Hello Experts,
    I want to make Main window data to be page protected.
    But page Protection check box is in Noneditable mode .
    Please let me know, how to make main window data to be page protected.
    Regards
    Mohit

    Hi,
        Try this way
        Under the Main Table node, you will find, Header, Main Area and Footer.
        Select Main Area, right click Create> Folder
        Drag the Row item inside the Folder
        Select the Folder node, for Folder node out put options, you can select Page Protection check box.
    Main Window
        Header
        Main Area
          Folder
            Row Items
        Footer
    Regards
    Bala Krishna

  • Page protection at smartforms

    hi folks,
    i want to make a table node as page protection.
    -i have created a folder and include the table node inside, but still the protection field is gray off? can anybody help?

    Hi Ester,
    I am using the same option as mentioned in SAP help http://help.sap.com/saphelp_47x200/helpdata/en/3e/c4308945ca4953bb100b9661eab3c2/frameset.htm
    But still the page protection does not seem to work.
    Please let me know how you resolved this issue.
    Thanks,
    Chamu

  • Page protection in smartform not working

    Dear All,
    I have a smartform with one page. For a range of order numbers multiple pages would come in output. Example : 5 order numbers , 5 page output. There is a header part, that has to come on each page which is hard coded i.e company name .
    when we give small range of order number ,output comes perfect. But when range is over ten. the header part  moves for some pages into previous page...........

    Hi Shiva,
    I am using only one page. In it I am using  loop to display all content.
    Pattern of each page is:
                                                                    Company Name
    doc no.      123456                                       code:456                                  city:nnnnnnnnnnnnnnn
    table  with 4 cols.
    footer part. of table
    pm sign                                     authority sign                                                  reviewer sign
    So, when there are more then three pages, the last line in smartform goes in to next pages .Due to which other pages indentation also goes wrong.  This is happening when table size is increasing more then it is in first page.
    Please Help.........

  • Page Protection in Main window of smartform using Folder issue

    Hi Experts,
    We can fix the page protection issue of records in main window by checking the No Page Break check box at the line type level in a smartform.
    I tried to solve this issue by using the folder option. I created a folder inside the table of a main window and checked the page protection check box. Save and activated the layout. When i tried to add the table to the folder, the check box for page protection was reset to blank.
    Why does this happen? Cant we use page protection inside main window using folder ??
    Thanks

    Hi friend,
    We can do page protection functionality inside table of main window using Folders option. Follow the below steps,
    1. Assume rows are created inside table in a main window, with corresponding line types.
    2. Create a folder named PROTECT inside table, for example in Main area of table.
    3. Just drag and drop your Row(s) into folder PROTECT and simply click page protection check box of the folder PROTECT.
    4. This will help you to add the required functionality using Folders option in smartform.
    Try this and update me in case of any concerns. Hope this will solve your problem.
    Check the attachment also for your reference.
    Cheers...

  • Smartforms - page protection problem

    Hi,
    I have made an invoice form with smartforms. To protect the positions of page breakes, I have made all position nodes in one folder note and set the page protection flag for that folder. Because in tables the page protection option is not working, I have made it all with paragraphs...
    This is my problem now:
    If the form has more than one page, I have to show the sum of all positions of the first page on the bottom of the page and one the top of the next page. Therefore I have calculated the sum inside the loop of the positions (at the end of the loop).
    This is normaly working... But if I have two pages and only <b>ONE</b> position does not fit on the first page, the calculated sum contains the sum of <b>ALL</b> positions, although the last position is shown on the next page!
    Any ideas, how I can only calculate the positions that fit on one page <b>FOR REAL</b>?
    Thank You very much!
    Cheers Arne

    Hi,
    I encountered a similar problem as ur doing.In dat scenario what i did was that I created a <b>Loop</b> instead of a table and secondly based on the page size please create a style with proper an appropriate tab and use this through out while displaying the line items.
    Using a tab will ensure equal spacing everywhere and the data will not overflow from any line and where ur writing a variable place an addition (C) at the end of that variables between the &. This also ensures that the data doesnt overflow and confines to the space.
    Hope this will help.
    Varun

  • Page protection Smartforms

    Hi,
    I need to set a page protection for the delivery adress.
    The adress text node is inside the main window and inside a table. How can I now activate the page protection?
    The checkbox for page protection on the top of the text node is disabled, so I can´t check it.
    Any ideas?
    Thank you!

    Hey Vidya, I understood completely what You have ment, but the problem is... it´s not working!
    I have tried to force the next page command, but when I´m testing the form, I´m getting the error message, that Page protection is not allowed inside a table!
    So I´m sure there must be a difference between older and newer smartforms versions....
    But now, I have translated the whole table to paragraph tabulators. It´s now working with page protection. I can set it in the folders etc.
    But now I need my previous header lines of the table on each page on the top.
    I tried to do it with a variable, which has as content the old page number. If the page is changing, it´s going to print the line.
    But the page break is often during the lines of one position, so I get the header lines after the next position line on the next page....
    For example, the system detects, that the next position is not fitting on the current page. Then it´s forcing a page break. But the next position lines are printed before my header lines on the next page...
    How can I get the header lines on the top of every page during the loop about the content of a table?
    An I also need a footer line on every page to show the sum of the amount of one field for all positions shown on the current page.
    I hope You understand my problem!
    Thank You very much for Your help!
    Arne

  • Unavailable 'page protection' smartforms

    Hi all.
    I need all parts of a table in a smartforms, be shown in the same page. If I select the table, and select 'Output Options', there is a flag 'Page protection', but it is in display mode, and I can't put it in change mode to mark it. Could you help me? I have marked flag 'Page protection' in Line type, but it keeps toguether the line, but not all the lines of the table.
    Thanks a lot.
    Marta.

    Hi,
    try the following options :
    1.When defining the paragraph format from T Code : smart styles in tab Indents & spacing under header Text Flow there are 2 check boxes  Page Protection and Next paragraph same page . If u set these check boxes then they work like Protect - end protect in sap script. 
    2. Folder option
    But It all depends on the amount of data that you are trying to display on the smart from, if it is a large data it has got no option but to spread to next page.
    Revert if it works.
    Thanks,
    KC.

  • Reg: Page Protection Check Box in Smartform

    Hi,
      In the folder node of the smart form, i want to use the check box ' Page Protection'. But the check box is disabled. Can any one guide me how to enable the check box. Thanks in advance.
    Rgds,
    Nagendra Prasad.J

    Hi,
    I did like that,
    I created one folder and I selected the checkbox in output options.
    when I am trying to create "TABLE" in that folder, it's automatically resetting the checkbox.
    error text "Page protection for node %FOLDER1 was reset"
    Plz. suggest me.......!
    Thanks & Regards
    Rajendra

  • Page protection in the smartform

    Hi All,
    I am working with an issue in smart forms.
    Requirement: The main table header in the main window should be dispalyed from the second page if and only if there is no space for atleast single item level in the first page.
    Solution that i tried for: I have created a folder under the header of main table and added all the  table lines which were present in the header and checked the page protection  tab.
    The impact to the solution is that it is working but in the second page i am getting 2 headers
    example :
    header
    lineitem1 value
    lineitem2 value
    header
    Querry:I dont want to display the header which is at the bottom.Is that possible?If possible i would like to take help .
    Thanks in advance,
    Bhavani.

    Click on the 'Header' node of the table. Under the 'output option' tab, there are two check boxes 'At start of the table' and 'At page break'. check and uncheck them as you want to display the table header and check the output.
    and there is no need of creating any folder under header node.
    Hope it will help you
    Edited by: Sujeet Karn on Oct 30, 2009 3:40 PM

  • SmartForms Page Protection

    Using SAP's flights examples just to make it easier to explain .... I have a table in Main on my smart form set up as follows:
    Header
      CARRID Event on Sort Begins
      Header Text that Says "Bookings for XYZ Airlines"
    Main Area
      2 Cells that Contain the Flight and Price
      CARRID Even on Sort Ends
    Footer (nothing here)
    My output would be similar to:
    Bookings for XYZ Airlines
    AA017   $1200.00
    AA020   $1150.00
    Bookings for ABC Airlines
    CA002   $898.00
    CA076   $650
    I want to ensure that at each new Airlines, that the Airline Header Text "Bookings for XYZ Airlines" and all of the flights and prices under it stay on the same page.  How can I achieve this?

    Hi Janice,
    Page protection always works at particular folder level. In your case, "Booking for XYZ Airlines" which is in SORT event is one folder, and each line of data in TABLE MAIN AREA is under another folder. So you have to group the heading + data into one folder to get the required result. You can achieve this as follows-
    In your main table display, loop at gt_flights into gs_flight...Set the sort attribute..
    ANd in your sort event, create a folder and set page protection for that folder. Set PAGE PROTECTION for the folder created, not for sort event.
    Then display the header text under a table line in this folder and after that crate a loop which will have "LOOP AT GT_FLIGHTS  into GS_FLIGHT1 where CARRID = GS_FLIGHT-CARRID" and crate your table line under this loop and display the data.
    Don't have any thing in your main area. This way since everthing is in a folder, page protection works.
    If this is not clear, please let me know your mail id. I can send the xml file of a sample form and you can upload and check it.  good luck
    Hari

  • How to insert a page break in smartform

    hi all
    i have to print only ten records per page. Is there anyway to insert a page break in smart forms?????

    hi
    To insert a page-break you have to Create a Node Called COMMAND.
    Here you can Specify a Different PAGE as next page if u want.
    Smartforms: protect lines in main window.
    It was easy with SAPscript, but how to do it with SF's. For 4.7 version if you are using tables, there are two options for protection against line break:
    - You can protect a line type against page break.
    - You can protect several table lines against page break for output in the main area.
    Protection against page break for line types
    - Double-click on your table node and choose the Table tab page.
    - Switch to the detail view by choosing the Details pushbutton.
    - Set the Protection against page break checkbox in the table for the relevant line type. Table lines that use this line type are output on one page.
    Protection against page break for several table lines
    - Expand the main area of your table node in the navigation tree.
    - Insert a file node for the table lines to be protected in the main area.
    - If you have already created table lines in the main area, you can put the lines that you want to protect again page break under the file using Drag&Drop. Otherwise, create the table lines as subnodes of the file.
    - Choose the Output Options tab page of the file node and set the Page Protection option. All table lines that are in the file with the Page Protection option set are output on one page.
    In 4.6, Alternatively in a paragraph format use the Page protection attribute to determine whether or not to display a paragraph completely on one page. Mark it if you want to avoid that a paragraph is split up by a page break. If on the current page (only in the main window) there is not enough space left for the paragraph, the entire paragraph appears on the next page.

  • Page Protection

    Hi,.
    In the smartforms, the check box option for page protection for cells, text elements and row type (line types) are disabled in the changed mode also. Can anyone please educate me why this option is disabled and how to enable them.
    Regards,
    N.M.S.M.Krishna.

    Hi,
    Right click on the node and Create a folder then drag the node in this folder you will find the Page protection option in editable mode.
    This is mainly to avoid data truncation when data flows on the subsequent pages.
    Hope this helps.
    Thanks

Maybe you are looking for

  • How to add fault handling for file adapter??

    Hi guys I am new to SOA technology ,I have one scenario  in file adapter  ,when file adapter reads a file from directory .If file is there   then read the file  data else it can give user defined exception that  the file is not there .How can i write

  • Business Catalyst Help | Change the domain name of your site

    This question was posted in response to the following article: http://helpx.adobe.com/business-catalyst/using/change-site-domain.html

  • N8 Music Player Resume?

    I'm thinking of replacing my iPhone 3GS with the N8 but hesitate as I haven't found any information on whether or not the media player in the N8 supports resume on large media files (audiobooks, podcasts and videos). Is the N8 capable of resuming pla

  • Loading Photos-won't complete

    iPhoto won't load photos while attempting to open program. I loaded about 150 pics today from Koday EasyShare program. I also had a "iPhoto crash" today while attempting to share these photos. Since then, I've loaded iLife 05 and upgraded iPhoto, but

  • Single phase inverter controlled by compactRIO

    Hi guys, I am conducting my application which need a single phase grid-tie inverter. I want to find a custimized or commercialized single-phase grid-interactive inverter which allow the user to define the control algorithms. I wish I can controll thi