How to form URL

Hello All,
I have created a Web Dynpro Application. (using WD-ABAP).
Now i ahve to provide the URL of this application to call the component from other application with in same system.
how to form the url of the application.
when i trnsport the application to other server(for eg: to Q ), URL will change.
the path given in help.sap.com is
<schema>://<host>.<domain>.<extension>:<port>/sap/bc/webdynpro/<namespace>/<application name>?<parameter name>=<parameter value>
here how can i get <host>.<domain>.<extension>:<port>    ?
Thanks in advace.
Best Regards,
Amarender Reddy B

Hi,
For a WD Application :<schema>://<host>.<domain>.<extension>:<port> has to maintained in the customizing, as they are set to be changed whenever the application is run from a different system.
You have to read the customizing everytime and then concatenate.
Cheers.
Ashish.

Similar Messages

  • How to form a URL dynamically in my portlet

    hi all,
    i have a requirement in weblogic portal 10.2,how do i form my URL dyncamically in my portlet which is as below
    I have a requirement to dynamically form my URL. Further suppose I have a left navigation portlet which has 3 links and right navigation portlet should show the content for the respective links clicked on left navigation portlet.so in this scenario I need to dynamically create my url which I need to display on the right hand side portlet
    Dynamic access to portlet B
    Portlet A ------------------------------------------> Portlet B
    The Url which has to be displayed on portlet B has to created dynamically in my portlet A,
    i.e portlet A should dynamically access portlet B and the page of Portlet B which has to be displayed and create the URL,Once the URL is formed I should be able to access portlet B,
    Portlet A ---> access Portlet B context ---> get portlet B context ----> get Portlet B output jsp page and hence form the url
    Portlet A = (Portlet B context) + (get Portlet B output jsp page)
    = Well formed URL of output jsp page which is in the right hand portlet B
    If u have the source code pertaining to above/material.please share it with me.
    Thanks
    Deepak
    Edited by deepakl_2000 at 05/17/2008 1:20 AM

    hi [email protected]
    tell me my friend .. how can i extend
    the standard Forms button in Java ? ... what is the tool for that ... can you explain more please .. or can you give me a full example ... i don't have any expereience on that .. i'm waiting for your reply .
    Thanx a lot for your cooperation .
    Ali
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by [email protected]:
    Henrik, the Java importer lets you call Java classes on the app server side - I think what Ali is trying to do is integrate on the client side.
    If you want to add your own button then if you extend the standard Forms button in Java and then use this class name in the implementation class property then the Java for your button will be used instead of the standard Forms button. And since it has extended the basic Forms button it has all the standard button functionality.
    There is a white paper on OTN about this and we have created a new white paper which will be out in a couple of months (I think).
    Regards
    Grant Ronald<HR></BLOCKQUOTE>
    null

  • Hi can anyone tell me how to make the forms url short to the end user

    Hi,
    Im using oracle forms 11gR2 and everything is working fine, but my question in how to make the forms url short to the end user.
    For example my forms url is  " http://localhost:9001/forms/frmservlet "  now i want to modify this url as   "myweb.gov.ae"
    can anybody suggest me the possibilities to change to default forms url to our own url as mentioned in the above example.
    Thanks & Regards,
    Hari

    You would have to either -
    * edit the code pointed to by the new action attribute to
    include the form
    processing and email generation, or
    * edit the form processing script to also include the insert
    record and
    check user name scripting
    The former is probably the better procedure, since I suppose
    you'd want to
    do the check user name before sending the email.
    Unfortunately, this means
    you will have to get your hands into the code, or hire
    someone to do it for
    you.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "ducati1" <[email protected]> wrote in
    message
    news:gkriis$et6$[email protected]..
    > Hi guys.
    > I have a page with a form on it here.
    >
    http://www.thechallenge.net.au/superredemption.php
    > I want the data placed in the textfields within the form
    to come to me in
    > an
    > email upon submission.
    > Now normally I would action the form to use this page
    here
    >
    http://www.thechallenge.net.au/Redemptionform.txt
    > But because the action of the form is now <?php echo
    $editFormAction; ?>
    > due
    > to an insert record and check user name server behavior
    I cannot use my
    > normal
    > method.
    > Can anyone tell me how I can get around this problem?
    >

  • How to change 10g forms url ?

    Hello,
    I developed forms in 10g forms developer and I can call my forms from web browser with default url like http://server:port/forms/frmservlet?config=myform.
    Is there anyway the change that url like http://myform.com or something?
    Thank you for your replies :)

    Well, the first thing to understand is that when you call the Forms Servlet (frmservlet) you are calling a java application and not static content like an html page. So, changing the URL isn't exactly as easy as it would be for a simple web page. On the other hand, hiding the the real URL or redirecting to the proper url can be done fairly easily.
    All of these assume you are using Application Server.
    OPTION 1 - Hide The URL +(more information can be found in MyOracleSupport note 300326.1)+
    <blockquote>There are several ways in which you can hide the real url, but probably the easiest will be to use an IFRAME. The only potential problem with this is that some security software or browser security settings may prevent this from working. So, here's what you do:
    1. Using an HTML or text editor, create a static html file with the following code. Replace my Forms url with your own.
    <HTML>
    <HEAD>
    <TITLE>My Application</TITLE>
    </HEAD>
    <FRAMESET  ROWS="100%,*" FRAMEBORDER=NO FRAMESPACING=0 BORDER=0>
    <FRAME SRC="http://someServer:port/forms/frmervlet?config=myconfg" NAME="redir_frame">
    </FRAMESET>
    <NOFRAMES>
    Sorry, your browser does not support frames.  Click <A HREF="http://someServer:port/forms/frmervlet?config=myconfg" TARGET=_top>here</A>
    </NOFRAMES>
    <BODY>
        <!-- ADD ANY EXTRA HTML CODE AS NEEDED -->
    </BODY>
    </HTML>2. In the Oracle home from where OHS is running, find the htdocs directory within the OHS (apache) directories.
    3. Rename "index.html", "index.html_original"
    4. Copy your html file to this directory and name it "index.html"
    It is possible that the html file being used is not "index.html". To determine the correct page, you may need to review your httpd.conf file as this is where the default page is set. Look for DirectoryIndex</blockquote>
    OPTION 2 - Redirect To The Proper URL
    <blockquote>1. Find and open httpd.conf
    2. Within the file, locate this: <Directory />
    3. Just below this line add the following. Use your own Forms url
    RedirectMatch ^/$ /forms/frmservlet?config=somewhere</blockquote>

  • Error while executing Form URL

    Dear Experts,
    Install and configure weblogic server 10.3.3.4.0 and then Oracle Portal, Forms, Report, Discoverer are successfully.
    But I have problem when executing Form URL such as HTTP://localhost:8090/forms/frmservlet.
    Failure of server APACHE bridge:
    No backend server available for connection: timed out after 10 seconds or idempotent set to OFF.
    Build date/time: Oct 27 2009 13:34:24
    Change Number: 1013
    Would you give me some advices how to solve this error.
    Greetings,
    -Ranubaya

    URL such as HTTP://localhost:8090/forms/frmservlet
    Is the port 8090? WebLogic server default HTTP port is 7001

  • Where is URL stored in CRM tables How to retreive URL address from table

    Hi,
    Can any one tell where URL address is stored in CRM.
    And how to retreive URL Address from CRM tables.
    As i'm not able to find exactly how to retrive the url form the tables. as the URL address is not visible.
    Thanks & Regards,
    Rajender.
    Edited by: Rajender k on Aug 12, 2008 6:37 PM

    I am not able to get you. Please rephrase or elaborate.

  • How to delete  URL Maintenance  in peoplesoft

    how to delete URL Maintenance in peoplesoft , Please any one suggest to me how to delete identifier.
    Navigation : Main menu -->Peopletools --> Utilities --> Administration --> URL
    in this url page have URL maintenance.I added one identifier .
    URL Identifier:
    *Description:
    *URL: 
    Comments:
    Regards,
    lokeswar

    Main Menu>PeopleTools>Portal>Structure and Content>Traverse to the URL by clicking on the links(Peopletools --> Utilities --> Administration --> URL)>Click on Edit Link
    Check the box for "Hide...."

  • How does the URL of DataSocket constitute?And how to use it in LabWindows/CVI ?

    Hi !
    There's a problem puzzled me some days.How does the URL of DataSocket constitute ? And how to use it in LabWindow/CVI ?
    For example.I have downloaded a code in http://zone.ni.com/devzone/cda/epd/p/id/3787.I want to make it work properly.So I configure my DataSocket Server Manger according to the URL of this statement.
    DS_Open ("dstp://weather.natinst.com/weather/current",
    DSConst_ReadAutoUpdate, DSCurrentCallback, NULL,
    &dsCurrentHandle);
     My DateSockket Server Manger is configured as:
    However,it could not work properly when I debug it.
    There's a introduction at the top of the code."You may need to replace the references to weather.natinst.com to 130.164.140.10 if the DNS isn't working properly."So,I modified the statement into
    DS_Open ("dstp://130.164.140.10/weather/current",
    DSConst_ReadAutoUpdate, DSCurrentCallback, NULL,
    &dsCurrentHandle);
    but,it did work properly.
    We want to communicate with other computers via the URL of  DataSocket in LabWindows/CVI.Whereas,how could we make it ia the URL ?
    If anyone could help me solve this problem,I would appreciate it very much !
    Best regards.
                     xiepei
    I wouldn't care success or failure,for I will only struggle ahead as long as I have been destined to the distance.

    Hi !
    Thank you very much for your reply! I will accept your advice.
    Besides,I have another question.If I want to visit other computers or other websites,how does the URL of DataSocket  I constitute ? Does the URL has any relation with the DataSocket Server Manger ?If does,how to configure the DataSocket Server Manager to let them connected.If they have no relation,how to use the DataSocket Server Manger ?
    After all,I want to know how to use it in LabWinows/CVI ?
    Thank you very much !
    Best regards!
    I wouldn't care success or failure,for I will only struggle ahead as long as I have been destined to the distance.

  • How to specify URL in server.xml of Tomcat

    Hi Everybody,
    I need help.How to specify url in the server.xml.
    I developed one application in the Tomcat 3.3.I want to access the by entering uri(like:http:test.com).
    What are tags to enter in the server.xml.
    Right now i am accessing like:http://localhost:8080/Test/Login.jsp
    I want replace this with (www.test.com).
    This site will access from anywhere means it is going to live.
    So what are things have to do in the server.xml
    Please provide the solution.
    Regards
    Sridhar

    Hi Raktim:
    I looked around on SDN and it seems that i have found what you have been looking for.
    Kindly look at page number 24 and 25 of this page
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4d46fb8a-0b01-0010-9fbe-e4b96533b222
    P.S: Kindly assign points if your query is resolved, also close the question to assist other users narrow the search and find solutions

  • How to call url from abap in background

    Hi,
    I could open url but it opens browser window
    i saw several threads on how to cal url in background but no good answer
    kindly help
    thanks
    B

    Hi,
    Try the following (primitive) example, it calls an url and display the result on screen.
    Hope this will help you.
    <pre>
    REPORT  test.
          CLASS lcx_http_client DEFINITION
          Minimal Error Handling
    CLASS lcx_http_client DEFINITION INHERITING FROM cx_static_check.
      PUBLIC SECTION.
        INTERFACES:
          if_t100_message.
        DATA:
           mv_method TYPE string,                               "#EC NEEDED
           mv_subrc  TYPE i.                                    "#EC NEEDED
        METHODS:
          constructor
            IMPORTING iv_method TYPE string  OPTIONAL
                      iv_subrc  TYPE i       OPTIONAL
                      iv_msgid  TYPE symsgid DEFAULT '00'
                      iv_msgno  TYPE i       DEFAULT 162.
    ENDCLASS.                    "lcx_http_client DEFINITION
          CLASS lcx_http_client IMPLEMENTATION
    CLASS lcx_http_client IMPLEMENTATION.
      METHOD constructor.
        super->constructor( ).
        mv_method = iv_method.
        mv_subrc  = iv_subrc.
        if_t100_message~t100key-msgid = iv_msgid.
        if_t100_message~t100key-msgno = iv_msgno.
        if_t100_message~t100key-attr1 = 'MV_METHOD'.
        if_t100_message~t100key-attr2 = 'MV_SUBRC'.
      ENDMETHOD.                    "constructor
    ENDCLASS.                    "lcx_http_client IMPLEMENTATION
          CLASS lcl_http_client DEFINITION
          Facade for if_http_client
    CLASS lcl_http_client DEFINITION.
      PUBLIC SECTION.
        CLASS-METHODS:
          get_http_client_by_url
            IMPORTING iv_url           TYPE string
                      iv_proxy_host    TYPE string OPTIONAL
                      iv_proxy_service TYPE string OPTIONAL
                      PREFERRED PARAMETER iv_url
            RETURNING value(ro_http_client) TYPE REF TO lcl_http_client
            RAISING lcx_http_client.
        DATA:
          mr_http_client TYPE REF TO if_http_client.
        METHODS:
          send
            RAISING lcx_http_client,
          receive
            RAISING lcx_http_client,
          close
            RAISING lcx_http_client,
          get_response_header_fields
            RETURNING value(rt_fields) TYPE tihttpnvp,
          get_response_cdata
            RETURNING value(rv_data) TYPE string.
    ENDCLASS.                    "lcl_http_client DEFINITION
          CLASS lcl_http_client IMPLEMENTATION
    CLASS lcl_http_client IMPLEMENTATION.
      METHOD get_http_client_by_url.
        DATA: lv_subrc TYPE sysubrc.
        CREATE OBJECT ro_http_client.
        cl_http_client=>create_by_url( EXPORTING url                 = iv_url
                                                 proxy_host          = iv_proxy_host
                                                 proxy_service       = iv_proxy_service
                                       IMPORTING client              = ro_http_client->mr_http_client
                                       EXCEPTIONS argument_not_found = 1
                                                  plugin_not_active  = 2
                                                  internal_error     = 3
                                                  OTHERS             = 999 ).
        CHECK sy-subrc <> 0.
        lv_subrc = sy-subrc.
        RAISE EXCEPTION TYPE lcx_http_client EXPORTING iv_method = 'GET_HTTP_CLIENT_BY_URL' iv_subrc = lv_subrc.
      ENDMETHOD.                    "get_http_client_by_url
      METHOD send.
        DATA: lv_subrc TYPE sysubrc.
        mr_http_client->send( EXCEPTIONS http_communication_failure = 5
                                         http_invalid_state         = 6
                                         http_processing_failed     = 7
                                         http_invalid_timeout       = 8
                                         OTHERS                     = 999 ).
        CHECK sy-subrc <> 0.
        lv_subrc = sy-subrc.
        RAISE EXCEPTION TYPE lcx_http_client EXPORTING iv_method = 'SEND' iv_subrc = lv_subrc.
      ENDMETHOD.                    "send
      METHOD close.
        DATA: lv_subrc TYPE sysubrc.
        CALL METHOD mr_http_client->close
          EXCEPTIONS
            http_invalid_state = 10
            OTHERS             = 999.
        CHECK sy-subrc <> 0.
        lv_subrc = sy-subrc.
        RAISE EXCEPTION TYPE lcx_http_client EXPORTING iv_method = 'CLOSE' iv_subrc = lv_subrc.
      ENDMETHOD.                    "close
      METHOD receive.
        DATA: lv_subrc TYPE sysubrc.
        mr_http_client->receive( EXCEPTIONS http_communication_failure = 9
                                            http_invalid_state         = 10
                                            http_processing_failed     = 11
                                            OTHERS                     = 999 ).
        CHECK sy-subrc <> 0.
        lv_subrc = sy-subrc.
        RAISE EXCEPTION TYPE lcx_http_client EXPORTING iv_method = 'RECEIVE' iv_subrc = lv_subrc.
      ENDMETHOD.                    "receive
      METHOD get_response_header_fields.
        mr_http_client->response->get_header_fields( CHANGING fields = rt_fields ).
      ENDMETHOD.                    "get_response_header_fields
      METHOD get_response_cdata.
        rv_data = mr_http_client->response->get_cdata( ).
      ENDMETHOD.                    "get_response_cdata
    ENDCLASS.                    "lcl_http_client IMPLEMENTATION
    PARAMETERS: p_url   TYPE string DEFAULT 'http://www.google.com' LOWER CASE,
                p_phost TYPE string DEFAULT 'your_proxy_here'       LOWER CASE,
                p_pserv TYPE string DEFAULT '8080'                  LOWER CASE.
    *===================================================================================
    START-OF-SELECTION.
      TRY .
          DATA: gt_data          TYPE string_table,
                gv_data          TYPE string,
                gr_http_client   TYPE REF TO lcl_http_client,
                go_cx            TYPE REF TO lcx_http_client.
          "Initialize the http client
          gr_http_client =
            lcl_http_client=>get_http_client_by_url( iv_url           = p_url
                                                     iv_proxy_host    = p_phost
                                                     iv_proxy_service = p_pserv ).
          "Call the specified URL and retrieve data from the response
          gr_http_client->send( ).
          gr_http_client->receive( ).
          gv_data = gr_http_client->get_response_cdata( ).
          "Its over....
          gr_http_client->close( ).
          "Display result
          REPLACE ALL OCCURRENCES OF cl_abap_char_utilities=>cr_lf IN gv_data WITH cl_abap_char_utilities=>newline.
          SPLIT gv_data AT cl_abap_char_utilities=>newline INTO TABLE gt_data.
          LOOP AT gt_data INTO gv_data.
            WRITE: / gv_data.
          ENDLOOP.
        CATCH lcx_http_client INTO go_cx.
          MESSAGE go_cx TYPE 'S' DISPLAY LIKE 'E'.
      ENDTRY.
    </pre>

  • Hi, how to use URL encoding in jsp

    hi, how to apply URL encoding in jsp for a string, could u pls suggest some ideas to use URL encoding in jsp
    thank you in advance

    hi, thnx for the reply, but my problem is to use url encoding method
    i would u like to know how to represent in jsp program i have asp code some thing like this
    href='/project/tel_number.asp?team=<%=DbRecTeam("id")%>&name=<%=Server.URLEncode(DbRec("name"))%>'
    i would like to know how replace that Server.URLEncode stmt in jsp, could u pls suggest some equivalent method for the above stmt
    thanx in advance

  • How to encode URL parameters in pl/sql?

    How to encode url and its paramters in PL/SQL to call a page using html GET method? Is there any equiavlent method of java's URLEncoder.encode() method in pl/sql (in any web packages) ?
    Any help/pointers highly appreciated.
    P.S. : URGENT PLEASE!!!

    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:371959198986

  • How does this urls works!?

    any brainy!?

    Oh sorry i though people can understand what I was trying to ask...
    Actually how to create url systems like twitter and facebook, where the url seem to become a folder name like
    twitter.com/exoot
    twitter.com/adobe
    where "exoot" and "adobe" are users name.
    Are these made possible by creating index.php file at the folder like this?
    twitter.com/exoot/index.php
    twitter.com/adobe/index.php
    Or theres other url caching methods which capture/cache the "exoot" and "adobe" string and fetch thee user data from the server.
    But if they have to create such a folder system, it would be a large amount of file storing would be required and updating all the would be extreamly hard..
    My question is how this possible if they didnt practise the  folder system i meantioned above... because i want to create such a system like
    exoot.100webspace.com/username
    instead of
    exoot.100webspace.com/page.php?id=username
    where, by using the username I able to show the username's profile page by fetching mysql.
    thanks in advance

  • How to read URL parameters of one wdp component into other WDP component?

    Dear Experts,
    Can anyone let me know how to read URL parameters of one wdp component into other WDP component?
    My requirement is i have one standard WDP component with 3 URL parameters and i needto
    read that URL parameters along with their values in my Z-WDP component.
    Thanks
    SK

    Hi Santosh,
    You can read parameters send from one WebDynpro Component to another component by adding code in "HANDLEDEFAULT" Event Handler method ( Window )of your target Web Dynpro Component.
    data: lt_parameter             type tihttpnvp,
             ls_parameter             type ihttpnvp.
    lo_api_controller ?= wd_this->wd_get_api( ).
       call method lo_api_controller->get_message_manager
         receiving
           message_manager = lo_message_manager.
       clear : ls_parameter.
       refresh : lt_parameter[].
    * Read all URL parameters
       wdevent->get_data( exporting name = if_wd_application=>all_url_parameters importing value = lt_parameter ).
    if not lt_parameter[] is initial.
         clear : ls_parameter.
         read table lt_parameter into ls_parameter index 1.
         if ls_parameter-name = 'ACTION' and
            ls_parameter-value is initial.
           lv_flag = 'X'.
           clear : lo_msg.
           lo_msg = 'Action Parameter Missing in URL Link !'.
    *         report message
           call method lo_message_manager->report_error_message
             exporting
               message_text = lo_msg.
         else.
         endif.
    Best Regards
    Priyesh Shah

  • How to use "url.openStream()" . What this function does?

    how to use "url.openStream()" . What this function does?
    Edited by: sahil1287 on Apr 16, 2009 10:02 PM

    http://java.sun.com/javase/6/docs/api/java/net/URL.html#openStream()
    http://java.sun.com/docs/books/tutorial/networking/urls/readingWriting.html

