Adding a URL to BSP Page

Hello,
I want to add an URL to the BSP page, could anyone give me insights on this.
-Kewl

By adding a URL, do you mean that you want a link to another URL?  You could always a plain HTML <a href>.  Or you could use the HTMLB extension <htmlb:link>.  Examples of the HTMLB elements can be found in the sample app SBSPEXT_HTMLB and HTMLB_SAMPLES. 
On the other hand are you needing help building a URL to another BSP application?  Or perhaps did your question have to do with navigation between pages or applications?

Similar Messages

  • Urgent!! url of bsp page

    Experts,
    ERP2005
    I am creating bsp applications in dev system and each page in the application has the url of dev. system. if i transport the application to Q and then Prod systems, do the URLs be automatically be adjusted according to hostname or it should be done manually? if it is a manual process, should I go for using external aliases?
    Regards!

    Hi Graham,
    let me explain again. i am not a big programmer of BSP applications. I am a HR functional guy. I am trying to use the features of Web AS to create BSP HTML pages easily.
    I am not trying to create a complex application. a simple application which contains 40-50 HTML pages which are independent of each other. no navigation is needed.
    for example:
    dev system hostname is   somehost<b>dev</b>.
    Q system hostname is   somehost<b>q</b>.
    Prod system hostname is   somehost<b>prod</b>.
    say I have a BSP application in DEV as http://<somehost<b>dev</b>>.<domain>.........../startpage.htm
    In HR configuration, above URL is used in one field like this:
    <b>URL: http://<somehost<b>dev</b>>.<domain>.........../startpage.htm </b>  (URL of above BSP page)
    Description: Description for Medical Plan
    So If the transport request is moved to Q system, i see above entry in the configuration. but it does not have host name of the Q system (obvious from the above entry). it has host name of the dev system. so, in Q ESS portal if I click the link, it is accessing the link from BSP page from DEV system not the one from Q R/3 system. it is because of above configuration.
    It seems to me at this moment, to put the URL of BSP Page in the configuration field, and transport the customizing request. with this solution, there is lot of manual process.
    first,
    1. put the URL of BSP page with Q system host name in the DEV system, and transport the request to Q. Do the testing
    2. change the URL of BSP page with P system hostname in the DEV system, and transport it to Q and then P.
    there is lot of manual processing involved.
    is there any way to get around this?

  • How to create an url for bsp page to access in IE?

    hi friends,
    I am new to BSP topic.
    I have created 4 BSP pages. and 1 Main BSP page. Now in Main BSP page i attached all the 4 BSP pages links.
    Now when i test the Main BSP page it will show all the 4 BSP page links. All are working fine.
    But the end user has to access this through IE by typing Main BSP page full path. It's some what becoming critical to enter full path. It will be access in internally(intranet) only not outside.
    For this i want create an URL like http://empess.
    When the user type this URL http://empess in IE and press enters then my main BSP page has to open.
    How to do this. any helps will appreciate...
    Regards,
    Shree.

    hi,
    As u said i created External Alias as /ITCESS to my BSP application.
    And i select my BSP application name from the Target Element tab. Then i selected the alias name i right clicked on it, i selected TestExt. Alis option. It's working fine.
    But now the problem is, i want this to display in IE direclty, when user type the /ITCESS in Internet Explorer addres bar.
    Regards,
    shankar.

  • How to change url of bsp page

    Hi experts
    I have created a BSP application , In login pafe i want to change  URL which we use for TEST .
    Or can can i redirect to another url , when TEST the page.
    Thanks & Regards
    Prashant Gupta

    Hi Prashant,
    Re-directing to another URL on load of page is a very simple piece of HTML code.Put this on the layout of page from where you want to re-direct to the other URL.
    <html>
    <head>
      <metas http-equiv="refresh" content="0;url=http://sdn.sap.com">
    </head>
    </html>
    Here the important line is the 3rd line which begins with "<metas". The operation is "refresh" which means to "refresh" the current page with the information that follows. The content begins with a zero, which is the number of seconds to wait, and then the URL that you should be taken to.
    So the above code would re-direct you to the http://sdn.sap.com page as soon as you log in.
    Hope this helps!
    PS : meta changed to metas to allow adding of the code.
    Regards,
    Saurabh

  • Adding a list in BSP Page

    Hi,
    In our requirement, we have three output list fields fetched from Database Table.
    One more field is to be added for the display.
    The code which gets the data is something like this
    href="<%= target_page %>?i_sap_job=<%= wa_zadm_jobrun-jobname %><%= amb %>i_RUNINSTANCE=<%= wa_zadm_jobrun-RUNINSTANCE %><%= amb %>i_type_flag=<%=e_type_flag%><%= amb %>i_message=<%= e_message %><%= amb %>i_header=<%= e_header %>i_maestro_job
    =<%= wa_zadm_jobrun-maestro_job %>">
    The fields jobname, runinstance were already existing. The new field maestro_job is to be added to the output list.
    The data is coming in debugging, but in output it is not diplayed.
    Hope the query is clear...
    Thanks in advance..
    Do let know if any other details are required.
    It is an urgent requirement...
    Regards
    Ajaz

    answered by self...
    Thanks

  • How to retrieve data from URL or querystring in bsp pages

    hi
    how to retrieve data from URL or querystring in bsp pages.
    thanks
    Edited by: Vijay Babu Dudla on Mar 23, 2009 7:35 AM

    Hello Friend,
    Vijay is correct.
    REQUEST is a system object available in runtime of BSP application.
    It is the object of interface IF_HTTP_REQUEST.
    Use methof REQUEST -> GET_FORM_DATA( )
    Regards
    Krishnendu

  • Using a BSP page to hide report url ?!

    Hello everybody,
    I would like to 'hide' exact query url.
    I have found in SICF transaction external aliases but I can replace only a part of my url, ie :
    http://host:port/sap/bw/bex?parameters => http://host:port/test?parameters
    I would like to replace all the url in :
    http://host:port/sap/bw/bex?parameters  => http://serveuralias/
    This url has to be the same for each BW reports ... (little bit stupid i think but ...)
    How can i do this ?
    We told me that we can parameter a BSP page in SICF, on bex service, which call bw reports and thus we should only see the bsp url in IExplorer and not BW report url. Is it possible ?
    Thanks a lot,
    CG.

    hi tom,
    can u tell which method u r using for URL parameter passing?
    regards,
    kamaljeet

  • Adding an interactive "Processing" message to BSP pages

    Hi All,
    I would like to add an interactive message when I hit the save button on my BSP page. Since I do a lot of database writing upon hitting "SAVE", I would like to display some sort of "popup" message that would let the users know that the page is currently being processed.
    Thanks for all the help!
    Roman D.

    Hi Roman,
    try using the PHTMLB tag "ProtectDoubleSubmit". If you are not using HTMLB you will have to develop something int JavaScript. There are some posts in this forum about this.
    Regards
    Ariel

  • To Intigrate Google Map in BSP page

    Hello Experts,
        My requirement is to show the google map in my BSP page. I have generated API key for that also. the following code works in .html extension but it wont work if i create a view in IC webclient and paste in its .htm page
    But same code with BSP tags. wont work. It will just gives you a blank screen.
    Bsp tags added are as follows
    <%@page language="abap" %>
    <%@extension name="thtmlb" prefix="thtmlb" %>
    <%@extension name="chtmlb" prefix="chtmlb" %>
    <%@extension name="bsp" prefix="bsp" %>
    <%@extension name="htmlb" prefix="htmlb"%>
    http://code.google.com/apis/maps/documentation/examples/event-argumentsl   
    You People can have a look at source code which i have used.right-click view source code
    i found the follwing blog. I tried the same in system still the view is grayed out . I cant see any thing
    Geocode Business Partner with Google Maps
    suggest me What else should be done .
    Thanks in advance
    SRiNi

    Put the below code in your layout of the page/view.
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <htmlb:content design="design2003">
      <htmlb:page title = "FIRST PAGE ">
        <htmlb:form>
         <iframe src="URL OF GOOGLE MAPS" width="100%" height="500px">
         </iframe>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>

  • How to call a BSP page or webdynpro from a WAD Template button

    Hi All,
    I want to implement a button on a web template which when called involes a BSP page or a web dynpro and displays the BSP page or webdynpro in a popup window.
    Thanks
    Karen

    Hi Karen,
    What you could do is create a bsp application which receives workbook id as url parameter.
    From WAD create a link to this BSP page and pass the wbook id in the url.
    Within the BSP you can then read the excel as binary string like below
    Select * from rsrwbstore into table wb_tab where workbookid = wbid.
    You can then set wb_tab-clustd as the response of the page with mime type to 'application/vnd.ms-excel'. which will open as excel
    Take a look on this weblog,
    /people/durairaj.athavanraja/blog/2006/02/06/read-sap-table-data-from-bw-webtemplate-ajax-in-bw-webtemplate
    Hope it Helps,
    Regards,
    Amit

  • Open new BSP page

    Hi all,
    i am in ABAP report and i want to open new BSP page from the ABAP report
    becuse some time it is open the BSP page in the same session of SAP system.
    and also how i can maximize it automatically in the same way of (F11 key).
    is there any documents that describe and explain the signature of this method.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE
    EXPORTING
           DOCUMENT      = 'XXXXXX .......'
         APPLICATION            = 'X'
         PARAMETER              =
         DEFAULT_DIRECTORY      =
         MAXIMIZED              =
         MINIMIZED              =
         SYNCHRONOUS            =
           OPERATION              = 'OPEN'
    EXCEPTIONS
            CNTL_ERROR             = 1.

    If you want to open the BSP in Browsers, you can call the FM CALL_BROWSER & pass your BSP appl URL. This will open the BSP from R/3.
    OR you can use the HTML viewer to call URL..
    Look at the below blog for the same.
    /people/thomas.jung3/blog/2004/08/26/updated-calling-a-bsp-application-from-a-sapgui-transaction
    Hope this will help you.
    <b>*Reward each useful answer</b>
    Raja T

  • How do I find out the URL of the page a document was downloaded from?

    I downloaded a PDF several months ago; I can see it in my downloads history. When I right click it there, I see the link to the PDF itself, but I need to know the actual page it came from.
    I've checked my History, but cannot identify the page.
    Is there a definitive way of determining the URL of the page that linked to the document?

    Open the Download Manager window and select that file.
    Copy and paste this code in the Code field in the Error Console and click the Evaluate button.
    *Firefox/Tools > Web Development > Error Console
    The code adds a tooltip to the area with the file type icon at the left hand side of each entry in the DM window and shows a tooltip when you hover that area.<br />
    It only works for entries that are currently visible in the DM and not for new entries that are added by downloading files and only as long as the DM window is kept open, so you need to rerun the code in the Error Console to get a tooltip.
    <pre><nowiki>const Cc=Components.classes, Ci=Components.interfaces;
    var enumerator=Cc["@mozilla.org/appshell/window-mediator;1"].getService(Ci.nsIWindowMediator).getEnumerator(null);
    while(enumerator.hasMoreElements()){var win=enumerator.getNext();
    if(win.location=="chrome://mozapps/content/downloads/downloads.xul"){
    var i,r,R,C='';
    r=win.document.getElementById("downloadView").getElementsByTagName("richlistitem");
    for(i=0;R=r[i];i++){
    var fP=R.getAttribute("path");
    var fU=R.getAttribute("uri");
    var sT=parseInt(R.getAttribute("startTime"));
    var eT=parseInt(R.getAttribute("endTime"));
    var cB=parseInt(R.getAttribute("currBytes"));
    var mB=parseInt(R.getAttribute("maxBytes"));
    var rU=R.hasAttribute("referrer")?R.getAttribute("referrer"):"<no referrer>";
    var sD=cB/(eT-sT);
    var tT=[];
    tT.push("FILE: "+fP);
    tT.push("URI: "+fU);
    tT.push("REF: "+rU);
    tT.push("");
    tT.push("Total Time: "+((eT-sT)/1E3)+" sec.");
    tT.push("Curr Bytes: "+cB+" bytes"+((cB==mB)?" (OK)":"(part)"));
    tT.push("Max Bytes: "+mB+" bytes");
    tT.push("Download speed: "+sD.toFixed(3)+" KB/sec");
    R.setAttribute("tooltiptext",tT.join("\n"));
    if(R.getAttribute("selected")=="true"){C=tT;}
    if(C)prompt(C.join("\n"),C);
    </nowiki></pre>

  • Bsp Page Not displying in browser!

    Hi friends,
    My Bsp Page is not displaying in the browser, i read all previous messages and applied patches too,Still i am getting the same problem
    http://sapr347:8001/sap/bc/bsp/sap/system/sso2test.htm?sap-client=800&sap-sessioncmd=open
    this is the url generated by Web Application builder test tool, even i forced the system to use the Anonymous logon procedure and checked logon data required check box, is any request handler require for my application?
    My Instance_profile and trace file shows
    icm instance as sapr347.ssdomain, even i made an attempt and gave Ip address and system name as..
    10.10.4.11 sapr347.ssdomain sapr347  -> Failed
    10.10.4.11 sapr347                   -> Failed
    in windows/system32/drivers/etc/host file for temporary solution.
    Please advice me in this regard
    Thanks in Advance
    Yoki

    Hi friends,
    Thanks for all of your great help, i chekced all the parameters as i said before.. FQDN paramter in instance profile showing sapr347.ssdomain, my host file set into
    10.10.1.106 sapr347.ssdomain
    even i restarted my mechine(client/server),i am getting the following error
    Not found
    The following error occured:
    MsSGetNextLogon: no server found which provides service HTTP (msxxserv.c [15317])
    mySAP.com 620 msg_server (ENT)
    My URL is...
    http://sapr347:8001/sap/bc/bsp/sap/ztutorial/defualt.htm?sap-client=800&sap-sessioncmd=open
    ...its not even finding out my server..i dont know how to work get connected....please any one here find me the correct solution..i read all weblogs..and seen patches..for this..tried all helpful information..even i failed to get my page... my application is also very much activated in sicf..

  • How to navigate from webdynpro view to bsp page in the same window?

    hi i want to call a page by its url.
    i am using the "create_external_window" method.
    but it is displying my url in a new window.
    i want to display it in the same window.
    the second page i want to call is a bsp page.
    i tried also the portal manager and NAVIGATE_ABSOLUTE but nothing happens.
    it displays nothing.
    thanks for your hints.

    >
    Achref zaidi wrote:
    > hi i want to call a page by its url.
    > i am using the "create_external_window" method.
    > but it is displying my url in a new window.
    >
    > i want to display it in the same window.
    > the second page i want to call is a bsp page.
    >
    > i tried also the portal manager and NAVIGATE_ABSOLUTE but nothing happens.
    > it displays nothing.
    >
    > thanks for your hints.
    Hi,
    Navigate_absolute method has navigation mode. Can you please tell me what you mean by nothing happens ? This will work only in Portal environment.
    So if you try with portal then remember to use  Navigation_mode as inplace.

  • Error while calling the PDF in BSP pages in ECC6.0: Question BSP Gurus

    Hi BSP experts,
    Any Experts have solutions for below.
    We recently moved BSP pages into ECC 6.0 .Iam getting the error in BSP page while calling the PDF.
    The scenario is like this: The PDF is getting called the via URL:
    The code is like this
      CALL FUNCTION 'GUID_CREATE'
        IMPORTING
          ev_guid_32 = guid.
      CONCATENATE runtime->application_url '/' guid '.pdf'    INTO   URL.
    <u><b>This URL is called in the front end LAYOUT.</b></u>
    <iframe src="<%= URL %>" width="100%" height="600px">
    </iframe>

    you missed one question of mine  <b>Do you create the PDF after creating the GUID ?</b>
    try giving a fixed URL just to test.
    Aman

Maybe you are looking for

  • How to create is Dialog or JDialog without close button

    I want to add a dialog report the current step of work in the GUI and I don't want it to be closed manually. How can I get rid of the close button on the top right side of the dialog? Thanx for any help or clue given.

  • Passing a parameter to a formula

    Ok - tried everything and I am at a loss... I need to pass a parameter to a report  in order to provide the path of the images to a report. The path is contained in the web.config and extracting that in a code behind variable works fine (szReportsIma

  • Answer this objects

    hi i want the answer this question.      Developed a report which gives the Bank details of employee. The out requirement is company code, Bank name, Address and *total amount for that employee must be taken from RT Table*. wt. is the meaning of tot

  • Manipulating ip address and subnet mask with plsql

    Hi, I'm looking for a plsql package in order to perform basic operations with ip adresses and subnet masks like: - validating an ip address (dot format) - converting masks (16 -->> 255.255.0.0) - splitting an ip range with a higher subnet mask (10.3.

  • Complex Join

    Hi, Why we use complex Join in Physical Layer?