Protect functionality in Smartform

Hi,
Do we have any command like Protect in smartform to keep the contents of a page together.
Also i have decalred an internal tabe in which some fields are coming from VBAK and other from VBAP, now when i am trying to declare it in Smartform interface i am getting an syntax error "table not defined in dictinory".
Thanks in advance.
Gurjeet

Hi,
For Page Protection in smartforms, take a look at SAP Note 382366. Additionally, look at following posts on SAP Fans:
1. http://www.sapfans.com/forums/viewtopic.php?t=7100
2. http://www.sapfans.com/forums/viewtopic.php?t=10393
Hope this helps.
Regards

Similar Messages

  • Protect - endprotect in Smartform

    hi
    what is the similar statement for protect-endprotect in smartforms
    please help me out.
    regards
    padma

    HI
    here 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. 
    Regards
    PAVAN

  • Call Function in Smartform

    Hi,
    I am using a 'Read_Text' function in smartform, but smartforms does not allows it , while executing it gives dump stating
    'The call to the function module "READ_TEXT" is incorrect:
    The function module interface allows you to specify only
    fields of a particular type under "NAME".
    It will be helpful if any one can throw more light on this.
    Thanks
    Rani

    from where are you reading the text ie : form which transaction adn which tab..
    for example if you are reading from text from sales item.. ie : sale order item
    go to VA02 --> give sales orde number , double click on the line item, then select the tab texts.
    now double click in the editor screen where you give text..
    after that go to menu path  go to --> header
    you can check the text name  it is 16 digit number but which i nothing but sales order number + item no
    you need to concatenate sales order number and item number and pass it to name in the read text fucntion module which basically read texts..
    how to use read_text fuction module you can check in forum you will get many links.
    If you need further info please let me know..
    Regards
    Satish Boguda

  • HT4641 Does pages have a document password protection function

    Does pages have a password protection function since adobe PDF for IPhone3gs or IPad2 does not?

    If you were to think laterally about this, you could also create encrypted archives for just those folders or files you were interested in to minimise the possible harm. Similar to the disk images Magnus suggested, but slightly less trouble. Modern Macs are very fast at unarchiving these files so you can work on them then archive them again without too much trouble.
    I am a great fan of those tiny USB harddrives and thumbdrives, which easily slip into your pocket so you can take them with you.
    My backup consists of a set of three 4Gb USB thumbdrives for my documents and 3 differently colored USB harddrives for my larger material.
    If your work is on these, you simply detach them from your computer and keep them locked up or on your person.
    Nobody will be able to access those without bailing you up.
    … And of course you can use a combination of any and all of the above suggestions.

  • BIOS update "ADD NTC protection function"

    So I noticed in the latest BIOS update for my motherboard, 870A-G54, that is has "ADD NTC protection function" as the update description. So what exactly is this? Is protection for the MOSFETs or something to do with the VRM? I have not been able to really find any information other than "ADD NTC protection function". I updated to the current BIOS to see if there was a new feature within the CMOS, but I could not see anything related to this.
    I'd appreciate if someone was able to clarify this update for me.
    Thanks!

    The problems arise when people use 125 W processors on motherboards not built for them. And the mistake is very understandable, as there is not much in the motherboards' names nor appearances that differentiate them from one another. It is mostly mosfets, yes, that take a beating, and that has little or nothing to do with cooling. The transistors in those cases are simply not built for producing the requested amount of correct and stable power. But now, I'm optimistic, components are made of better materials, directly from "slave-mines" in Zaire, and refined and purified in Chinese industries. We should all be happy they do this work for us computer users, with our very important tasks at hand. Like Bf3 or Crysis and whatever.
    I don't know of problems with this particular motherboard like you describe them. Are you sure the problems, if any, are really down to the motherboard. What we come across far more often is, that people choose the wrong memory.

  • Using K7T266 Pro2, Cannot find BIOS Protection function.

    I am using K7T266 Pro2 (MS-6380 v2.0) with BIOS update 3.70. I was reading the manual and suddenly I found a interesting function “BIOS Protection”, quote from manual:
    Quote
    This function protects the BIOS from accidental corruption by unauthorized users or computer viruses. When enabled, the BIOS’ data cannot be changed when attempting to update the BIOS with a Flash utility. To successfully update the BIOS, you’ll need to disable this Flash BIOS
    This is a really useful function but the problem is that I cannot find it! According to the manual it should be in the Advanced Chipset Features section, below the “PCI Delay Transaction” function. But when I go to my BIOS setup there is nothing below the “PCI Delay Transaction” function. And so I ask my self “where is the BIOS Protection function?”, I checked threw all the other sections but I could not find it… please help me, where is this function? Doesn't it include in the new BIOS update 3.70? Is anyone experiencing the same thing?

    Quote
    Originally posted by elpcmaster
    Downgrade to 3.3. It is the best and supports Linux and Norton Ghost, unlike 3.7.
    I'm assuming that by this you mean it does not support a network boot?  
    The reason why I say this is that I recently restored my K7T266 PRO2-RU BIOS Rev. 3.7 using Symantec Ghost Corp. Edition (MultiCast Server).  The Ghost image was stored on a remote machine, all that was needed was a floppy disk which was simple enough to configure using the wizard.  I had no problems -  BUT that doesn't mean the thing (my motherboard) isn't flakey as hell though.

  • Unable to access protected function from the child object

    Hi all ,
    I have an abstract class having one protected method
    package foo;
    public abstract class A {
      protected String getName(){
                 return "ABC';
    package xyz;
    public class B extends A {
              public void print(){
                              *super.getName();//this will get called*
    package abc;
    public class Ex {
            public static void main(String [] args){
               B b = new B();
               *b.getName(); //Im not able to calll this function*
    }{code}
    My question is why I m not able to call the protected method from child instance but inside the class ???
    I have checked this link , it also didn't say about the instance access or access within class .
    [http://java.sun.com/docs/books/tutorial/java/javaOO/accesscontrol.html]
    Thanks and regards
    Anshuman
    Edited by: techie_india on Aug 31, 2009 11:25 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    jossyvjose wrote:
    Hi Winston,
    Did you mean like this? But still same behaviour.
    package abc;
    public class Ex extends A {
    public static void main(String [] args){
    B b = new B();
    b.getName(); //still i am not able to calll this function
    }No. Class 'Ex' would have to extend B in order to call b.GetName(). And I would definitely not make Ex part of your hierarchy (it's the sort of thing you see in SCJP questions, but definitely a bad idea).
    What you can do though is to override the method; and Java allows you to change the visibility of overriden methods, provided they are more open. Thus, the following would be allowed:
    package foo;
    public abstract class A {
       protected String getName(){
          return "ABC';
    package xyz;
    public class B extends A {
       public void print(){
          System.out.println(super.getName()); // your previous code does nothing...
       public String getName() { // Note the "public" accessor
          return super.getName();
    package abc;
    public class Ex {
       public static void main(String [] args){
          B b = new B();
          b.getName(); // And NOW it'll work...
    {code}Note that this is just example code. I wouldn't suggest it as general practise.
    Also, when you write *public* methods, you should generally make them *final* as well (there are exceptions, but it's a good habit to get into; like making instance variables *private* - just do it).
    HIH
    Winston                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Error implementing a protected function

    I have the following code:
    abstract class testClass {
        protected abstract function a(b:Float);
    class testClass2 extends testClass {
        var c:Float;
        protected override function a(b:Float) {
            c = b + 1;
            while (c>0) {
                c--;
    }And a I get this error:
    found : void
    required: Object
    protected override function a(b:Float) {
    1 error
    ERROR: javafxc execution failed, exit code: 1
    I think I don't have to return some value to write this function, but If a insert an return value, it works.
    Is it a bug or am I doing something wrong?

    Better be explicit for argument and return types of an abstract function, no?
    If I just add Void:
    protected abstract function a(b:Float): Void;I have no error. I suppose the compile assumes the function returns an object if nothing is indicated.

  • Usage of protect endprotect in smartforms

    To control the Paragraph in a page we use protect endprotect in SAP SCRIPT. how to go about it in smartorms

    Syntax:
    /: PROTECT
    /: ENDPROTECT
    The lines to be protected lie between the two commands.
    An ENDPROTECT command without a preceding PROTECT command is ineffective.
    If the last ENDPROTECT is missing, it is implicitly assumed at the end of the text.
    PROTECT .. ENDPROTECT commands cannot be nested. If a second PROTECT command is recognized while another is active, the second is ignored.
    If the text between PROTECT and ENDPROTECT is so extensive that it would not fit on an empty page, then only one form feed is generated and the text is normally output. Thus, in this case, the section to be protected is separated by a page break.

  • 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

  • Blackberry Protect function after SIM change

    I have just got a new PAYG SIM card for my Betterware and put it in my BB Torch.
    I got a message from BB Protect that the SIM had been changed, which made me think about what if the phone had been stolen and SIM changed.
    I tried the loud ring, the locator and the message facilities from the Protect website - all of which stuck at "waiting for device to respond".
    Does this mean that if the phone is stolen and the SIM changed then BB Protect in effect ceases to be useful?
    Let's be honest, if the phone were stolen then a new SIM is likely....
    Solved!
    Go to Solution.

    Yes, by changing the SIM card you've disconnected the device from your BIS account and disconnected it from access to you.
    Somethings cannot be prevented, just like you can't prevent the thief from stomping on the device and crushing it. No software will 'disable' that.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How can I use the message protection function ???

    hello,everyone! I am a programmer working on the iphone,and I have a trouble in message filtering.How can I do it when I want to refuse the message which is sended from the specific people?? thank you

    Why not ask over at the registered developers forum?

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

  • Problems with asynchronous(?) function call before return statement

    I have a function as following inside a class deriving from CustomNode:
    override protected function create () : Node {
                    parseContent();
                    return group;
            }parseContent() executes a HttpRequest and then a PullParser. At least that's what it should do. But actually, it doesn't. Is this because the HttpRequest is asynchronous and is "cancelled" because of the return statement? Or can't this be the problem?

    You would have to update or create the view in the finally block of the onOutput: or onInput methods within the request.
    You could also try
    var viewContent: Node;
    override protected function create () : Node {
                    parseContent();
                    FX.deferAction(function():Void{
                           viewContent = group;
                    return Group{ content: bind viewContent }
            }I never tried that, but it might work.
    Another option is to bind the parsed content to whatever view you are pushing it to. Then whenever the request is done, the view will populate its content on the change of the variable where the content is stored.
    Example:
    var allTables: TableModel[];      
    //***************start of table list decleration****************************\\
    public var list: SwingJList = SwingJList {
        var shortcutKey: Boolean = false;
        focusTraversable: true
        selectedIndex: 0
        action: function(){
            FX.deferAction(function():Void{
                openButton.fire();
        items: bind for( table in allTables ){
            table.name
    var searchDataXml = xmlGenerator.generateSearchXMLString(searchData);
    var contentLength: Integer = searchDataXml.getBytes().length;
    def postRequest: HttpRequest = HttpRequest {
        location: "{WEB_APPLICATION_REQUEST_URL}searchData/?database={DATABASE_KEY}";
        method: HttpRequest.POST;
        headers: [
                HttpHeader {
                    name: HttpHeader.CONTENT_TYPE;
                    value: "application/xml";
                HttpHeader {
                    name: HttpHeader.CONTENT_LENGTH;
                    value: "{contentLength}";
        onStarted: function() {
            println("onStarted - started performing method: {postRequest.method} on location: {postRequest.location}");
        onConnecting: function() { println("onConnecting") }
        onDoneConnect: function() { println("onDoneConnect") }
        onWriting: function() { println("onWriting") }
        onOutput: function(os: java.io.OutputStream) {
            try {
                os.write(searchDataXml.getBytes());
            } finally {
                println("onOutput - about to close output stream.");
                os.close();
                os.flush();
        onToWrite: function(bytes: Long) { println("onToWrite - entire content to be written: {bytes} bytes") }
        onWritten: function(bytes: Long) { println("onWritten - {bytes} bytes has now been written") }
        onDoneWrite: function() { println("doneWrite") }
        onReadingHeaders: function() { println("onReadingHeaders") }
        onResponseCode: function(code:Integer) { println("onResponseCode - responseCode: {code}") }
        onResponseMessage: function(msg:String) { println("onResponseMessage - responseMessage: {msg}") }
        onResponseHeaders: function(headerNames: String[]) {
            println("onResponseHeaders - there are {headerNames.size()} response headers:");
            for (name in headerNames) {
                println("    {name}: {postRequest.getResponseHeaderValue(name)}");
        onReading: function() { println("onReading") }
        onToRead: function(bytes: Long) {
            if (bytes < 0) {
                println("onToRead - Content length not specified by server; bytes: {bytes}");
            } else {
                println("onToRead - total number of content bytes to read: {bytes}");
        onRead: function(bytes: Long) {
            // The toread variable is non negative only if the server provides the content length
            def progress =
            if (postRequest.toread > 0) "({(bytes * 100 / postRequest.toread)}%)" else "";
            println("onRead - bytes read: {bytes} {progress}");
        var parser = new XmlPullParser();
        onInput: function(is: java.io.InputStream) {
            // use input stream to access content here.
            // can use input.available() to see how many bytes are available.
            try {
                allTables = parser.processResults(is);
            } finally {
                is.close();
        onException: function(ex: java.lang.Exception) {
            println("onException - exception: {ex.getClass()} {ex.getMessage()}");
        onDoneRead: function() { println("onDoneRead") }
        onDone: function() { println("onDone") }
    postRequest.start();
    } In this case an array of tableModel names are bound to the list view.
    When the httprequest ends, it sets the parsed tableModel array to the array declared in this class.
    The list view will populate the table names from the array when the request finishes.

  • How to fill data when call function of sap standard script form?

    Hi every experts,
    <Priority Normalized>
    In our system, when we log in 'FR', we can print purchase order in language Franch,in t_code:ME22N.  And when logging in 'EN', we can print it in language English, in ME22N. The English form is just only translated from Franch, with all same structure and frame.  The form is done by script form.
    And when logging in 'ZH', we create a new program, calling function smartform, instead of translating from EN language. Because of different structure and frame, I don't know the way to write script, so  I print puchase order by smartform, when logging in 'ZH'.
    But I have a new issue. Our MM module consultant needs me to print Chinese form if one condition, print English form in other condition.
    So I have no idea to solve it. Because in my program, I get data to fill smartform and call function of smartform. And I don't know how to get data to fill script form. I only know the function name, 'OPEN_FORM' 'WRITE_FORM' 'CLOSE_FORM'.....
    If I only call the several functions, I will get only frame without no data. So who can tell me how to do????
    <Urgency downgraded>
    Edited by: Suhas Saha on Jul 26, 2011 3:34 PM
    Edited by: Vinod Kumar on Jul 26, 2011 4:09 PM

    Hi,
    Normally if we look in NACE transaction, you can see that upto five different FORMS can be assigned to a single output type . i.e. for each form there will be a seperate routine through which it gets called. But it all start from the first form only.
    so you need to write your code in the ENTRY of the first form and if it does not satisfy do not go for processing of it but just exit of that form ENTRY. so that it will take you to next form.
    hope this helps.
    Thanks,
    Venkatesh

Maybe you are looking for