Calling a forms program outside of the current form directory

My application consists of a menu that calls forms programs in 3 different directories. The three forms directories connect to 3 separate databases. The forms menu resides in forms directory1. The 3 sets of forms programs are for the most part identical with some minor changes. The 3 databases are also pretty identical with some minor changes. NOTE! I'm a newbie who did not design this but who is charged with maintaining it without having the benefit of any formal Oracle training ... So please keep that in mind. I've read the manuals and tried as many things as I can think of including setting the FORMS60_PATH prior to issuing the 'HOST' command as well as providing a fully qualified pathname when using the CALL_FORM command.
When the menu calls a program in forms directories 2 or 3 using the 'HOST' command, the first screen is fine. When that first screen calls another forms program within it's directory (2 or 3) control is passed to the forms program in forms directory 1 (where the menu lives).
I've been told that it can't be done and also that it can be done but that it's a real science project. One alternative is to use individual ICONS that run 3 different menues, one in each forms directory. That will work, but it's not what we're after here.
Any help would be appreciated even if it's just suggested reading. We're running Oracle 9i and Forms v6.
Thanks,
Ron

Hi Ron,
I would like to know few things before i give u a solution.
Have u configured the 3 directories to the FORMS60_PATH?
Do u have the same form names in all the 3 directories or the form names are different?
As u have mentioned u connect to different user's of the single database for the forms in different. this can be achived.
Regards
Natesh

