How to open a form and close another one

hi,
I wish to open a form from another, and then close the calling form. In other words, having FORM1 and FORM2, FORM1 should do this:
OPEN_FORM ('FORM2',ACTIVATE,SESSION);
EXIT_FORM(NO_COMMIT,NO_VALIDATE);
but I cant get this to work. As FORM1 is modal, it opens FORM2 but its still open. Changing the order of the two statements only cause FORM1 to be closed. Can I perform the two operations from within FORM1, avoiding to put the EXIT_FORM statement in FORM2?
thank you

Hello,
Use NEW_FORM to replace the calling module.
Francois

Similar Messages

  • How to drop a schema and load another one?

    I have an interruption during installing the central instance of a SAP Netweaver 04s System. After I restarted the installation I found this message in the Log file.
    <b>ERROR 2006-08-16 16:17:04</b>
    CJS-30109 The Java load in database PDV/liesc1ddbw01 has already been configured. <p> SOLUTION: Drop the schema and load it with a new load before running this installation.
    <b>ERROR 2006-08-16 16:17:04</b>
    CJS-30109  The Java load in database PDV/liesc1ddbw01 has already been configured. <p> SOLUTION: Drop the schema and load it with a new load before running this installation.
    <b>ERROR 2006-08-16 16:17:04</b>
    FCO-00011  The step getJavaLoadType with step key |NW_Java_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|10|0|getJavaLoadType was executed with status ERROR.
    QUESTION: How to drop a schema and load another one?

    Hello,
    I got the similar error....but i did reinstall from o.s. and done the installation again...it was worked successfully..
    if you find out alternate solution for that ...please let us know..
    Regards,

  • How to open an URL and close the URL window, using adobe javascript

    Hi,
      Is it possible to open an URL and close the URL back again(without allowing the user to perform any other operation)? I was able to acheive the opening of the URL, using the app.launchURL("address". true); - But here it lauches in new window, and how do i close the window using the javascript. Is it possible?
    Thanks.

    Hi all
    In addition to what Bobby W - Adobe TS added, you might find
    the following useful as a bypass or workaround to the pesky prompt.
    var pw=window.parent;pw.opener=window.self;window.open("
    http://www.adobe.com");
    pw.close();
    I think this will only work for IE browsers. Actually, I
    think the whole window.close() only works for IE, but could be
    wrong about that.
    Cheers... Rick

  • How to open up Forms and navigate to record with external hyperlink?

    Hello,
    I was wondering whether it is possible to open up a Forms Application, and navigate to a specific Form and record via an external hyperlink. For example in an e-mail a hyperlink is generated which should redirect the user directly into the application and to the correct Form and record ID.
    Thanks in advance for any suggestions.
    Regards

    I suppose this is theoretically possible. The hard part would be to figure out how to pass the equivalent of a ParamList or a Global Variable to a form from a web page. Then you could test for these ParamList or Global values in the called form and navigate to the desired Form and query a specific record. I've seen some demo's on OTN where they embedded a Form into a Web Page and was able to interact between the web page and the form and vis-versus. Unfortunately, I can't remember where I saw the demo, but it was just recently that I saw it. If you can find this demo, it might give you some ideas how to do what you are trying to do.
    Sorry I couldn't be more helpful.
    Craig...
    Edited by: CraigB on Sep 3, 2008 3:07 PM
    Figures, as soon as I post my response, I found the article. Here's the link: http://www.oracle.com/technology/pub/articles/wilfred-adf-forms.html (Integrating Forms with Oracle ADF Faces).

  • How to open new form and exit from the calling form on dual/multi language?

    using form 10g 10.1.2.0.2.
    i have dual language application 1 english & 1 arabic and i created forms identically each respectedly to call and switch every forms when user choose any language it uses.
    say im in currently in english. how we can call the arabic module and exit totally in english module , vice versa?
    also the form system messages. how we can switch it between two language?

    NEW_FORM() will totally replace the calling module.
    Francois

  • How to open indesign files and close

    i want to open indesgin files exist in the folder and i want to open all the files one by one and i want to close wht are the files i opened
    could anyone tell me.

    The following script does exactly that.
    var fileLocation = Folder.selectDialog("Select a folder");
    folder = new Folder ([fileLocation]);
    folderContents = folder.getFiles("*.indd");
    var openedFiles = new Array;
    var filenames = new Array;
    for (i=0; i<folderContents.length; i++)
    filenames.push (folderContents[i]+"\n");
    openedFiles.push(app.open (folderContents[i]));
    str = filenames.join();
    if (confirm ("Close "+str) == true)
    for (i=0; i<openedFiles.length; i++)
      openedFiles[i].close();
    As you can see, you are responsible yourself  for keeping a list of the files you opened. But with that list, you can do some interesting stuff -- such as closing the same files again.

  • How to reflresh an image and draw another one?

    Looks like the typical paintComponent(g) and repaint() can paint
    something over the pixels which are not yet painted. If I want to
    replace the first image by the second one, how should I code?

    What jwmorsink said.
    repaint() calls update()
    update() does two things by default. 1. clear the background and 2. call paint()
    Note that you may get flickering. A standard way around this is to override update(). I'll leave it to you to figure out how.
    Of course, you can use off-screen images.

  • How to link another forms and reports in one main forms?

    hai all,
    how to link another forms and reports in one main forms?
    i am creating Custom forms Main_menu
    in that i am puting on button and
    pl/sql code for when-button-pressed
    BEGIN
    Open_form('GROUP_MSTR_ENTRY');
    END;
    i am getting:
    ERROR:frm-40010: cannot read form GROUP_MSTR_ENTRY
    also i am un able change the text colour in form.
    how to link reports in forms?
    any help?
    before open i have to link all form i need?
    thanks in advance
    rcs
    ------

    even after changing to The forms_path variable and
    put the executable(GROUP_MSTR_ENTRY.fmx
    F:\oracle\ora90\FORMS60\server\FACCT\MAIN_MENU\GROUP_MSTR_ENTRY.FMX
    not working
    also i am un able change the text colour in form. how?
    how i can find?
    $ORACLE_HOME/forms/server/default.env
    my files are
    9i oracle database
    SQL*Plus: Release 9.0.1.0.1 - Production on Fri Dec 19 11:37:07 2008
    E:\oracle\ora90\bin\oemapp.batt
    forms6i
    F:\oracle\ora901\bin\
    since 9i is later than forms 6i i am unable to put in the same directory
    ------------

  • What is open data set and close data set

    what is open data set and close data set,
    how to use the files in sap directories ?

    hi,
    Open Dataset is used to read or write on to application server ... other than that i am not sure that there exists any way to do the same ... here is a short description for that
    FILE HANDLING IN SAP
    Introduction
    • Files on application server are sequential files.
    • Files on presentation server / workstation are local files.
    • A sequential file is also called a dataset.
    Handling of Sequential file
    Three steps are involved in sequential file handling
    • OPEN
    • PROCESS
    • CLOSE
    Here processing of file can be READING a file or WRITING on to a file.
    OPEN FILE
    Before data can be processed, a file needs to be opened.
    After processing file is closed.
    Syntax:
    OPEN DATASET <file name> FOR {OUTPUT/INPUT/APPENDING}
    IN {TEXT/BINARY} MODE
    This statement returns SY_SUBRC as 0 for successful opening of file or 8, if unsuccessful.
    OUTPUT: Opens the file for writing. If the dataset already exists, this will place the cursor at the start of the dataset, the old contents get deleted at the end of the program or when the CLOSE DATASET is encountered.
    INPUT: Opens a file for READ and places the cursor at the beginning of the file.
    FOR APPENDING: Opens the file for writing and places the cursor at the end of file. If the file does not exist, it is generated.
    BINARY MODE: The READ or TRANSFER will be character wise. Each time ‘n’’ characters are READ or transferred. The next READ or TRANSFER will start from the next character position and not on the next line.
    IN TEXT MODE: The READ or TRANSFER will start at the beginning of a new line each time. If for READ, the destination is shorter than the source, it gets truncated. If destination is longer, then it is padded with spaces.
    Defaults: If nothing is mentioned, then defaults are FOR INPUT and in BINARY MODE.
    PROCESS FILE:
    Processing a file involves READing the file or Writing on to file TRANSFER.
    TRANSFER Statement
    Syntax:
    TRANSFER <field> TO <file name>.
    <Field> can also be a field string / work area / DDIC structure.
    Each transfer statement writes a statement to the dataset. In binary mode, it writes the length of the field to the dataset. In text mode, it writes one line to the dataset.
    If the file is not already open, TRANSFER tries to OPEN file FOR OUTPUT (IN BINARY MODE) or using the last OPEN DATASET statement for this file.
    IF FILE HANDLING, TRANSFER IS THE ONLY STATEMENT WHICH DOES NOT RETURN SY-SUBRC
    READ Statement
    Syntax:
    READ DATASET <file name> INTO <field>.
    <Field> can also be a field string / work area / DDIC structure.
    Each READ will get one record from the dataset. In binary mode it reads the length of the field and in text mode it reads each line.
    CLOSE FILE:
    The program will close all sequential files, which are open at the end of the program. However, it is a good programming practice to explicitly close all the datasets that were opened.
    Syntax:
    CLOSE DATASET <file name>.
    SY-SUBRC will be set to 0 or 8 depending on whether the CLOSE is successful or not.
    DELETE FILE:
    A dataset can be deleted.
    Syntax:
    DELETE DATASET <file name>.
    SY-SUBRC will be set to 0 or 8 depending on whether the DELETE is successful or not.
    Pseudo logic for processing the sequential files:
    For reading:
    Open dataset for input in a particular mode.
    Start DO loop.
    Read dataset into a field.
    If READ is not successful.
    Exit the loop.
    Endif.
    Do relevant processing for that record.
    End the do loop.
    Close the dataset.
    For writing:
    Open dataset for output / Appending in a particular mode.
    Populate the field that is to be transferred.
    TRANSFER the filed to a dataset.
    Close the dataset.
    Regards
    Anver
    if hlped pls mark points

  • How do I transfer files and documents from one user account to another?

    How do I transfer documents and files from one user account to another?

    You haven't understood me. Follow these steps:
    1. Log in the user where are the files you want to transfer, and open a Finder window.
    2. In Finder, select Go menu (on the menu bar) > Go to Folder, and type /Users/Shared. Now you're on Shared folder, so leave that window.
    3. Open a new Finder window without closing the old one, go to the folder with the files you want to transfer, and copy them to Shared folder.
    4. After copying the files to Shared folder, go to  > Log Out, and log in the other user.
    5. Repeat the step 2, and you will get access to the transferred files. Now, you can open them directly from this folder, or you can copy them to a folder on your user folder

  • HOW TO OPEN A FORM developed IN 10Gds REL2

    HI,
    How to open a form developed in 10gdsrelease 2 in 10g release1.
    It gives ros error.
    Thanks in Adv.
    Rup
    Message was edited by:
    Rup
    Message was edited by:
    Rup

    My suggestion would be to try converting the form to XML using <10gHome>\bin\frmf2xml.bat, and altering this XML to look like R1 XML. Simply changing the Module version might do the trick, but probably not.
    To see the difference between 10gR1 and 10gR2 XML formats, take a reasonably complex R1 form and convert it to XML. Next, upgrade that same form to R2 and convert it to XML. Compare the two XML files.
    Applying the knowledge gained from this comparison, modify the XML from your original R2 form. Try converting back to FMB using <10gHome>\bin\frmxml2f.bat Please share your findings with the forum!
    Hope this helps,
    Eric Adamson
    Lansing, Michigan
    PS: It is assumed that you have access to both 10gR1 and R2 installations!

  • How to deploy existing forms and reports on the web

    Hi Guys,
    I have 6i forms and reports within our environment, and we are running client/server architecture, by installing forms and reports runtime on each client PC's. We would like to get rid of this by deploying forms and reports on the web, without zero coding. Can any one suggest and guide me through the process with proper security mechanism enabled along with.
    Thanks in advance,
    Aji

    Thanks for the update,
    We have a develpment 10g AS environment setup made,
    1) But we are really confused how to present the forms and reports.
    We have around 250 forms and reports running on client/server architecture. All these forms/reports have been copied to a fileshare and access control is restricted by folder security.
    2) How to deploy forms - entries within formsweb.cfg with Named Configuration sections.
    3) How to deploy reports, as to were to copy the .rep files.
    getting the following error
    REP-110: Unable to open file 'Car_Readings.rep'.
    while trying
    http://kddsvr6.kddc.com:7778/reports/rwservlet?report=Car_Readings.rep&userid=username/passwd@db&desformat=htmlcss
    Thanks in advance,
    AJi

  • How to open Adobe Reader file from another native IOS application?

    There is an existing thread, but I want to re-open it because I think this is an important feature that we need badly.  I was wondering if there is any plan to add this feature so we can open PDFs directly into Adobe from the web / other apps.
    How to open Adobe Reader file from another native IOS application?
    Basically, we just want to use a custom URL scheme to open a specific document in the App.  Currently, this only opens the app but does not load the file.
    APB

    Not to hijack the conversation but I can explain why this would be useful for both the above case and another.
    What I believe Pavel is talking about is setting up a "URL Scheme" for the Adobe Acrobat iOS application so that you can easily open a PDF specifically in Adobe Acrobat iOS from other native applications and even from web applications opened within Safari. This is particularly useful if your application requires some of the specific features in Adobe Reader iOS to grant them the best experience possible and you want to encourage this.
    Another case: If you're using Adobe Livecycle's document security modules (that encrypts PDF files so that Adobe Acrobat must "phone home" to decrypt and view the document), these PDF's can only be viewed inside the Adobe Acrobat application and appear as blank in most other PDF readers. Having a URL scheme allows your application utilising this functionality to have a 1 click step to view the PDF rather than the current non-user friendly process:
    - Within Safari, touch the PDF link (appears as blank in the default Safari PDF reader, which in itself is confusing)
      - Touch "Open in..."
      - Touch "Adobe Acrobat"
    We have an immediate need for this functionality for the example above. I can resubmit it in a separate post if necessary.

  • I downloads the latest iTunes software update and it properly installed.  But,  I cannot close the window showing it was completed and the blue completion bar is full but cannot cancel or close it either.  Any ideas on how to clear that out and close the

    I downloaded the latest iTunes software update and it properly installed.  But,  I cannot close the update window showing it was completed and the blue completion bar is full but cannot cancel or close it either.  Any ideas on how to clear that out and close the window.  Tried to quit on both the big window and the software update title in the menu bar.  No luck.

    Tried that by shutting down via the power button only as the normal shutdown was nixed by the open window issue.  It did not help.  Found a very similar question in the discussions and it recommended "Force Quit".  That worked and the update works normal and the window is gone.  Thanks!

  • How to open a form multiple times

    pl tell me how to open a form multiple times

    HI Sagar,
    Before adding the form to SBO
    try to get the existing count of the form
    as shown below
    For int = 0 To objApplication.Forms.Count - 1
                If objApplication.Forms.Item(int).TypeEx = FormType Then FormTypeCount += 1
    Next
    THEN append that with your form type as shown below
    objFormCreationParams.FormType=FormType & "_" & FormTypeCount.ToString
    Then add the form to SBO
    SO every time your form is opened the unique id will like URFORMTYPE_1,URFORMTYPE_2 and so on
    Hope this helps
    regards
    vishnu

Maybe you are looking for

  • IPod nano issues restoring/holding charge?

    My ipod nano needs to be restored nightly and is running out of charge without being used, any suggestions?

  • Hp laserjet 3055 will not print double sided

    Okay, it worked before, but the scanner scanner software always crashed when I used it. So I thought I would reinstall the printer driver and see if that would let me scan. Well, the scanner software still crashes, but even worse there is no longer a

  • My ipad 3rd gen is on ios 7.0.4 and its slow as ****....how do i fix this?

    My ipad 3rd gen is on ios 7.0.4 and its slow as ****....how do i fix this?also there these apple people are not upto releasing ios 7.1 soon...i ve seriously lost all my fun in using this ipad.....what should I do?its lagging a lot...thanks in advance

  • Issue with font of correct answers

    As you can see below, the correct answer provided during question review is too large to fit within the box that is provided for it. I have scoured the user manual and forums to figure out which object this is in order to change its font, but I have

  • My iMac monitor just goes black

    I have a 2009 27inch iMac with an external Samsung monitor. Out of the blue, the iMAC MONITOR just goes black. Like it went to sleep or something. This has happened 4 times in the last 2 weeks. (luckily I can restart the computer because the external