Maybe you are looking for

  • ICal not pushing to my iphone

    When I input events on my iCal on my Apple desktop, the events are not automatically populating the calendar on my iPhone.  However, when I add an event in the calendar on my iPhone, it does automatically populate on the iCal on my desktop.  Any reas

  • Problem in HIDE statement

    Hi Guys, I have a query in <b>HIDE</b>, This is up gradation project 4.5B to ECC 6.0, but in the 4.5B it is working fine,When it come to the ECC 6.0 it is giving error like " you can not use <b>HIDE</b> for a read  only field. This is my statement: 

  • How can I change the ordering of the parameters listed under the Labview module?

    Is there anyway to change the ordering of the parameters listed in the parameters table under the Labview module tab in TestStand?  Each of these parameters printout in my report, but I need to change the ordering of the parameters in the report.  Th

  • Take count on consecutive selections of SELECT-OPTIONS.

    Hi Experts, i am new to ABAP    Development. My client has given a requirement in which i have to calculate count of Documents under selected Document types. The Document types is to be selected in Select-options. i have to to do multiple selections

  • How can I fix karnel_task in My Yosemite 10.10.2

    Hi every one! First sorry about my English... But today I have the Kernel_Task issue problem and it´s take about 2 GB off my computers memory and more, I re install Yosemite with all programs its take Two days to re install programs BUT the kernel_ta