Similar Messages

  • Variant of program is not the current version

    Hi
    When the program started in CCS, it has been cancelled and giving the "Variant of program is not the current version" . how can i solve this and where ill get the soln for this type of error.
    Reply me asap
    thanks
    Umashankar

    you did not give much details about your problem. where you got this error, which program ? what are you trying to do ??
    If this is an ABAP Program,you can  always create a new variant directly in QA & PRD
    SE 38 > Progrma name > Execute (if you have selection screen) > enter your new selections > 'Goto' menu > Save as variant > give new name > Save
    If you dont have selection screen in your program
    SE 38 > Program Name > Change/ Display > Goto > Variants > Create
    Cheers
    Praveen

  • Standard report Programs to find the current status of workflows

    Hi Experts,
                       Are there any Standard report Programs to find the current status of workflows or workflows which are pending.
    Regards,
    Hari

    Go to SWI1 t-code
    Give the appropriate Status - Ready or Inprocess or Waiting
    Input the Task - either WF Template or Standard Task.
    Choose the time period and execute the report.
    Regards,
    PR.

  • HT1355 Is airplane mode a good way to avoid call charges while traveling outside of the US?

    Is airplane mode a good way to avoid call charges while traveling outside of the US?

    Yes. It will completely disable the cellular radio. You can turn WiFi on while the  phone is in Airplane mode, so you can used data when connecte to a WiFi network.

  • Getting the current Home directory in PackageMaker

    Hi all,
    My package works fine to install a folder in /Library and then set two keys in Loginwindow's defaults file. Even internet-enabled disk image works great.
    My problem is, and I've tried now for 2 days to read everything on this, is that I want my install to place an "uninstaller" script on the user's Desktop so the user can easily reverse what the installer did (remove 2 keys and remove the folder in /Library). No problem, this script works fine when run by itself.
    But I can't figure out for the life of me how to specify to PackageMaker "home directory of the current user/Desktop" as the install location of this "uninstaller" file. I tried "~/Desktop" and "$HOME/Desktop" in the PackageMaker "destination" field, and also tried making a hierarchy of "~" and "Desktop" folders, and also tried setting the destination to "." and blank. All of these resulted in the Installer making a new directory called "~" at the root of the volume, or one named "$HOME", or just placing the script on the root of the volume. I want it on the user's Desktop, so they will see it. (NOTE: when trying these Unix terms, I was making a separate .pkg for the uninstaller; I know you can't have 2 different install locations in the same package.)
    Is this (getting the path to the user's Desktop) possible with PackageMaker, or do I have to have my "postinstall" script for the main install literally create the uninstall script at the user's Desktop (because the "~" notation should be recognized in a shell script)?
    I can't figure out why PackageMaker does not recognize the "~" as being the user's home directory - it uses "/" and ".." as defaults sometimes, so it is using the Unix notation.
    Also, since the uninstall script is a shell script, if the user double-clicks it, it opens Terminal, which is un-elegant to say the least. Is there a flag that can be set in a shell script which tells it NOT to open Terminal, just to run? I know this is what happens if I wrap it in AppleScript, but I hate using kludges like that.
    Thanks in advance to anyone who can help! Happy Holidays
    Johnny
    Dual 2.0 rev A G5   Mac OS X (10.4.3)  

    I have a tech support incident ongoing with ADC about this. People are away for the holidays, but so far I have been able to confirm that PackageMaker itself can't do this, as the name of the current user isn't available, nor do paths to the current Home directory work.
    The only way is to have PackageMaker launch a preinstall shell or Applescript that does the "mv <item1> <item2>" or similar (the argument $1 that gets passed to these preinstall scripts IS the name of the user doing the install, so you can get the path to his home directory).
    The problem THEN becomes, PackageMaker will not build a package that contains only scripts - it HAS to have some "payload" or you will get a build error. So the ultimate kludge would be to have it run the preinstall script, give it a bogus payload (empty file, etc) to install in e.g., /Library or /Applications, then have the postinstall script delete that bogus payload. I have not tried this so I do not know if it would work.
    I am thinking now, with the extremely confusing and apparently contradictory rules that PackageMaker has, that the best way to install software is just to wrap a shell script in an Applescript Application Bundle wrapper (because you can't double-click a shell script without launching Terminal, so to have the user run a shell script you need to wrap it in Automator or AppleScript or a Cocoa app wrapper) and have the shell script do the copying of the files that you need. This still might result in the shell script trying to get some sort of permission (either sudo or that "Override user/group for xxx?" message).
    I have read the rules on permissions for Packages about 1,017 times and they still make absolutely no sense to me, and I understand Unix permissions completely. All they would have to do is give some examples, but they don't.

  • How to list the top 10 largest files in the current working directory ?

    How can I list the top 10 largest files in the current working directory in Solaris ?

    execute below....to get the large files in order.. change the <FS>
    find /<FS> -type f -size +1024 -ls | awk '{print $11, $7}' | sort -rn +1 | awk '{print $1, $2/1024/1024 "MB"}' | /bin/more

  • Populate the current os directory in a SQL variable

    Hello, I need to populate a SQL variable in a script with the current OS directory I am working from. This is a windows environment and I am using oracle version 9.2.0.1. I know if you do SQL>$cd it will execute a cd like you are at the dos prompt. Is there a way to put this into a SQL variable? This is a SQL*Plus script.
    Thank you.

    I have a tech support incident ongoing with ADC about this. People are away for the holidays, but so far I have been able to confirm that PackageMaker itself can't do this, as the name of the current user isn't available, nor do paths to the current Home directory work.
    The only way is to have PackageMaker launch a preinstall shell or Applescript that does the "mv <item1> <item2>" or similar (the argument $1 that gets passed to these preinstall scripts IS the name of the user doing the install, so you can get the path to his home directory).
    The problem THEN becomes, PackageMaker will not build a package that contains only scripts - it HAS to have some "payload" or you will get a build error. So the ultimate kludge would be to have it run the preinstall script, give it a bogus payload (empty file, etc) to install in e.g., /Library or /Applications, then have the postinstall script delete that bogus payload. I have not tried this so I do not know if it would work.
    I am thinking now, with the extremely confusing and apparently contradictory rules that PackageMaker has, that the best way to install software is just to wrap a shell script in an Applescript Application Bundle wrapper (because you can't double-click a shell script without launching Terminal, so to have the user run a shell script you need to wrap it in Automator or AppleScript or a Cocoa app wrapper) and have the shell script do the copying of the files that you need. This still might result in the shell script trying to get some sort of permission (either sudo or that "Override user/group for xxx?" message).
    I have read the rules on permissions for Packages about 1,017 times and they still make absolutely no sense to me, and I understand Unix permissions completely. All they would have to do is give some examples, but they don't.

  • What program will update the current temperature in Mavericks 10.9.1?

    We have tried YoWindow3 and Weather.com with no success. So what can we use to display the current weather/temperature on the Desktop? Both of those programs do display the temperature, but they do not automatically update it as they did on our Windows system. If we start at 50 degrees, it will stay 50 degrees all day and night until we open the weather program itself, at which time it will update the temperature to the current temperature one time ... until we again manually refresh it. Is there any weather program that will actually refresh the temperature display on its own?

    No, not Dashboard, as that requires bringing up the dashboard. Nor Safari as that means having Safari open to view it. But on the Menu bar at the top of the screen, the programs we have tried display the current temperature on that top bar, but do not upgrade it. We would like to see it when doing whatever without having to open or switch to a specific screen or program. When creating a document or spreadsheet, or when listening to music or viewing pictures, or doing anything else that does not necessarily leave the Dashboard nor Safari open. We are new to Macs, so pardon me if I am using the wrong terminology. In Windows, this would have been called the Title Bar, Menu Bar, or even Toolbar.

  • Varient of the program is not the current version

    Hi
    when User try to run SE16 - they are receiving messages similar to the one below, when they attempt to select a saved variant.
    Variant VOUCHER LIST of program /1BCDWB/DBBKPF is not the current version
    Message no. DB 634
    Diagnosis
    You attempted to start report /1BCDWB/DBBKPF using variant VOUCHER LIST. Since thisvariant was generated, the report SELECT-OPTIONS or PARAMETERs havechanged considerably, i.e. the type or length no longer match andPARAMETERs have become SELECT-OPTIONS or vice versa. Many of thesechanges are so serious that even attempting to import the variantresults in runtime errors.
    Procedure
    Adjust or delete the variant.
    Users are seeing a similar error when they try any table (BKFP is the one above, but  have seen on table VBAK, VBAP, etc.).
    Pls suggest the solution of this problem.
    Regards
    Amar

    This would happen when the selection screen of the table got change. Like when users had saved the variant, there were 5 fields on the selection screen but eventually it got changed to more or less fields.
    The only way, I can think of is to recreate all the variants.
    To get rid of this problem, you can use transaction SE16N instead of the SE16.
    Here You can save the variant by pressing the SAVE button.
    To get the variant: Enter Table name, Go to > Variants > Get. Select your variant.
    Regards,
    Naimesh Patel
    Edited by: Naimesh Patel on Mar 24, 2009 9:23 AM - Added SE16N

  • Before calling an external program, check if the program is allready open

    I need to call an external program to print some labels, so i will use function WS_EXECUTE or the new one DSVAS_DOC_WS_EXECUTE_50 to call my program, but the problem that i have is:
    when I call this function, the program open a small window, and if i have to call it again, it will open another window, and so on... obviously this is not a good solution.
    Is there any one how knows how can i close the program, of perhaps it is enough if there is some way to know if the program is already open.
    Many thanks in advance,
    Miriam

    Hi
    you can use the ABAP Coverage Analyzer.
    OR
    This is a function module we use to limit the execution of a program to one instance at a time.
    DATA: PRG LIKE INDX-SRTFD. PRG = SY-CPROG.
    CALL FUNCTION 'ENQUEUE_ESINDX'
    EXPORTING RELID = 'ZZ'
    SRTFD = PRG
    SRTF2 = 0
    EXCEPTIONS FOREIGN_LOCK = 1
    SYSTEM_FAILURE = 2.
    IF SY-SUBRC NE 0.
    FORMAT COLOR COL_NEGATIVE INVERSE ON.
    WRITE: / 'ERROR: Program Is Already Running'.
    WRITE: / 'Program', PRG, 'has been stopped. Rerun in 1 minute.'.
    STOP.
    ELSE.
    WRITE: / 'OK ',PRG.
    ENDIF.
    Regards,
    Raj

  • How to find First Program run in the Current Month in Foreground?

    Dear Experts,
    My requirement is that i need to find the First Program run date in the Current Month in foreground. The user must be allowed to run the Report only once for a month and if the next time he runs in the same month, it should not allow him to do so.
    Is there any Function Modules available? How to achieve this?
    Regards,
    Ramesh Manoharan

    Hello Ramesh,
    May be you can try with this code:
    INITIALIZATION.
      DATA:
      v_date TYPE datum,
      wa_indx TYPE indx.
    * Import the date to INDX table
      IMPORT date = v_date
        FROM DATABASE indx(xy)
        TO   wa_indx
        CLIENT sy-mandt
        ID 'DATE'.
      IF v_date IS NOT INITIAL.
        IF v_date+0(6) = sy-datum+0(6). "Check YYYYMM is same
          "Give your error message & exit
        ELSE.
          v_date = sy-datum.
    *     Export the date to INDX table
          EXPORT date = v_date
            TO DATABASE indx(xy)
            FROM   wa_indx
            CLIENT sy-mandt
            ID 'DATE'.
        ENDIF.
      ELSE.
        v_date = sy-datum.
    *   Export the date to INDX table
        EXPORT date = v_date
          TO DATABASE indx(xy)
          FROM   wa_indx
          CLIENT sy-mandt
          ID 'DATE'.
      ENDIF.
    Hope this is of some help.
    BR,
    Suhas

  • I am trying to write a heartbeat program which takes the current time and writes

    I am trying to write a VI that gets the current time and writes it to an XML file in this format.  YYYY-MM-DDThh:mm:ss[.s][Z|(+|-)hh:mm]
    I cant seem to get the operators on the format date/time string vi to work for concatenating the "-" between the year and month
    Anybody know how to do this one?

    You should not need to use special operaors for the format date/time string, the format should simply be"%Y-%m-%d"

  • How to get the current path/directory

    Hey,
    I was wondering how to figure out the current path or directory where my Application is running (stored) in! I know there is a statement like getCodebase() for Applets to get the actual path, but I couldn't find anything similar for regular Applications. I think I can not just use a absolute path, since it might run on different os with different file seperator (like /root or c:\). Any help is welcome!
    Thank you very much,
    Marc

    Try this ...
            System.out.println("current directory = " + System.getProperty("user.dir"));
    [/code}                                                                                                                                                                                                                               

  • It is not working when jsp is outside of the Controller(.jpf) directory

    Hello,
    I am new to Portal. I am using Weblogic 8.1SP2. The problem is when there is a general jsp I want to put it common directory. It is working fine when I run starting from individual Controller but When I put its portlet in Portal, then the action is NOT falling into its caller's Controller but into the root Controller. Is this normal ? Is there a way to have the action call back to its caller Controller ? The director structure is :
    ../portalWeb
    + flowControllers
    + common
    search.jsp
    + portlet1
    Portlet1Controller.jpf
    Portlet1Controller.portlet
    + portlet2
    Portlet2Controller.jpf
    Portlet2Controller.portlet
    Controller.jpf
    And in the search.jsp file I have javascript snippet code like :
    if ( <%= type%> == 1 ){
    document.forms0].action="startPersonSearch.do"; //Portlet1Controller action
    if ( <%= type %> == 2) {
    document.forms[0].action="startCompanySearch.do"; //Portlet2Controller action
    document.forms[0].submit();
    Please help. Any thought will be greatly appreciated.
    Christina
    Thanks in advance.

    Yes. I did try to put directory path in front of the action to tell which Controller it should go. It didn't throw exception but It acted like called directly from that Controller. It is not under portal.
    Does anyone think the approach to have the common used jsp outside the Controller feasible ?

  • KeyChain passwd not updated to the current Active Directory passwd

    Hey All,
    i recently changed my AD passwd from my domain member mac pc. Since then whenever i login, i get the following screens asking for my previous AD passwd-
    Any idea how can this be updated to my current AD passwd? Do comment..
    -Alan.

    This my sound too simple, but I just kept clikning on the arrow next to the selected music and it finally "Kicked" in.
    I live in Europe ,So Be persistent and don't give up !  Aug. 2013

Maybe you are looking for

  • Configuration Of Receiver Idoc Adapter

    Hi Experts,     for an interface,I need to desighn a receiver idoc adapter.Plese guide Me     regarding following matters: 1.  how to configure receiver idoc adapter ? 2.  how to get the control record for the receiving idoc? 3.  what are the configu

  • "Bad comment content" error while building WDJ DC

    Hi folks, I am using NWDS 7.0.14 and j2sdk1.4.2_17. I created a WDJ DC in NWDS(with no application or component) and tried to build it. But I get error message saying "Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Bad comment content(fi

  • Why is Oracle's default sort different in these two databases?

    DB version: 10gR2 Schema: SCOTT In one of our instance's Scott schema when i added a new row to emp table , the new row came at the top of the table. insert into emp(empno,ename,job,mgr) values (8000,'Komal','Postman',32); set lines 1000 set pages 70

  • Flex mobile ButtonSkin - multiline

    Hi, I can see how to extend and add my own borderskins to ButtonSkin, I can't however find away to make the text multiline. I would have though I should override createChildren and set a property on labelDisplay and labelDisplayShadow. I've tried lot

  • Pga and temp

    Hi Sometimes I hit unable to extent temp errors. My db version is oracle 9i. I guess the pga is not set. I am not sure why total PGA inuse has a value in second query.. Is there any impact if I set pga? SQL> show parameter pga NAME TYPE VALUE pga_agg