Access BSP pages through dropdown values

Hi,
    I have a created a dropdown in a webdyn pro application. Now, when I select any value from dropdown in first iView, then an BSP iView should open. I am able to pass dropdown values from first to second iView. But how to link BSP iView to dropdown values and open them?
Can anybody help me in this case?
Regards,
Vaibhav

Hi Vaibhav,
if you want to open an iView over a selectbox in web dynpro i would do the following steps:
- look into Content Administration into your portal you have created your iView and look after your iView path in the details (something like pcd:/portal_content/...)
- write down the following code in your web dynpro application for your selectbox:
  if (Menuevalue.equalsIgnoreCase("<your value>")){
     // call your iView
     String url_iView = "ROLES://portal_content/<your path to your iView>";
WDPortalNavigation.navigateAbsolute(
   url_iView,
   WDPortalNavigationMode.SHOW_EXTERNAL,
   WDPortalNavigationHistoryMode.NO_DUPLICATIONS,"");      
In my case i do it for an ITS iView and it works fine.
Regards,
Frank

Similar Messages

  • Launching the BSP page through transcation launcher

    Hi CRM Experts ,
                              How to launch the BSP page through transcation launcher ?

    Hi Mahadevi,
    You can find the detailed information here:
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0da6d63-8485-2c10-dab6-bb202e209455|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0da6d63-8485-2c10-dab6-bb202e209455]
    Regards
    Leon

  • Error 403 Reported when trying to access web page through a program.

    I was writing a program for fun, to try to download a web page, pdf or anything from the web. The program works fine when given local file system path in URL and also works well when i tried to access a page from the tomcat installed on my machine but gives a error 403 when tried to access URL's outside the system. Tried to read about 403, seems that many sites does not allow to access a particular URL directly using the directory structure, you have to pass thru different hyperlinks before reaching resource.
    IS THERE ANY WAY THIS PROBLEM CAN BE SOLVED.
    import java.io.*;
    import java.net.*;
    class TestDownload
         public static void main(String[] args)
              try
                   URL url = new URL("http://www.webmasterworld.com/forum48/1966.htm");
              //     URL url = new URL("http://localhost:8080/index.html");
              //     URL url = new URL("file:\\C:\\web_2.pdf");
                   URLConnection connection = url.openConnection();
                   InputStream stream = connection.getInputStream();
                   BufferedInputStream in = new BufferedInputStream(stream);
                   FileOutputStream file = new FileOutputStream("x.html");
                   BufferedOutputStream out = new BufferedOutputStream(file);
                   int i;
                   while ((i = in.read()) != -1) {
                        out.write(i);
                   out.flush();
              catch(IOException e)
                   e.printStackTrace();
              System.out.println("Hello World!");
    }

    I was writing a program for fun, to try to download a web page, pdf or anything from the web. The program works fine when given local file system path in URL and also works well when i tried to access a page from the tomcat installed on my machine but gives a error 403 when tried to access URL's outside the system. Tried to read about 403, seems that many sites does not allow to access a particular URL directly using the directory structure, you have to pass thru different hyperlinks before reaching resource.
    IS THERE ANY WAY THIS PROBLEM CAN BE SOLVED.
    import java.io.*;
    import java.net.*;
    class TestDownload
         public static void main(String[] args)
              try
                   URL url = new URL("http://www.webmasterworld.com/forum48/1966.htm");
              //     URL url = new URL("http://localhost:8080/index.html");
              //     URL url = new URL("file:\\C:\\web_2.pdf");
                   URLConnection connection = url.openConnection();
                   InputStream stream = connection.getInputStream();
                   BufferedInputStream in = new BufferedInputStream(stream);
                   FileOutputStream file = new FileOutputStream("x.html");
                   BufferedOutputStream out = new BufferedOutputStream(file);
                   int i;
                   while ((i = in.read()) != -1) {
                        out.write(i);
                   out.flush();
              catch(IOException e)
                   e.printStackTrace();
              System.out.println("Hello World!");
    }

  • Unable to open login page through internet explorer

    Hi,
    Configured Reverse proxy external tier. We are able to access login page through Mozilla but unable to access through IE8.
    Raised SR, but they have reverted saying it's browser problem & not in their scope.
    Please help for the following error message when redirecting to login page.
    You are trying to access a page that is no longer active.
    - The referring page may have come from a previous session. Please select Home to proceed.
    Thanks in advance

    Please post the details of the application release, database version and OS.
    Configured Reverse proxy external tier. We are able to access login page through Mozilla but unable to access through IE8.
    Raised SR, but they have reverted saying it's browser problem & not in their scope.Do you meet the requirements in these docs?
    Recommended Browsers for Oracle E-Business Suite Release 12 [ID 389422.1]
    Recommended Browsers for Oracle E-Business Suite 11i [ID 285218.1]
    Please help for the following error message when redirecting to login page.Can you find any errors in the application/apache/database log files?
    You are trying to access a page that is no longer active.
    - The referring page may have come from a previous session. Please select Home to proceed. Please see if these docs help.
    Session Error Raised Direct After Login when Using Two-Letter Domain Segments [ID 420573.1]
    Login Issue via Internet Explorer after EBS Upgrade from 11.5.10.2 to 12.0.4 [ID 828534.1]
    R12 Login Fails When A Cookie Using Comma Separated Values Is Set First [ID 946807.1]
    R12: Error "You are trying to access a page that is no longer active" When Attempting to Access Through Internet Explorer [ID 968839.1]
    Thanks,
    Hussein

  • How to call function module in R/3 from an BSP Page

    Hi Experts,
    I am new to ABAP and BSP as well.
    I am creating an BSP page through which I want to call an function module in R/3 which will fetch a file from the application server and place into an internal table.
    I have identified the function module.
    My questions are:
    Since I am going to have an web interface where on a button click the file should be uploaded to the intrernal table.So how do I call the function module.
    Can I use JSP and ABAP together in an BSP page.
    Thanks
    Ankit

    Hello Ankit,
    Please check the following link:
    http://help.sap.com/saphelp_47x200/helpdata/en/bd/ac1e3a0088e042e10000000a11402f/frameset.htm
    I think it will answer all your queries.
    Regards,
    Siddhesh

  • How to send/set parameter from BSP page to iview

    Dear Expert,
    Can advise me how to send or set parameter from BSP page to iview ?
    http://xxx.xxx.com/irj/portal?navigationtarget=roles://pcd:portal_content/FLD.ObjetLibrary/FLD.Iviews/FLD.CRM/ET/bsppage.htm?lv_param=xxx
    I want to view my bsp page in portal but with parameter value.
    I can open my bsp page without parameter value like link below :
    http://xxx.xxx.com/irj/portal?navigationtarget=roles://pcd:portal_content/FLD.ObjetLibrary/FLD.Iviews/FLD.CRM/ET/
    Thnx & Regards,
    Pieter

    Hi,
    your BSP page get's integrated via an iFrame. So, simply speaking, it's not possible to pass an parameter back.
    But what you can try is to use the Portal DataBag component. In the BSP page, store the information you want to pass in the browser. The iView/Portal than has to check if there is a new parameter / value stored.
    SAP Help: http://help.sap.com/saphelp_nw70/helpdata/en/68/322a9261c54e51b7965f86aac3dae2/frameset.htm
    br,
    Tobias

  • Call function module from BSP page

    Hi Experts,
    I am new to ABAP and BSP as well.
    I am creating an BSP page through which I want to call an function module in R/3 which will fetch a file from the application server and place into an internal table.
    I have identified the function module.
    My questions are:
    Since I am going to have an web interface where on a button click the file should be uploaded to the intrernal table.So how do I call the function module.
    Can I use JSP and ABAP together in an BSP page.
    Thanks
    Ankit

    Hello Ankit,
    Please check the following link:
    http://help.sap.com/saphelp_47x200/helpdata/en/bd/ac1e3a0088e042e10000000a11402f/frameset.htm
    I think it will answer all your queries.
    Regards,
    Siddhesh

  • Maintaining External Alias for BSP Pages in EBP lauchpad

    Hello,
    Below is the problem mentioned :
    Our SRM production system is installed on a AIX server that has
    svuni299.its.it as fully qualified domain name.
    When we connect to the system using the url
    http://svuni299.its.it:8052/sap/bc/gui/sap/its/bbpstart
    everything works fine.
    Instead, when we use the alias:
    http://sapienssrm.fiat.com:8052/sap/bc/gui/sap/its/bbpstart
    we have some problems with the logon to the CCM, because the system
    asks the password again.
    In the attachment problem.doc you can see how to reproduce the error.
    We have seen that in both case, in the left menu of the SRM, all the
    entry contains always a call to an absolute url like this:
    javascript:parent.launchSrvc
    ('','BSP_APPLICATION','http://svuni299.its.it:8052/sap/bc/bsp/ccm/cat_cd
    c/container.htm?sap-client=100&sap-sessioncmd=open&sap-
    language=I','menu')
    instead of having a relative url like this:
    javascript:parent.launchSrvc
    ('BBPSC18','IAC','/sap/bc/gui/sap/its/bbpsc18/!?
    client=100&language=IT&~logingroup=SPACE','menu')
    My Questions:
    Q1.Where can one maintain an external alias to access BSP pages from EBP launch pad.
    Q2.Should relative URL be called or absolute URL?
    Cheers,
    Rohan.

    Hi Rohan,
    You can maintain external aliases using Tcode- sicf.
    There on application toolbar you will find a push button <b>External Alias</b> click on that and then select your virtual host and press create new button and enter the required informations.
    Cheers!
    Narinder

  • Bookmark a bsp page

    Dear all,
    I need to bookmark(add to favorites) a bsp page through a link given on the bsp page.
    Can anyone please guide how to do this.
    Thanks.
    Edited by: shalaxy s on Feb 4, 2008 5:53 AM

    search the internet (google) you will find lot of examples.
    for example
    http://www.createawebsite.net/l_center/javascript/bookmark.php

  • Assign a value from dropdownlist to input field value on BSP page

    Hi,
    I'm new to SAP and ABAP. We have a CRM project in which I have to maintain BSP pages.
    Now, coming to my problem: I have a input field with
    value = "//BTAdminH/HeaderInfo"
    This field is normally maintainable. The required function is now to set this field as not maintainable/readonly. Then, the value should be set automatically to an value, which will be selected from a dropdownListBox. After saving, the value HeaderInfo should have the same value like the selected value from the dropdownListBox.
    How can I now set the field as readonly (this should be the easier part) and
    how can I set the value for the HeaderInfo to the value of the selected value from the dropdownListBox?
    If I set it directly like this
    value = "//BTActivity/Priority"
    it is shown on the BSP page correclty, but it is not saved as HeaderInfo.
    Please help me.
    Enja

    Hello Gokul,
    test was only for test purposes! I am using as a separator the plus sign!
    But this is not the problem!
    In debugging, the local variable has the concatenated value! So, this is working!
    oncatenate ls_ddlb1-value ls_ddlb2-value ls_ddlb3-value into lv_headerinfo SEPARATED BY ' + '.
    But when I assign the value of my set_headerinfo to the local variable, then it is returning only the separator sign!!!
    if BTAdminH->GET_HEADERINFO( 'HEADERINFO' ) is initial.
        BTAdminH->SET_HEADERINFO( attribute_path = 'HEADERINFO' value = lv_headerinfo ).
      endif.
    If I declare the local variable as one of the dropdown values, then it is getting populated also for set_headerinfo
    lv_headerinfo  =ls_ddlb1-value.
    So, the assigning is also working! But it is not working, when the local variable equals more than one value! I hope that I could explained it in the right way for you!!!!
    So. why is the value for set_headerinfo not the same as the one for the local variable! The local variable has the correct value after the concatination.
    Regards
    Enja

  • How to display the one BSP View page (not a start page)Through URL link..

    Hi Sir/Madam,
                 I want to open one BSP view page through URL link...
    Let me Explain clearly..
                I have an Z application ZHRRCF_APPROVAL..In this application approve.bsp file i have added som more Fields..and Finally I am going to click ApproVe Buton /Reject Button.When i click the reject button the the items are rejected.Its working fine.....
              My Requirement is :
                   1. I want to display the approval page directly when i click the URL link from mail box.--i am getting this .. No issues..(Got the URL link from function module)
                   2. After opening the approval page when i click URL link, when i click the reject button-- i am getting the error "The following Error Text was processed in the system GR2."Access via NULL object reference not possible"
                   3. How to proceed the this URL link without error .. the URL link is
    https://abd00093.de.abb.com:8200/sap(bD1lbiZjPTIwMA==)/bc/bsp/sap/zhrrcf_approval/application.bsp?objid=50003421&otype=NB&plvar=01&requestdate=20090121&requestedRsnCode=01&requestedstatus=1&requester=USRECRUITER1&SAPWFCBURL=https%3a%2f%2fabd00093%2ede%2eabb%2ecom%3a0000000000008200%2fsap%2fbc%2fwebflow%2fwshandler%3f_sapwiid%3d000000018491%26_saptask%3dTS51807979%26_saplogsys%3dGR2CLNT200%26_sapuname%3dLINEMANAGER%26_saplangu%3dE%26sap-client%3d200
    ( I got this URL directly using my own function module.. In this function Module i was not getting the SAPGUID -- the error is because of that i am not sure..)How to get this sapguid dynamically..
                    Please guide me to proceed this req asap..
    I am waiting for your reply ....Please
    Thanks and Regards
    Mohan,P

    Please have BPEL loggers both at domain and system level to DEBUG mode. Set all loggers to DEBUG as you are interested to see the entire sequence flow..however, some loggers give you unnecessary info ;/ apart from cube, activation, delivery, dispatch, persistence.
    Added to this, you might want to try SOAPUI, Fiddler, HTTP Analyzer.

  • BSP Page validation through ABAP in EventHandler

    Hello Experts,
    I am new in BSP Application.Kindly help me.
    I have created a page through HTML code, now I have to validate input fields through ABAP code instead of JAVASCRIPT.
    Can I do it in EventHandler.
    If yes then please let me know with some examples.
    Regards,
    Ankur.

    Hi anukur,
    Ok, Let me show you one example which i have done ok,may be that may help you out.
    layout  page is
    on input processing
    event handler for checking and processing user input and
    for defining navigation
    DATA:
    w_event TYPE REF TO cl_htmlb_event,
      w_obj TYPE REF TO object,
      w_carrid TYPE REF TO cl_htmlb_inputfield,
      r_carrid TYPE RANGE OF sflight-carrid,
      r_id LIKE LINE OF  r_carrid.
    CALL METHOD cl_htmlb_manager=>get_event
      EXPORTING
        request = runtime->server->request
      RECEIVING
        event   = w_event.
    CASE w_event->id.
      WHEN 'get'.
        CALL METHOD cl_htmlb_manager=>get_data
          EXPORTING
            request = runtime->server->request
            name    = 'inputfield'
            id      = 'carrid'
          RECEIVING
            data    = w_obj.
        w_carrid ?= w_obj.
        w_scarrid = w_carrid->value.
        w_input = w_scarrid.
        CLEAR: w_obj.
        IF w_scarrid IS INITIAL.
          page->messages->add_message(
      condition = 'w_id1'
      message = 'Enter carrid value'
      severity = page->messages->co_severity_error ).
        ENDIF.
        IF w_scarrid CA '0123456789~!@#$%^&*()_-+='.
          page->messages->add_message(
            condition = 'w_id2'
            message = 'Enter a valid carrid'
            severity = page->messages->co_severity_error ).
          exit.
        ENDIF.
        IF w_scarrid IS NOT INITIAL.
          TRANSLATE w_scarrid TO UPPER CASE.
          IF w_scarrid IS NOT INITIAL.
            r_id-low = w_scarrid.
            r_id-sign = 'I'.
            r_id-option = 'CP'.
            APPEND r_id TO r_carrid.
          ENDIF.
          SELECT carrid connid fldate price seatsmax seatsocc FROM sflight
    INTO TABLE t_flight WHERE
      carrid IN r_carrid.
          IF sy-subrc = 0.
            fl_flag = 1.
            EXIT.
          ELSE.
            page->messages->add_message(
            condition = 'w_id'
            message = 'No record exist '
            severity = page->messages->co_severity_error ).
          ENDIF.
        ENDIF.
    ENDCASE.
    Edited by: Bhavana Amar on Mar 19, 2010 8:35 AM

  • 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.

  • Field value on BSP Page

    Hi,
          I have a requirement to show previous entered values in an input  field on BSP Page. for example suppose I enter value '0998' in an input field say 'XYZ'  and then I close or refresh the browser. again i open the page in browser and click the input field then system should suggest me the previous entered value i.e. '0998'.   does anyone have idea how we can do it?
    Regards
    Amit kumar
    Edited by: amitku1201 on Jan 8, 2010 12:19 PM

    Hi Amit,
    I saw your code..
    <htmlb:form id="Form1" method="POST" autoComplete = "TRUE">
    <bsp:findAndReplace find = "ON" replace = "ON">
    In the link I provided
    <bsp findAndReplace find = "off" replace = "on">
    I dont see the closing tag
    </bsp:findAndReplace>
    anywhere in your code.
    The tag should be not used immediately after the FORM tag instaed it is used just before the tag for particular element.
    Like in your case if you want to used it for the inputfield i_case , it should be done as
    <bsp findAndReplace find = "off" replace = "on">
    <htmlb:inputField id="i_case" value="<%=i_case%>" type="string" maxlength="12" width="100"/>
    </bsp:findAndReplace>
    The inputfield tag will be used between find and replace tags.
    I hope this will help you solve the issue.
    Regards,
    Anubhav

  • How to return values from a BSP page to Javascript

    Hi All,
    I want to call a BSP page which reads a single value from a table and returns that value I want the Javascript in the HTML code to get the value from the BSP page.
    Can you kindly let me know how I can return the value from the BSP page to JavaScript.
    Kindly please provide me a simple code of a BSP page and the Javascript
    Thanks
    Karen

    Hi,
    you need 3 elements to make the javascript code read the value in any field in the table: table´s name, line and column. This is how your code could look like:
    script language="javascript>
       var row = 0;
       function display(){
          row = row + 1;
          campo = 'tabla1_' + row + '_4';                 " <-- table, line, column
          valor = document.getElementById(campo).value;
    </script>
    ROW works as a counter. You have in variable valor the value of the field and can do with it what you want, perhaps display it with ALERT. I am reading the values from field 1 to n in column 4 in table TABLA1. Pay attention to the '_' in the concatenation of field´s name. The table in my BSP is very simple:
    <htmlb:tableView id                = "tabla1"
                           table             = "<%= mytable %>"
                           width             = "100%"
                           allRowsEditable   = "X"/>
    and somewhere I must call function display in my javascript code:
    <htmlb:button  id="boton" text="Texto aqui" onClientClick="display()" />
    So, give it a try.

Maybe you are looking for