Get runtime application server url

I try to use web.show_document(url,target) and I don't know exactly the runtime url. It will be nice to retrieve it from form.
Is it possible to get the runtime application server url inside form? If so how?
Thanks!

This was asked the other day on this forum and various suggesions came up - so have a search and see. However, there is no simple way.
On the other hand do you really need the App Server URL - you can use relative URLS with WEB.SHOW_DOCUMENT if you neeed to..

Similar Messages

  • How do I add a selection screen parameter to get a application server file

    Hi All..
    Can you please suggest how can we add a selection screen parameter to get a application server file ?
    Thanx in Advance...
    Regards,
    Deepak

    <b>Parameter def :</b>
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 02(30) text-005 FOR FIELD p_xlfil.
    PARAMETERS: p_xlfil LIKE rlgrap-filename OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    <b>Browse</b>
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_xlfil.
      PERFORM ws_get_filename USING p_xlfil.
    FORM ws_get_filename USING p_xlfil.
      CALL FUNCTION 'WS_FILENAME_GET'
           EXPORTING
                def_path         = 'C:'
                mask             = ',Excel,*.xls,All,*.*.'(100)
                mode             = 'O'
                title            = 'Title'(101)
           IMPORTING
                filename         = p_xlfil
           EXCEPTIONS
                inv_winsys       = 1
                no_batch         = 2
                selection_cancel = 3
                selection_error  = 4
                OTHERS           = 5.
      IF sy-subrc NE 0.
        CLEAR p_xlfil.
      ENDIF.
    ENDFORM. " WS_GET_FILENAME
    Regards
    <b>Oops i did not read "application server"</b>
    Use FM F4_FILENAME_SERVER and not F4_FILENAME/WS_GET_FILENAME.
    Message was edited by:
            Raymond Giuseppi

  • "Application Server Url" Parameter / Registry Path / Interface

    hi everybody,
    i search for an possibilty to set the "Application Server Url" from oracle forms builder automatically. so an other application where the user can choose some properties, set the Url automatic without starting the forms builder itself.
    is there any parameter or something like a registry path which i can set as url ?
    thanks !
    patrick

    hi, i hope i can give you an good example..
    so we have one product with more than one version .. .
    for example: Extra v 1.0 and Extra v 2.0 , while we use source control we have to change some registry path when we switch between the version. But now the problem is:
    Every Version has his own configuration in formsweb.cfg. Now when you want to work with Extra v1.0 you have to change the application server url for example to : "http://pc1.... =Extra1" and when you want use Extra2 than "http://pc1.... =Extra2" and so on...
    I want to know, how i can change the server url automatic from another program, (by passing paramter etc.. )so the user have not to switch the application server url between Extra1 and Extra2 mannually.
    what do you mean with As version ? Application Server version ?
    thats: 10gR2
    br
    patrick

  • How to control accessing Oracle Application Server URLs

    Hey all;
    I wish you are all doing okay.
    I am facing a problem with OAS Oracle Application Server; Since we switched form using forms 6i to OAS 10g running on the web browser of course using a URL for each application
    The question is if I give a user a single URL for the application he is using and he just change his application name for example hr by payroll he will be able to open the payroll and run reports or even editing values!
    How to restrict accessing the apps to only the authorized users on Oracle Application Server 10g?!
    Thank you all in advance

    Hi Mohamed,
    Please follow the below note:Preventing Access to URI's Via IP Address Using Mod_Rewrite (Doc ID 1306292.1)
    Regards,
    Prakash.

  • Getting Sun Application Server to work with JRockit

    Hi all,
    I am attempting to have Sun Application Server run on top of JRockit and have the following issue:
    In the Domain.xml I have:
    <jvm-options>-server</jvm-options>
    <jvm-options>-Xms1g</jvm-options>
    <jvm-options>-Xmx1g</jvm-options>
    <jvm-options>-XX:NewRatio=4</jvm-options>
    <jvm-options>-XX:PermSize=128m</jvm-options>
    <jvm-options>-XX:MaxPermSize=128m</jvm-options>
    But in the Server.log I get:
    [WARN ] '-XX:NewRatio=4' is not a valid VM option. Ignoring.
    [WARN ] '-XX:PermSize=128m' is not a valid VM option. Ignoring.
    [WARN ] '-XX:MaxPermSize=128m' is not a valid VM option. Ignoring.
    Any thoughts as to why the options are not valid? Thanks, Brad

    You don't need to :-)
    There is no concept of a PermGen in JRockit, instead the memory is allocated on the normal heap. No more "out of perm gen memory"-problems.
    Regards,
    /Staffan

  • Unable to get 10g application server control page

    Need Urget help
    hi
    Operating system windows 2003 with sp1
    Application server 10g-- v 10.1.2.0.2
    I have installed both 10g application server infrastructure and middle tire sucessfully on the machine with all the components sucessfully installed without any component failure or error.
    i can access welcome page on
    http://localhost:7777 or
    http://hostname.domainname:7777
    sucessfully but when i try to login to application server control from welcome page
    it directs me to http://hostname.domainname:18100 but doesnot display any page
    no error just blank page with status done at status bar.
    -- but i can access server control page using
    http://hostname.domainname:18100/emd/console
    login sucessfully after entering username and paswword
    but why i can not access it just by specifiying
    http://hostname.domainname:18100 also when i try to start or stop any components no response after pressing stop/start/restart button available.
    -- same problem with
    http://localhost:7778/forms/frmservlet no button shows any response or any error on configuration or on any other components web page.
    i checked all almost every thing
    all services or running sucessfully
    plz i need ur help.

    I saw this on another windows machine as well. I believe that the port should be 1800 and not 18100. Look into the emd.properties and check if they are configured correctly.
    cu
    Andreas

  • How to get well structured XML format in application server ?

    Hi Experts,
                    I have developed program to download XML format in application server. The below format which i am getting in
    application server :
    <?xml version="1.0" encoding="utf-16" ?> - <asx:abap xmlns:asx="http://www.sap.com/abapxml"  version="1.0">asx:values>- <TAB>- <item>  <EBELN>4151503309</EBELN>   <BUKRS>1000</BUKRS>
      <VENDOR>T-K515A09</VENDOR>   <EKORG>1000</EKORG>  <EKGRP>001</EKGRP>
    But i want the format like  below one which i am getting when i am downloading presentation server . I want it to achieve
    in application server.
    <?xml version="1.0" encoding="utf-16" ?>
    - <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
    - <asx:values>
    - <TAB>
    - <item>
      <EBELN>4151503309</EBELN>
      <BUKRS>1000</BUKRS>
      <VENDOR>T-K515A09</VENDOR>
      <EKORG>1000</EKORG>
      <EKGRP>001</EKGRP>
    Pls anyone help me out regarding this.
    Thanks
    Ramesh Manoharan

    Hi
       I am new to transformation ( strans ) .Pls send me if you have any document. Is it possible to get below format in application
    server using transaction STRANS ?
    <?xml version="1.0" encoding="utf-16" ?>
    - <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
    - <asx:values>
    - <TAB>
    - <item>
    <EBELN>4151503309</EBELN>
    <BUKRS>1000</BUKRS>
    <VENDOR>T-K515A09</VENDOR>
    <EKORG>1000</EKORG>
    <EKGRP>001</EKGRP>
    Thanks
    Ramesh Manoharan

  • Get Application Server Name and Version

    Hello All,
    Is it possible to get the Application Server Name and Version using Java?
    To simplify my question, if I am running Weblogic, the jsp page should tell me that I am running Weblogic Version <number> or IBM WebSphere Version <number>.
    Thanks

    I get an error when I put this line in my jsp page:
    out.println(" Server Info: " +getServletContext().getServerInfo());
    Is there something I am missing?
    symbol : method getServletContext ()
    location: class jsp_servlet._jsp._mu.__showmxversion
    out.println(" Server Info: " +getServletContext().getServerInfo()); //[ /jsp/mu/showMXVersion.jsp; Line: 16]

  • Getting Application server's Port number

    Hi
    from where we can get the application server's port number. i have forgot the port number of my AS
    thanks

    %ORACLE_HOME%\install\portlist.ini

  • Configuring Forms Builder 10g to run (Ctrl-R) against application server

    I would like to run forms from my working directory against our development application server and config, rather than having a local OC4J running. I have configured this by setting the application server URL runtime preference to "http://<server>.<domain>:80/forms/frmservlet?config=dev". This works fine.
    However, when I run the Form, I get "FRM-40010: Cannot read form H:\Neil\TAF00180.fmx". This is because we open our FMBs from a locally mapped drive (i.e. I opened the FMB from H:\Neil\TAF00180.fmb). When run against the application server it seems Forms Builder trys to run an executable with the same path as the FMB - H:\Neil\TAF00180.fmx, but the application server has no knowledge of a mapped H-drive.
    The only solution I can think of is to have an H-drive mapped on the application server to the same location as our locally mapped network drive.
    This doesn't seem like the correct solution to me. How should we configure Oracle Forms 10g and the application server to allow us to run our own working versions against the applications server and config?

    Slava Natapov wrote:
    I guess Neil concern is that OC4J and Forms Server are using own formsweb.cfg and .env files
    And settings can be different.
    For example what if local formsweb.cfg configured to run Jinitiator, but server formsweb.cfg configured for JPI, or they configured with different lookandfeel parameter, or local and server default.env use different NLS_DATE_FORMAT?Hi Slava, Hi Neil
    I think this is more related to "discipline" for the developers....
    @ Neil : How many developers do you have in your team ?
    Are developers allowed to "customize" their formsweb.cfg and .env files ?
    or more customized basejinit.htm, registry.dat, additional jar files ... etc
    or more using different oracle_home for their installation of Developer Suite.
    @ Slava : Using local formsweb.cfg and .env files might not be a problem if every developer machine is installed the same way (i.e. the same oracle_home).
    Also, I don't think that using workingDirectory to network shared connection for each developer is a solution
    [dev1]
    workingDirectory= H:/dev1
    [dev2]
    workingDirectory= H:/dev2
    And at least this is requiring customized *.env files ! as the forms_path should be set for runtime in it for each developer.
    The registry entry is only for the builder to find the path to mmb and pll files for example, and compile well, but the runtime is using *.env files.
    And what about developing in windows and deploy it to linux ?
    I recently managed a project with junior and undisciplined developers. The boss had the same concern about each network drive per developer.
    My concern was how to eliminate all subjective considerations..
    And my answer was "Subversion" no mess with local or network version with the "copy of the copy of the copy of the fmb files".
    So all forms_path were set to C:\myApp\forms etc and each developer made a checkout and commit versions twice a day.
    And the Application Server was also "checked out" to have the latest revision and then ran it into a pre-version for production.
    If I had to make some important changes in the *.olb file or the *.pll files then I made a commit for all developers and then re-compile all *.fmb and re-commit and checkout again.
    I really don't matter if the developer used jinitiator or jpi but the right working copy.
    And standalone OC4J was enough to make basics tests for each developer.
    More tests were made by project managers at the application server level and then adjustments (if required) where sent to developers.
    Hope this helps.
    Regards,
    Jean-Yves

  • Application server name and port number

    Hi
    Is it possible to get the application server name(ip) and port number at runtime. Becuase i want to open an html file which is in the application server, when a button is pressed by using web.show_document ();
    Can anyone guide me please.
    Thanks in advance
    geethu

    application server name and port number

  • Cannot connect to Hyperion MDM application server through MDM client

    Hi,
    I am using Hyperion System 9 MDM.
    But after installing the MDM server on a MS SQL database, i installed the mdm client.
    Now when i tried to create a new connection from client app and gave the application server URL "http://localhost/mdm_ntier" as stated in the installation guide, i was getting the error.
    "cannot connect to the URL".
    Can anyone help me in this regard.
    Thanks in advance.

    Please delete this post and post in a Hyperion forum.
    That way you will find an audience that can help you.

  • Sending an Email by taking excel sheet from Application Server.

    Hi.
    I Searched in SDN related 'Sending an Email by taking excel sheet from Application Server'.
    But i didnt get. I got sending mails from local pc.
    Can some bdy provide me sample code how to send mail with an attachment. the attached file should get from Application Server
    Regards,
    Renu

    Hi,
    For writing data to app server from internal table:
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/prog%252bon%252bopen%252bdataset%252binput
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/prog%252bon%252bopen%252bdataset%252boutput
    Checkout this wiki for sending XL in mail attachment:
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/multiple%252battachment%252bon%252be_mail
    Thanks,
    Krishna

  • Not displaying the actual output in application server.

    HI expert's,
    thanks in advance.
    i am getting output in grid format, it displaying data in grid format,but i am trying to pass this grid internal table into application server , my file is going to application server but  there output coming in row wise, not   in colum wise.
    how i will get same output wat i am getting in grid output, in to application server.
    i have an internal table that data is storing in that,i am thinking we have to convert grid to normal display is it correct ? or not( )
    please response as soon as possibe please.

    yes, i tried like this also,
    but my output what iam getting in grid format , not exactly getting in application server
    just find below ex.
    (ex:  grid output:             aaa     bbb    cccc    dddd
                                         111      222   3333    4444)
    in application server  output like below.
                                         aaa
                                         bbb
                                         ccc
                                         ddd
                                         111
                                         like so on)
    i need same output wat i am getting in grid output, in to application server.

  • In Oracle 9 Application Server can we create multiple instances???

    Hi I need one help this is regarding to the oracle 9 application server in this can we create the multiple instances??
    my application was already developed and currently it is working with one instance for this i need to create the another one more instance which is same as existing and my application is web application developed in Forms6i and the db is oracle 9i my requirement is to create one more instance what are all the configuration files need to be modified and please give this info ASAP....

    It is still not very clear. What do you mean by creating "one more instance of the same application in the same application server"? By "application" do you mean another instance of OC4J in same Application Server Instance? If yes, you can do that. I mean you can create another OC4J component in same Application Server Instance without doing another installation. Refer this for details:
    http://download.oracle.com/docs/cd/A97329_03/core.902/a92171/config.htm#1010793
    If you are looking to create another Application Server Instance out of same installation/binaries (i.e. Oracle Home) than the answer is no. You can not create multiple Application Server Instances out of one Oracle Home. You will have to do another installation in a different Oracle Home and that's how you will get another Application Server Instance.
    Hope this helps.
    Thanks
    Shail

Maybe you are looking for

  • I'm having 'Trust' issues when trying to connect our iPads to our PC's.

    Our teachers have been taking photos on our iPads. In the past they were able to connect via USB, click 'trust' and download them onto our PC's. Suddenly this is not happening anymore. The PC recognises the iPad, we click 'trust', you find the iPad o

  • Yet another cordless phone thread?

    Hey, all-- I recently switched out an old cordless phone for a new one, and instantly began experiencing interference (I know it's the cordless phone because the airport goes from solid green to blinking amber every time I make or receive a call). I'

  • Zero quantity should not be allowed for STO delivery

    Hi,      zero quantity should not be allowed for STO delivery.      when i create a delivery for a STO it should not allow zero quantity      can someone throw some light. Alec

  • Cube Maintenance

    Hi Experts, We have a Sales scenario. R/3 -> DSO -> Cube. For a particular date 12.11.2009 for a particular material there are multiple records in the Cube. For Eg : DSO = Invoice1 / Material1 / Qty = 50. But in the Cube the same record got loaded tw

  • How do i edit my song info?

    i know how to go to get info and all dat but its blocked. i wanted to know how you unblock it so that i can change the information.