Title on Main Window.

Hi All!
I m using Forms 11gr2, and want to show Company Name on the top of the Main Window, i.e. above my menu bar.
Previously I was using following built-in in Forms 6i successfully;
SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,TITLE,'Company Name'),
but now, it instead show two titles
-- https url of form (above my menu bar).
--Oracle Fusion Middleware title (above https url of form),
which ultimately decreases my main windows size.
My second problem is how to hide these two titles/windows ? This will also increase my windows size.
Please guide me.
Thanks & Regards.
Edited by: ocpdev on Jan 12, 2013 7:57 PM

Sir,
I didn't understand your meaning of creating of config . Is it Forms Installation and Configuration? I have configured after the installation successfully.
Now, please note my following formsweg.cfg file:
# $Id: formsweb.cfg /main/164 2010/10/19 05:20:53 atyagi Exp $
# formsweb.cfg defines parameter values used by the FormsServlet (frmservlet)
# This section defines the Default settings. Any of them may be overridden in the
# following Named Configuration sections. If they are not overridden, then the
# values here will be used.
# The default settings comprise two types of parameters: System parameters,
# which cannot be overridden in the URL, and User Parameters, which can.
# Parameters which are not marked as System parameters are User parameters.
# SYSTEM PARAMETERS
# These have fixed names and give information required by the Forms
# Servlet in order to function. They cannot be specified in the URL query
# string. But they can be overridden in a named configuration (see below).
# Some parameters specify file names: if the full path is not given,
# they are assumed to be in the same directory as this file. If a path
# is given, then it should be a physical path, not a URL.
# USER PARAMETERS
# These match variables (e.g. %form%) in the baseHTML file. Their values
# may be overridden by specifying them in the URL query string
# (e.g. "http://myhost.example.com/forms/frmservlet?form=myform&width=700")
# or by overriding them in a specific, named configuration (see below)
[default]
# System parameter: default base HTML file
baseHTML=base.htm
# System parameter: base HTML file for use with Sun's Java Plug-In
baseHTMLjpi=basejpi.htm
# System parameter: delimiter for parameters in the base HTML files
HTMLdelimiter=%
# System parameter: file setting environment variables for the Forms runtime processes
envFile=default.env
# Forms runtime argument: whether to escape certain special characters
# in values extracted from the URL for other runtime arguments
escapeparams=true
# Forms runtime argument: which form module to run
form=test.fmx
# Forms runtime argument: database connection details
userid=
# Forms runtime argument: whether to run in debug mode
debug=no
# Forms runtime argument: host for debugging
host=
# Forms runtime argument: port for debugging
port=
# Forms runtime argument: BIDI digitSubstitution
digitSubstitution=context
# Other Forms runtime arguments: grouped together as one parameter.
# These settings support running and debugging a form from the Builder:
otherparams=obr=%obr% record=%record% tracegroup=%tracegroup% log=%log% term=%term% ssoProxyConnect=%ssoProxyConnect%
# Sub argument for otherparams
obr=no
# Sub argument for otherparams
record=
# Sub argument for otherparams
tracegroup=
# Sub argument for otherparams
log=
# Sub argument for otherparams
term=
# HTML page title
pageTitle=Oracle Fusion Middleware Forms Services
# HTML attributes for the BODY tag
HTMLbodyAttrs=
# HTML to add before the form
HTMLbeforeForm=
# HTML to add after the form
HTMLafterForm=
# Forms applet parameter: URL path to Forms ListenerServlet
serverURL=/forms/lservlet
# Forms applet parameter
codebase=/forms/java
# Forms applet parameter
imageBase=codebase
# Forms applet parameter
width=100%
# Forms applet parameter
height=100%
# Forms applet parameter
separateFrame=false
# Forms applet parameter
splashScreen=
# Forms applet parameter
allowAlertClipboard=true
# Forms applet parameter
disableValidateClipboard=false
# Forms applet parameter
highContrast=false
# Forms applet parameter
background=
# Forms applet parameter
lookAndFeel=Oracle
# Forms applet parameter
colorScheme=teal
# Forms applet parameter
logo=
# Forms applet parameter, valid range [0-3]
guiMode=3
# Forms applet parameter
restrictedURLparams=pageTitle,HTMLbodyAttrs,HTMLbeforeForm,HTMLafterForm,log
# Forms applet parameter
formsMessageListener=
# Forms applet parameter
recordFileName=
# Forms applet parameter
serverApp=default
# Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
archive=frmall.jar,frmicons.jar
# Number of times client should retry if a network failure occurs. You should
# only change this after reading the documentation.
networkRetries=0
# Page displayed to users to allow them to download Sun's Java Plugin.
# Sun's Java Plugin is typically used for non-Windows clients.
# (NOTE: you should check this page and possibly change the settings)
jpi_download_page=http://java.sun.com/products/archive/j2se/6u12/index.html
# Parameter related to the version of the Java Plugin
jpi_classid=clsid:CAFEEFAC-0016-0000-0012-ABCDEFFEDCBA
# Parameter related to the version of the Java Plugin
jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,12
# Parameter related to the version of the Java Plugin
jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_12
# Applet parameter for Sun's Java Plugin
legacy_lifecycle=false
# Single Sign-On OID configuration parameter: indicates whether we allow
# dynamic resource creation if the resource is not yet created in the OID.
ssoDynamicResourceCreate=true
# Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
ssoErrorUrl=
# Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
ssoCancelUrl=
# Single Sign-On parameter: indicates whether the url is protected in which
# case mod_osso will be given control for authentication or continue in
# the FormsServlet if not. It is false by default. Set it to true in an
# application-specific section to enable Single Sign-On for that application.
ssoMode=false
# Single Sign-On parameter: indicates whether session should operate in proxy
# user support or not. Specify ssoProxyConnect=yes to enable for particular application.
ssoProxyConnect=no
# The parameter allow_debug determines whether debugging is permitted.
# Administrators should set allow_debug to "true" if servlet
# debugging is required, or to provide access to the Forms Trace Xlate utility.
# Otherwise these activities will not be allowed (for security reasons).
allow_debug=false
# Parameter which determines whether new Forms sessions are allowed.
# This is also read by the Forms EM Overview page to show the
# current Forms status.
allowNewConnections=true
# EndUserMonitoring
# EndUserMonitoringEnabled parameter
# Indicates whether EUM/Chronos integration is enabled
EndUserMonitoringEnabled=false
# EndUserMonitoringURL
# indicates where to record EUM/Chronos data
EndUserMonitoringURL=
# Config for javascript integration
applet_name=
enableJavascriptEvent=true
# Config variable that will indicate if heartbeat will
# be blocked when a javascript call is a blocking call.
# The default value if false, i.e heart beat will not be
# blocked for any javascript calls.
JavaScriptBlocksHeartBeat=false
# Example Named Configuration Section
# Example 1: configuration to run forms in a separate browser window with
# "generic" look and feel (include "config=sepwin" in the URL)
# You may define your own specific, named configurations (sets of parameters)
# by adding special sections as illustrated in the following examples.
# Note that you need only specify the parameters you want to change. The
# default values (defined above) will be used for all other parameters.
# Use of a specific configuration can be requested by including the text
# "config=<your_config_name>" in the query string of the URL used to run
# a form. For example, to use the sepwin configuration, your could issue
# a URL like "http://myhost.example.com/forms/frmservlet?config=sepwin".
[sepwin]
separateFrame=True
lookandfeel=Generic
# Example Named Configuration Section
# Example 2: configuration running the Forms ListenerServlet in debug mode
# (debug messages will be written to the servlet engine's log file).
[debug]
serverURL=/forms/lservlet/debug
# Sample configuration for deploying WebUtil. Note that WebUtil is
# only installed with the Forms Builder and is also available for download
# from OTN.
[webutil]
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTML=webutilbase.htm
baseHTMLjpi=webutiljpi.htm
archive=frmall.jar,frmicons.jar
lookAndFeel=oracle
I want to ask one thing more. I have two formsweb.cfg files in following paths:
F:\Oracle\Middleware\user_projects\domains\ClassicDomain2\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.2\config.
F:\Oracle\Middleware\user_projects\domains\ClassicDomain2\servers\WLS_FORMS\tmp\_WL_user\formsapp_11.1.2\wb1h9f\config.
Can you give me differences in these two files?
Thanks in advance.

