Passing parameter to the URL in UWL

Hi ,
  We are sending the workitem from ECC to UWL and all these works fine.
We have a custom form that opens from the UWL workitem on the click of a button 'Launch URL'  . We need to pass a name into the cutom form while it opens.
We are using the Task visualization in the SWFVISU.
                             Visualization type  = Portal page
                              DYNPARAM          = zname=${item.externalld}.
But the URL opens with a null value. Kindly help.
- Liz

Hi,
please check the following OSS notes;
<a href="https://service.sap.com/sap/support/notes/1015257">Note 1015257 - Need to enter escape characters for direct input in Variable</a>
<a href="https://service.sap.com/sap/support/notes/1062214">Note 1062214 - Errors with direct input in web variable screen</a>
hope this helps...
Olivier.

Similar Messages

  • Receive a parameter in the URL in adf application

    Hello,
    using the sendRedirect to direct control to another adf application, as:
    ((HttpServletResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse()).sendRedirect("some url");assuming that I am pushing parameters to the url, how can I read them in called application !!
    to make the post clearer, assume that I have two adf applications A and B,
    A will redirect the user to B using the sendRedirect method,
    where shall I receive the request to get the parameters or attributes added to the URL !!!
    hopefully I have made the post clearer so that you can help !!
    appreciated, thanks in advance.
    rgrds,

    For passing parameters to another ADF application, we could use as a parameter as part of the request parameter of the URL as mentioned in
    http://blogs.oracle.com/shay/entry/passing_parameters_to_adf_appl
    For reading the parameters in the another application (assuming CurrentDepartmentName is the parameter) ,
    HttpServletRequest request =
    *(HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();*
    String strvalue = request.getParameter("CurrentDepartmentName");
    Thanks,
    Navaneeth

  • Can I pass variables in the URL string?

    I am trying to get some variables into a loaded swf at
    runtime. The variables will carry information so the swf can load
    the correct xml file. I thought we could pass them through the URL
    string like so:
    new URLRequest("testing.swf?myVar=varOne
    but it just throws an URL cannot be found error. How can I
    get variables into my swf at runtime?

    What you are doing is fine. But you will always get that
    error when testing
    the movie (Ctrl+Enter). Try it in a browser and it should
    work.
    BTW, another way of doing the same is to use a URLVariables
    object, like so:
    var req:URLRequest = new URLRequest("testing.swf");
    var vars:URLVariables = new
    URLVariables("myVar=varOne&myVar2=varTwo");
    req.data = vars;

  • How to pass parameter to the Query String of the Named Queries'SQL

    Firstly to say sorry,I'm a beginner and my English is very little.
    Now I want to know
    How to pass parameter to the Query String of the Named Queries'SQL in the Map editor.
    Thanks.

    benzi,
    Not sure if this is on target for your question, but see #5 in the link below for some web screencasts that show how to pass an input text form field value to the bind variable of a view object. If you're looking for something different, maybe provide some more details such as what you are trying to accomplish and what technology stack you are using - for example, ADF BC, JSF, etc.
    http://radio.weblogs.com/0118231/stories/2005/06/24/jdeveloperAdfScreencasts.html
    Also see section 5.9 and chapter 18 in the developer's guide.
    thanks

  • How to pass and fetch multiple parameter in the URL of the Web Dynpro

    Please help me to fetch parameter in runtime from the URL in web dynpro allication. Like
    MyApplication?SAPtestId=Arun?SAPtestId=Kumar?Test2=Jaiswal;
    I want to fetch the value of the SAPtestId, Test1 and Test2 in the web Dynpro Application.
    Please help me on this asap. thanks

    Hi Arun,
    Passing parameter to a wen dynpro application is done throught default inbound plug, which exist in interface viewcontroller
    and you can access those parameter in implementaion of default inbound plug
    To pass parameter
    If MainWin is your main window of application then
    1.in MainWininterfaceview controller add parameters in default inbound plug.
    To access these parameter
    1. In implementaion of MainWininterface view right a code to access these parameter
    2.Store these parameters  in controller context, so you will be access it from any screen
    as
    public void onPlugDefault(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String SAPtestId )
        //@@begin onPlugDefault(ServerEvent)
    set  your controler context with SAPtestId
    //@@end

  • Reading a parameter from the URL

    Hi,
    There is a custom OA page that I launch from another isupplier form. The custom OA page is supposed to query only details of the purchase order. I have taken the following approach but am unable to capture the parameter.
    on the source form, i have personalized the po number column to include an URL with OA.jsp?page=/../../../TestPG&PoHeaderId={@ICX_HEADER_ID}
    in the custom page, I write a code
    //PoHdrId = "2346";
    String PoHdrId = pageContext.getParameter("PoHeaderId")
    I cannot read the parameter and i am hard coding this to make my custom page query for a particular PO number.
    Appreciate a quick response.
    Regards,
    Jagan

    Hi Ram:
    I have the similar problem.
    I added a new Button thru' Personalization to the View Purchase Orders Page of iSupplier module.
    In the destination URI of the newly created button I gave,
    javascript:var print_window = window.open("http://server:port/OA_HTML/myJSPPage.jsp?PoNum={@PoNum}")
    Before cliccking the button when I checked the properties of the link, it is not well formed. (i.e The Parameter {@PoNum} is shown as it is. The value is not substituted.)
    When I Click the new button it is calling the custom jsp page, but not passing the PoNum parameter value instead it passes {@PoNum} string.
    Please help me ASAP.
    Thanks,
    San

  • Why do I get this error when specifying a parameter from the URL?

    Hello,
    I am trying to "install" a parameter in a page, so that it's value can be specified in the URL and a VO updated according to this value.
    Here's is the page definition file, with an executable and a binding to a method call:
    <executables>
    <invokeAction Binds="prepareMainMenuView1" id="invokeQuery"
    Refresh="prepareModel"/>
    </executables>
    <methodAction id="prepareMainMenuView1"
    InstanceName="AppModuleDataControl.dataProvider"
    DataControl="AppModuleDataControl" RequiresUpdateModel="true"
    Action="invokeMethod" MethodName="prepareMainMenuView1"
    IsViewObjectMethod="true">
    <NamedData NDName="param" NDValue="#{param.root_menu}"
    NDType="java.lang.String"/>
    </methodAction>
    if I run the MyMenu application with:
    http://127.0.0.1:7101/MyMenu-ViewController-context-root/faces/menu?root_menu=anything
    then I get this exception:
    ADF: Adding the following JSF error message: String index out of range: -1
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    Do you know why? Where do I fail?
    I followed the isntruction here:
    http://www.jasonsdevelopercorner.com/?p=65
    So far I have not been able to read a parameter in a way, do you have any example on how can I use parameters from URL from within a single page in an unbounded task flow?
    I worked all the day on this, but with no luck.
    Thanks

    I solved the problem. The invoked method was not part of the VO, but was part of the AM.

  • Passing parameter to the i18n text from xml view in fiori app

    Hi,
    Could somebody let me know how to pass parameter to get the i18n text inside xml view of a Fiori app.
    For e.g. inside my i18n properties file i have a entry like:
    PEC_ISSUE={0}issues of total{1}
    inside xml i use it like {i18n>PEC_ISSUE}
    but now how do i pass those 2 parameters to this ??
    i know in javascript it works with , (comma) but does not work in xml. Any help...
    Thanks,
    Ashish

    Hi Michele,
    I found it. Below is the example from my coding.
    <Text      text="{parts: [{path: 'i18n>PEC_to'}, {path: 'promoprocsteps>RetailPromotionSalesFromDate_E'},
                                                           {path:'promoprocsteps>RetailPromotionSalesToDate_E'}],
                                                           formatter: 'retail.promn.promotioncockpit.utils.Formatter.formatDatesString'}"  />
    So you have to create a formatter and pass all the strings to the formatter and then do it inside JS.
    In JS you do it in this way:
    i18n.getText(i18String, [newString, string2]);
    i hope this helps.
    Regards,
    Ashish

  • Can the parameter in the url be invisible?

    hi,
    I want the parameters in the url to be invisible. That is if the url is
    http://localhost:8080/index.jsp?create=12 , so in the url bar it has to be displayed like
    http://localhost:8080/index.jsp. But the parameters should not be displayed. Is it possible?
    If possible how? Can you send the code?
    Thanks in anticipation
    Deepa Datar

    Greetings,
    if the username & password is right the user has to be
    redirected to the index.jsp page, where the usernameHow are you "redirecting", with sendRedirect? This method adds an HTTP 'Location' header to the response which instructs the browser to "fetch the response" from the given URL (including parameters, if any). Unfortunately, the browser uses a GET request on the next resource so, "no", its not possible to make the (GET) parameter(s) invisible - this is a limitation of the HTTP protocol. However, it seems what you really want in this case is not to "redirect" but to "dispatch" the request. Request dispatching allows your servlet to forward the request to, and/or include responses from, another resource on the same server without the overhead of redirecting the client. Additionally, the original request and response objects are maintained which can be modified with additional ("invisible") attributes:
    // In service thread...
    request.setAttribute( "client", "12" );
    RequestDispatcher rd = request.getRequestDispatcher( "index.jsp" );
    rd.forward( request, response );I hope this helps.
    Can any one help me out? Its actually urgent.
    Thanks in anticipation
    Deepa DatarRegards,
    Tony "Vee Schade" Cook

  • How to handle oas parameter in the URL

    Hi,
    I am very curious about the oas parameter in the next URL how to form the value:
    OA_HTML/OA.jsp?_rc=<..._LAYOUT>&_ri=275&addBreadCrumb=RS&<...Id>=<param_value>&_ti=2094430068&oapc=3&oas=l305LKdSwzg9iJqy8q00ew..
    If I use String createURL() or setForwardURL() then I can make some value for oas parameter. My issue is that the by these methods made values are not correct I would like to manage this value by myself. How can I manage this value, put, set, get anywhere?
    Thanks in advance,
    Cafer

    Hey,
    Thank you all for your replies. Actually i forgot to say something to you professionals,
    In my Pc, already, i have Oracle Web server which listens to 80, thats why for tomcat itlself i set 8084
    as port number at the time of installation, since giving 80 failed to run. Without keeping this in mind, i blindly
    changed the port 8084 into 80 in server.xml file, stopped and while starting i get " *The port 80 is already in use*"
    Is there any way to skip this 8084?
    i use tomcat 6, Waiting for your suggession!
    Thanks ,
    SRI.

  • How to pass parameter to the method in EJB session bean from Managed Bean

    Hi,
    I need some guidance in accessing the EJB session bean methods from one of my backing Bean. I use EJB 3.0 Entity Beans and EJB Session Beans. I have to get value from my page and pass it thro the backing bean to the respective EJB session bean. I have no clue of how to do this,
    When i click a command link on the page, in its backing bean click method, i am able to get a value and store in a variable under its click action. But from there i am not knowing of how to pass it as a variable to the EJB session bean and hence execute the query(this is where we have to pass the variable as a parameter in its where clause) in the entity bean.
    I wanna know how to make a call to the EJB session bean and from there execute the Enitity bean.
    Guide me regarding this....
    Thanks
    ri

    Unfortunately dependency injection doesn't work for jsf backing beans, so you have to use a normal jndi lookup to find your session bean. The following example shows you how to find a session bean and call a method:
    public void commandButton_actionListener(ActionEvent actionEvent) {
    Context ctx;
    try {
    ctx = new InitialContext();
    helloWorldEjb = (HelloWorldEJB)ctx.lookup("HelloWorldEJB");
    hello = helloWorldEjb.sayHello(name);
    System.out.println(hello);
    } catch (NamingException e) {
    e.printStackTrace();
    }

  • Launching a page by passing parameters in the URL

    My app has a page sentry function that sets the APP_USER using the Apache mod_ntlm module to the Windows domain user. I check security for each page in a custom table that I maintain.
    If I try to launch a page by passing parameters in the f?p= URL like
    f?p=100:1:::::P1_ID:10
    since I dont have a session yet, the page sentry generates a session for me and redirects to the page (100:1), but I lose my parameters (P1_ID)
    How can I preserve the entire URL in this case?
    Thanks

    I modified the page sentry function like you suggested.
    Launched f?p=102:51:::::P1_ID:1234
    This got redirected to
    f?p=102:51:2458638498649564102
    My debug table has 8261051781657854662
    When I inspected session state for 2458638498649564102 using Workspace XXX>Manage Workspace>Session State Management>Recent Sessions>Session State
    it had no entry for FSP_AFTER_LOGIN_URL. All it had was
    -      -      -      1:15:0:0
    -      -      -      1:15:0:0
    -      -      -      1:15:0:0
    -      -      -      1:15:0:0
    There is no entry for 8261051781657854662
    Thanks for your continued help. Appreciate it.

  • How to pass array in the url of the servlet

    Hi Friends,
    How can i pass an array in the URL that calls a servlet. For instance,I have this in my servlet rite now:
            MyClass obj = new MyClass();
            String[] args = {"-opt1","-opt2","file1","file2","file3"};
            obj.main(args);I want that the "args" should come in the URL call,because some php application would be calling this, for instance:
    http://localhost:8080/MyProject/MyServlet?args=somearray
          MyClass obj = new MyClass();
          String[] arg = request.getParameter("args");
          obj.main(arg);Please help..I would really appreciate it.
    Thanks

    Sorry,needed to edit this,I am getting some problem,please help if you can:
    I call the java class from the servlet as shown above,and it executes fine but only for the first time...after that the tomcat automatically shuts down .....can someone explain me why????
    How can i get the execution control back to the servlet ..for example:
      System.out.println("Before execution..");
      MyClass obj = new MyClass();
      String[] arg = request.getParameter("args");
      obj.main(arg);
      System.out.println("After execution..");prints only "before execution..."..so can someone please tell me how can i bring the control back to the servlet...
    Thanks
    Message was edited by:
    java80

  • Passing parameters to the url which navigates to oracle applications

    Hi All,
    My requirement is i need to display a link in the email message, so that user can click it and can navigate to a form in oracle applications.
    The link will be like http://shine.apps.com/function_id=670&language=US etc
    I am able to display the form which the user wants, but they want the form to be queried with a value. so can anyone help me to how to pass parameters to the above url.
    Thanks in advance
    Srinivas Dodla

    I achived the same thorugh workflow. In the workflow define a attribute of type form and then pass the formname, applicaiton name, resp name and any other form parameters to it.
    You can mix forms personalization to achive best results.
    Thanks
    Prudhvi
    www.erpschools.com

  • Passing parameter to the external process like notepad, calc etrc.

    Dear Experts,
    Can anyone help me, to find out how can we pass the value parameter, during calling external process like Notepad, Calculator etc.
    I want to fetch other data related to the parameter from the other ERP.
    Eg. If I pass 'Hi ' as a parameter, then I want to print this text into the Notepad.
    Please help.
    Thanks  in Advance
    Kedar
    Edited by: Kedar Paranjape on Jan 30, 2012 4:08 AM

    Hi Kedar,
    Welcome to SCN.First check whether is any rfc available for this or not.You can use GUI_RUN to call from sap.
    Regards,
    Madhu.

Maybe you are looking for

  • Can not install device driver in Windows 8.1

    I can not install driver of my webcam(Odyssey OD 202) windows 8.1 (upgraded from windows 8) The USB webcam is shown in Device manager. When I attempt to update driver and search for it automatically it shows the following message.

  • I need help with this script please ASAP

    So I need this to work properly, but when ran and the correct answer is chosen the app quits but when the wrong answer is chosen the app goes on to the next question. I need help with this ASAP, it is due tommorow. Thank you so much for the help if y

  • How many domains can Prime Collaboration Advanced manage with the BE6000?

    The BE6000 Administration guide states that "Most BE6K deployments have a single domain as part of a Standard Prime installation. Multiple domains are available with Prime Collaboration Advanced (available for purchase) that can be used for complex B

  • IPod Nano frozen in "on" state

    My 4GB iPod Nano is stuck "on" right now. The LCD backlight is on, and it's stuck on a frozen screen of a song in mid-play. None of the buttons respond, and plugging it into the USB port doesn't work either. The "toggle hold switch and press & hold m

  • For Migration: Staffing of existing Roles with Distribution

    Hi, As a part of Migration, we are trying to use a Report for Uploading Staffing data. The roles are having Distribution. We are trying to use BUS2177staffingadd BAPI which works only if Start and End dates are same as that of Role. We are planning t