Similar Messages

  • How to change main window title of oracle ebs

    Hi all,
    Kindly tell me how can we change the main title of oracle ebs 11i.
    Thanks

    Hello Gloscott,
    Welcome to the Aperture discussion forum. Congratulations. You just hijacked a thread. That's bad form for 2 reasons. First, you added a message to a thread called "How to change main window view" which makes it look like you had information to add that thread, and you did not. Second, people who can help you are more likely to read a message that has your problem in the subject than they are to read this message. I.e., you won't get what you want if you ask for something else.
    That being said, when you repost your query in a new thread, you'll have to be more specific. A "Frame" is not in the regular Aperture terminology.
    nathan
    Message was edited by: Mr Endo

  • How can I make a movable transparent main window (HTML, not FLEX)?

    Hi all-
    I'm new to AIR and coming up to speed quickly. I got a sample application up and running right away and was able to give it a transparent main window so that the corners are rounded and there is no window title bar.
    However, I can't figure out how to make it so the user can drag the application around their desktop when they click on it.
    I've seen a few FLEX examples of this but I have to work in HTML.
    Does anyone know how to set this up in HTML?
    Thanks,
    Nicholas

    "Works pretty much as I'd expect, except clicking and dragging one of the child controls in my window (e.g. a button) moves the whole window as well."
    Most user interface events (mouse up, down, etc.) "bubble" up from child elements to their parents. Since you are listening on the body element, your handler is called for every mouse down in the page since the body is the highest parent in the document.
    You can either:
    Attach the event listener directly to the element used to drag the window.
    Check the event target property to check whether the target of the event (the element moused) is a drag control.

  • Printing from the main window -- song order is not the same as playlist ??

    iTunes 10.0.1 (22)
    OS 10.6.4
    Let's say you have a album with 18 songs. The songs are in the exact order of the album, from 1 of 18 all the way to 18 of 18. (track numbers are also correct, in order). You view by album (constrain the results window by searching for album title)
    Now, print. Select any option, (I tried both cd jewel as well as song listing -- doesn't matter which you select).
    The ORDER of the printed song list (or jewel case insert) DOES NOT MATCH the order of the songs in the album.
    What good is that?
    I can recreate this with various albums.
    This NEVER happened before version 10.
    Anyone have any info on this?
    PS -- if you create a PLAYLIST and then copy the album into the playlist, it prints just fine. The issue is printing from the main window when in album view mode.
    Thanks,
    J
    Message was edited by: Jeremy Roberts

    Try changing X postion to not equal to zero something else for example.
    /:           POSITION WINDOW
    /:           POSITION XORIGIN '-0.1' CH YORIGIN '+0.4' LN
    /:           SIZE WIDTH +0.7 CH HEIGHT +5.0 LN
    /:           BOX FRAME 7 TW
    /:           BOX HEIGHT '1.1' LN INTENSITY 15
    Nabheet

  • What is the use of MAIN WINDOW in SCRIPTS

    what is the use of MAIN WINDOW in SCRIPTS, y we con't create a script w/o main window.
    Title was edited by:
            Alvaro Tejada Galindo

    Hi
    See this
    What are the different types of windows in SAP Scripts?
    Windows are defined in the Layout sets which define the position and the text to displayed.
    The different types of windows are:
    MAIN - Main Window
    The main window is a continous window which can extend over several pages. If the text in the main window fills up a page, a new page is created.
    Only one main window can be defined in the SAP Script whereas upto 100 instances of main window can be created in a page.
    VAR - Variable Window
    This window can have the variable contents displayed on them. The contents of the window cannot exceed the window size. The content can be formatted for each page.
    CONST - Constant Window
    The constant window can have a fixed content and is formatted only once.
    Main Windows (MAIN)
    Each form must have one window of type MAIN. Such a window is called the main window of the form. For SAPscript forms, the main window has a central meaning:
    • It controls the page break.
    • It contains the text body that may cover several pages.
    • It allows to fix text elements at the upper and lower margins of the allocated page window (for example, for column headings).
    As soon as a window of type MAIN is full, SAPscript automatically triggers a page break and continues to output the remaining text in the main window of the subsequent page. Page windows of type MAIN have the same width throughout the form. The SAPscript composer thus avoids reformatting of the text after each page break.
    Variable Windows (VAR)
    The contents of variable windows is processed again for each page, on which the window appears. The system outputs only as much text as fits into the window. Text exceeding the window size is truncated; the system does not trigger a page break. Unlike constant windows, the page windows declared as variable windows may have different sizes on different form pages.
    Constant Windows (CONST)
    Starting with Release 4.0, the system internally processes windows of type CONST similar to windows of type VAR. Therefore, if you create a new window, always use type VAR.
    <b><REMOVED BY MODERATOR></b>
    Anji
    Message was edited by:
            Alvaro Tejada Galindo

  • Trouble getting thumbnail to open fully in the main window for editing.

    I updated to 6.0.6 iphoto and I can't find a way to have my thumbnails taking up the whole main window...not the full screen. Previously when I double clicked on a thumbnail the pic opened in main window, taking up all the space in that window. Now it is just a small pic in the main window and I can't see enough detail to edit the pic.

    The files in the Data file are the thumbnails used by iPhoto. The ! you're getting is because iPhoto has lost the link between the library and the original files that will be in the Originals folder.
    I don't think it will work but you can try to rebuild the library as follows: launch iPhoto with the Command+Option keys depressed and follow the instructions to rebuild the library. Select the first three options.
    If that doesn't work you'll have to start a new library and import the files in the Originals folder from the old library. Here's how:
    Creating a new library while preserving the rolls from the original.
    Move the existing library folder to the desktop.
    Launch iPhoto and, when asked, select the option to create a new library.
    Drag the Originals folder from the desktop into the open iPhoto window.
    This will create a new library with the same rolls as the original library. However dates on the rolls may be different but can be edited as you would the roll title.
    Once this is completed you can delete the Originals folder from the desktop and the iPhoto Llibrary folder. If desired, you can keep the older library folder to try other fixes on it.
    In the future I recommend you make a backup copy of the Library6.iPhoto file after each import and after doing a lot of editing and organizing in the library. Then if you experience a similar crash all you need to do is replace the damaged database file with the backup copy and you'll be back to the same place in the library as when you make the backup. See the tip at the end of my signature.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Customizing the main window border

    Is it possible in JavaFX 2.0 to customize the main window border?
    In particular I'm interested in reproducing what Mozilla have done with Firefox 5/6 on Windows 7 where there is a custom button on the title bar and the glass style border protrudes into the client area to the right of the tabs.

    I'm guessing not...

  • How to create a dialog window with no button that opens along with the main window?

    When the main window is open, the dialog window opens up immediately and can be closed by key press. At other times, when the next step, ie: decision, comes to, the another dialog window pops up again and is again closed by key press. Does anyone know how to do? Use the sub-Vi? notification method? occurrence method?
    And another thing: how to create a reusable dialog window with no button so that different messages can be sent to it and it can closed by key press. And how to pass the string to the title of the dialog window programmatically?

    For your functionality (If I understand it right), nothing needs to be in the event structure. Pressing any key just triggers the event, thus finishing the VI (there is no while loop).
    Could you tell me what you mean my "it won't run properly"? Make sure that the front panel of the subVI is closed before starting the main VI. Remember that the subVI is set to "open when called" and "close afterwards if originally closed". So, if you had the panel open already, it won't of course close when finished!
    (Actually, the problems is worse when you have the subVI panel open when starting the main VI. you get a catch22 and labVIEW locks up because (1) the subVI is set to dialog and grabs all attention but (2) it has not been
    called, thus the event cannot be triggered. So don't do that!!!! As a quick workaround, add the modification shown in the attached image to ensure the panel of the subVI is closed.)
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    CloseNoButtonDialog.gif ‏3 KB

  • Add bookmark using javascript, it opens in the sidebar, not in the main window

    im using this function:
    function add_bookmark(){
    var title = "My Title";
    var url = "www.myurl.com";
    window.sidebar.addPanel(title, url, "");
    it successfully creates a bookmark but when i click on it, it just opens in the sidebar and not in the main window.

    Don't use that function as it selects the "Open this bookmark in the sidebar" feature in Properties for the bookmark. That is the way it works in Firefox and it probably won't ever be fixed. Someone filed a Bug about fixing that in Firefox back in 2004 or 2005, and the Mozilla developers marked it as WONTFIX due to perceived security issues with scripts of that sort.

  • Showing a panel that takes up one third of main window

    I'm trying to dispaly a panel in the left one third prtion of my screen, with a JPanel and a border. I thought I could use a GridLayout with three columns, and add a panel and two dummy panels. That didn't work, so I tried setting the sze of the JPanel, but no matter what I say, it occupies half the screen. Here's the relevant code: any help is appreciated.
    John
    public static void main(String[] args)
    window = new MessageMaker("Menu action example");
    //size and locate main program window
    Toolkit theKit = window.getToolkit();          
    Dimension wndSize = theKit.getScreenSize();  
    window.setBounds(0, 0,wndSize.width, wndSize.height);  
    window.getContentPane().setLayout(new GridLayout(1, 3));
    JPanel leftMainP = new JPanel();
    leftMainP.setBounds(0, 0,wndSize.width/3, wndSize.height);
    leftMainP.setBorder(BorderFactory.createRaisedBevelBorder());
    window.getContentPane().add(leftMainP);
    ...

    Thanks, but I had tried that manually before, and verified again with your for-loop. The window displays with my panel as the "middle second" panel as if the entire window were divided into 4. That's why I tried setting the size and placement explicitly.
    A related problem for the same program is accessing that main window from a separate class (which draws an enhanced password box). I am making a password box with three textfields instead of two, and three buttons. To test the buttons (which will connect to a server), I want to setBackground() to red, for the big window. This is a class/object-oriented question, but I don't quite see howto use setter and getter methods here.
    I've simplified the code, removing the text fields and such:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class WindowButtons
    public static void main(String[] args)
          window = new MainWindow("Action example");
         //size and locate main program window
         Toolkit theKit = window.getToolkit();          
         Dimension wndSize = theKit.getScreenSize();  
         window.setBounds(0, 0,wndSize.width, wndSize.height);
         window.addWindowListener(new WindowAdapter()     
                   // Handler for window closing event
                   public void windowClosing(WindowEvent e)
                        window.dispose();                          
                        System.exit(0);                            
              window.setVisible(true); // Display the window
              static MainWindow window;          
    class MainWindow extends JFrame{
         MainWindow(String title){
         super(title);
         setJMenuBar(menuBar);                  
         fileMenu = new JMenu("File");
         editMenu = new JMenu("Edit");
         viewMenu = new JMenu("View");
         connectItem = new JMenuItem();                                        
         connectItem = fileMenu.add("Connect...");
         connectItem.addActionListener(menuHandler = new Handler());
         exitItem = new JMenuItem();
         exitItem = fileMenu.add("Exit");
         exitItem.addActionListener(new ActionListener()
                   // Handler for window closing event
                   public void actionPerformed(ActionEvent e)
                        System.exit(0);                            
         menuBar.add(fileMenu);           
         menuBar.add(editMenu);
         menuBar.add(viewMenu);
         getContentPane().add(toolBar, BorderLayout.NORTH); // Add toolbar 
    }//end constructor
    //inner named class to handle "Connect" menu action
    class Handler implements ActionListener
         public void actionPerformed(ActionEvent e)
          win = new ConnectWindow("Connect to Database");
          getContentPane().add(win, BorderLayout.CENTER);
          setVisible(true);
    private JMenu fileMenu,editMenu,viewMenu;
    private JMenuItem connectItem,disconnectItem,exitItem;
    private JMenuBar menuBar = new JMenuBar();               // Window menu bar
      private JToolBar toolBar = new JToolBar();// Toolbar
      private Handler menuHandler;
      private ConnectWindow win;
    //separate class to display passwordPanel
    class ConnectWindow extends JFrame
    ConnectWindow(String title)
         setTitle("Action Buttons");
         Toolkit kit = Toolkit.getDefaultToolkit();
         Dimension screenSize = kit.getScreenSize();
         int screenHeight = screenSize.height;
         int screenWidth = screenSize.width;
         setSize(screenWidth / 3, screenHeight / 3);
         setLocation(screenWidth / 2, screenHeight / 2);
    getContentPane().setLayout(new BorderLayout());
    //buttons to go into panel
         JButton button1 = new JButton("Connect");
         JButton button2 = new JButton("Cancel");
         JButton button3 = new JButton("Advanced");
         Dimension buttonSize = new Dimension(100,20);
         button1.setPreferredSize(buttonSize);
         button2.setPreferredSize(buttonSize);
         button3.setPreferredSize(buttonSize);
         button1.setBorder(BorderFactory.createRaisedBevelBorder());
         button2.setBorder(BorderFactory.createRaisedBevelBorder());
         button3.setBorder(BorderFactory.createRaisedBevelBorder());
         //Event handling for the three buttons
              //Connect button opens socket
              button1.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent e)
                        getContentPane().setBackground(Color.red);
                        setVisible(true);
                        //validate();
              //Cancel button closes window
              button2.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent e)
                        dispose();                            
         //Advanced button does..
              button3.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent e)
         });//end event handler inner classes code
    //place buttons in panel
         JPanel buttonPanel = new JPanel();
         buttonPanel.setOpaque(false);
         buttonPanel.setLayout(new BoxLayout(buttonPanel, BoxLayout.Y_AXIS));
         buttonPanel.add(Box.createRigidArea(new Dimension (0,5)));
         buttonPanel.add(button1);
         buttonPanel.add(Box.createRigidArea(new Dimension (0,60)));
         buttonPanel.add(button2);
         buttonPanel.add(Box.createRigidArea(new Dimension (0,60)));
         buttonPanel.add(button3);
         buttonPanel.add(Box.createRigidArea(new Dimension (0,60)));
         //place button panel in
         //main window
         getContentPane().add(buttonPanel, BorderLayout.EAST);
         setVisible(true);
    private JPanel buttonPanel;
         private JButton button1, button2, button3;
         }//end ConnectWindow

  • I have used Lr many years without problems. Now it is inpossible to edit . Can not see the editing in main window only in the small thumbnail. Suddenly it is not possible to import  raw-files from my Linux camera ( it worked earlier)

    Editing mode does not work. I can not follow de editing in the main window. I cah see it in the thumbnail.

    From your description of the problem, I suspect that you have a standalone license but have downloaded and installed the CC update. Or, it's the other way around. In either case, you need to install the right version.

  • Page break for Smartform with multiple main window on pages

    Hi Experts,
    I have a requirement for printing 3 pages. The difference among the 3 pages is the main window part.
    The main window contains not only internal table, also complicated texts like payment instructions etc.
    The requirement is in each page, the data in internal table should be changed, also payment instruction should be changed accordingly.
    e.g:
    Main Window of Page 1
    Part 1 for Internal table
    VAT on ITEM ------- 4O-------60,00------0.00%-------EUR
    Part 2 for Payment Instructions
    Texts for Page 1
    Main Window of Page 2
    Part 1 for Internal table
    VAT on ITEM ------- 5O-------60,00------0.00%-------EUR
    Part 2 for Payment Instructions
    Texts for Page 2
    Main Window of Page 3
    Part 1 for Internal table
    VAT on ITEM ------- 6O-------60,00------0.00%-------EUR
    Part 2 for Payment Instructions
    Texts for Page 3
    At first, I was using only one page 'Page1' with a variable page_no = 1 as default value, and use program line page_no = page_no + 1 as counter. when page_no = 2, use command for force page break to 'Page1', then under the command, change the internal table and payment instruction texts. when page_no = 3, ...
    But I encountered an error saying:
    Runtime Errors         GEN_BRANCHOFFSET_LIMIT_REACHED
    Short text
         Jump distance is too large and cannot be generated.
    So I created 3 pages, with different main window M_window1, M_window2, M_window3 for each page. In page1, after printing the M_window1, page_no = 2, use command to go to page2, but page2 is never printed. I think this is because only one main window can exist in a smartform? but why smartform allows creating individual main window for different pages? what's the use of such main window?
    By the way, what's the use of command for force page break? only work for one main window in a smartform?
    Getting back to my requirement, I think I should still use one page and command for page break. I am trying to solve this.
    Thanks.
    Li Jun Da.

    Now I am using 3 pages: Page 1, Page 2, Page 3.
    Page 2, Page 3 are copies of Page 1 with main window renamed as second window: mw 2, mw 3.
    I also created 2 command nodes in main window of page 1: cmd 2, cmd 3.
    cmd 2 is for page break to Page 2, cmd 3 is for page break to Page 3.
    The second window mw 2, mw 3 in Page 2, Page 3 can be displayed.
    Even though, I still can't understand how main window of pages (not 1st page) can work.

  • Two main windows in smartform or two loops in one main window?

    Hello All,
    I have requirement in smartform where i want to print two diffrent data header and item data in the same page.
    and in between these two data i want one template to be printed for item data .
    Smartform is giving me error if i use two main windows
    if i use two loop nodes in the main window thn how to restrict the data getting over flowed to template(item data)
    scenario is
    header data****
    **item header**
    item data****
    Pls comment....
    Regards,
    Sunny

    As main window can only be one, so try it this way:
    Under main window create a TEXT1 for header text( first header) than a LOOP1 for looping the header table, under that first create a TEXT2 for header data, than below it create another TEXT3 for header text ( Second header), than below it add a LOOP2 for looping item table and in that add a where condition than under it a TEXT4 for item data .
    MAIN_WINDOW
        TEXT1                                     " first header
        LOOP1                                    " header table
            TEXT2                                 " header data
            TEXT3                                  " Second header
            LOOP2                                " item table with where condition
                TEXT4                             " item data
    With luck,
    Pritam.

  • How to use Two main windows with in a page in script ?

    Hi any body explain me...
    How to use Two main windows with in a page in script ?
    with  header data in one main window,
    & Item data in other main window.

    HI..,
    u need to go for <b>SPLITTING THE MAIN WINDOW</b> !!!
    Main windows in page windows allow you to format text in multiple columns. Define an area in the page window, in which to position the main windows.
    Here is the procedure !!
    -->Create a page window and assign it to a page.
    Choose <b>Edit --> Main windows</b>.
    A dialog box appears.
    -->Enter values in the fields <b>Area width</b> and A<b>rea height</b> in accordance with the input guidelines for main windows.
    -->Enter values in the fields <b>Spacing</b> and Number in the <b>Horizontal group</b> if you want to use multiple columns. You can ignore the fields in the Vertical group.
    Determine how many columns and line areas are required for label printing. Then enter the corresponding values in the fields in the <b>Horizontal and Vertical groups</b>.
    -->The value in the field Left margin varies from main window to main window if multiple columns are used. The following applies:
    <b>
    Left margin of current column + Window width + Horizontal spacing = Left margin of next column</b>
    In label printing, the field Upper margin also varies from main window to main window:
    <b>
      Upper margin of current main window +  Window height + Vertical spacing = Upper margin of next main window</b>
    -->Enter a value in the field Start position.
    This is a counter. Enter a starting value which is equal to or greater than 1.
    -->The main windows are added to the list.
    -->Save your form.
    reward if it helps u...
    sai ramesh

  • How to close main window on click of a button on popup window

    Hi All,
    I have created a web page which on certain condition display a popup window to to provide information. Wht i want is that when i click on close button on my popup window, my main window should also close.
    Can anyone please help with this requierment!!!
    Regards,
    tushar

    Hi All,
    Could anyone of you please help me by answering the thread
    WDDOEXIT method not called when the application is closed from the portal
    Thanks,
    Subash M

Maybe you are looking for