Reading Application Parameter

Dear Experts
How can I read the application parameter that is avaliable in url in a webdynpro java application pleas help me out in this issue
Regards
Noel

Hi Noel,
You can use the following code to get parameters from an URL
IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
IWDRequest request = protocolAdapter.getRequestObject();
String paramValue1 = request.getParameter("urlparamname");
urlparamname is the name of parameter in the URL.
Thanks n Regards,
Jhansi Miryala

Similar Messages

  • Read URL parameter of my webDynpro application ?

    Hi,
    How to read the URL parameter of my webDynpro application from within the webDynpro Application code ??
    Example : My application URL is : "http://ldai99wdd:50000/webdynpro/dispatcher/local/target/TargetApp?SAPtestId=38
    &sap-wd-resumeurl=http%3A%2F%2Fldai99wdd%3A50000%2Fwebdynpro%2Fdispatcher%2Flocal%2Fplugs%2FTest%3Fsap-wd-cltwndid%3D1c175200265c11ddc21900300571b288%26sap-wd-appwndid%3D1c175201265c11ddaa3a00300571b288%26sap-wd-resume%3Dtrue"
    I want to read the Parameter sap-wd-resumeurl.
    Regards,
    Mahesh

    Hi,
    You can use the following code to get parameters from an URL
    IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
    IWDRequest request = protocolAdapter.getRequestObject();
    String paramValue1 = request.getParameter("<URL Parameter name>");
    Re: Web Dynpro URL-Invocation with umlauts (like %FC) in the url
    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/be65751c743959e10000000a1553f6/content.htm
    Thanks n Regards,
    Jhansi Miryala

  • IView Property: application parameter

    Hello,
    I have a question regarding the iView property "application parameter": how can I set several application parameters?
    For example: first parameter useractionid=UAUSER; second parameter application=V01 - how can I seperate these parameters? with blank, with comma and blank or only comma, semicolon and blank or only semicolon, or anything else?
    Thanks
    Steffi Gründemann

    Hi Steffi,
    In the application URL, you can add the required parameters. First parameter followed by '?' question mark then '&' (only AND symbol). See the example below:
    http://host:port/testApplication?useractionid=UAUSER&application=V01
    Regards,
    Satya
    [Pls reward points if helpful]

  • Activating explanation function with application parameter

    Hello,
    I found in documentation that it's possible to activate explanation function (mouse over) with url parameter sap-explanation=X. Is it also possible to activate explanations with application parameter, application configuration or GLOBAL_SETTINGS?
    Thanks and regards
    Marc

    I remember that JSF provides no support for accessing the indexed values as I right understand you.

  • Change application parameter during runtime

    Hello,
    I have a WD application that expects a parameter: system_name.
    The parameter is defined in the application parameter field and is correctly interpreted by the handledefault function of the startup event default.
    The handledefault event handle sets a context parameter mdm_system_name to the value of this input parameter.
    On the other side,
    I have an input field, where the context parameter mdm_system_name can be changed by the user.
    I would like to change the application parameter value in the URL , whenever the input field value has changed.
    Do you know whether this is possible?
    kind regards,
          Sahla

    Yes,you can.Just assign the new source to the source property of swfloader.

  • Reading Application ID in WD ABAP application

    Hi All,
            I have three Application ID's ID1, ID2 and ID3 and i set this in my URL which i make use of to call this application which in turn sets application parameter value, may i know how i can read this ID in my view ?
    Regards,
    Anoop

    Hi Anoop,
    You could transfer the value using the context. There are two different options possible:
    (a) Create a node at the component controller and map it to your window and view.
    (b) Create a node at the window, declare a controller usage at the view and map the node into the view.
    Best regards,
    Thomas

  • Set Application Parameter for Table

    Hi all,
    Can anyone explain me how to set application parameters for a web dynpro application. Is is embedded in an iView in Portal.
    I want to set the parameter WDTABLENAVIGATION to SCROLLBAR. I cant find it under Application properties.
    Thanks

    Florian,
    Please see [this document|http://help.sap.com/saphelp_nw04s/helpdata/en/7b/fb57412df8091de10000000a155106/frameset.htm] and [this thread|Re: Scrolling in tables using Mouse scroll button;. I'm not sure whether WDTABLENAVIGATION application parameter is available in Web Dynpro Java but it is available in Web Dynpro ABAP for sure.
    Hope this helps.
    Vishwas.

  • WI_ID parameter in Application Parameter in webdynpro component using class

    Hi All,
    I want to use WI_ID parameter in Application Parameter in my webdynpro component.
    And i am using class instead of BOR.
    I used this with BOR earlier, but can any one let me know that how to do the same if i am using class.
    Currently i created one parameter as WI_ID in my application parameter, and try to read that in my HANDLEDEFAULT method of windows, i created importing parameter as WI_ID also in HANDLEDEFAULT method.
    but still not getting any value in this parameter.
    How to set this parameter.
    Thanks,
    Amar.

    Hi,
    What is actually your question? Are you trying to get the WD application to work with UWL?
    If this is the case, then just make sure first that the wd application parameter works without the UWL. This should work just like you are doing - importing parameters of the handle default method. Make sure that the parameter works. Test it with launching the WD application with browser <application_url>&wd_id=12345. If you are not getting this working, u should ask it from the WDA forum.
    Then if the question is about how to configure the parameter with UWL, you need to configure it a bit differently with BOR. But maybe you should post your XML here to see what is wrong.
    Regards,
    Karri

  • Application Parameter not getting Refreshed when testing in another client

    Hi,
    I have created a WD application in development client 150 and the application has import parameter WORKITEMID. I am getting this value in the startup input plug-in. I am calling this application in the workflow as a activity step. For unit testing purposes I am defaulted the import paramater value to a 000546578. When I put a breakpoint in the startup method, I am able to get the value of WORKITEMID as 000546578. Once I have completed my application I have changed the defualted value to 000436477 and now I am trying to test in testing client 140, and in debugging I am able to stll 000546578 not the newly defualted value. This is happeening only in testing client.
    When I debug and see the client 150, I am able to see the new value, but in client 140 still the old value is showing up at run-time when I test the application. But on the application parameter tab the new value is visible. Only the prb is at run-time its still picking up old value.
    I am new to ABAP WD stuff.  Can anyone help me out how to resolve this issue.
    With Regards,
    Sreekanth

    Try using: weblogic.refresh
    http://edocs.bea.com/wls/docs61/webapp/deployment.html#149386
    Cheers
    mbg
    "Santosh Sahadevan" <[email protected]> wrote in message
    news:3ef55cba$[email protected]..
    >
    Hey all,
    We are developing an application in which the development enviornmentwhich we
    have recieved from the clients ,(configuered bythe clients) which is sameas that
    of the production env.
    The web application is running in a cluster in a weblogic 6.1 env . Whenwe trying
    to change the JSP, it doesnt get refreshed. We have to explicitaiilychanging
    the jsp at the .wlnotdelete dir created , to take its changes . But as weknow
    thats a temp place holder for the application .
    Since we are team of 20 developers it becomes a real pain when weexplictially
    try to stop and restart the server , just for changing a jsp.
    Do we have a solution for the same.

  • Reading URL Parameter

    Dear Experts
    I have created a webdynpro ivew, and added a Quick link to it and added to the workset. So that I can acccess the ivews form URL. I need to pass the URL paramenter also
    like
    http://<Server Name>:<portNumber>/irj/portal/Quick link?param1=Value, Now I need to read the param1 value in my Webdynpro code.
    When i set the value in Application parameter I was able to get the value using the following code
    path=WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("path");
    My Question in how to get the value which is given in URL parameter
    Regards
    Noel

    Hi
    I think the code that you mentioned should works. I observe one thing that in getParameter you mentioned path as an argument. You need to mention the application parameter name.
    Also, if you run the webdynpro application standalone you will not get its iView application parameter. You should only run the iView in portal or in preview mode to get the desired value.
    Following code can help you in listing down all the application parameters that a webdynpro iview can contain. If you mentioned your parameter it will display the same too:
              Enumeration enum =
                   WDProtocolAdapter
                        .getProtocolAdapter()
                        .getRequestObject()
                        .getParameterNames();
              for (Enumeration e = enum; e.hasMoreElements();) {
                   wdComponentAPI.getMessageManager().reportSuccess(
                        "iView Params::" + e.nextElement());
    Coming back to your problem, suppose you have application parameter set as ivuParam  then you can get its value as
              String ivuParam =
                   WDProtocolAdapter
                        .getProtocolAdapter()
                        .getRequestObject()
                        .getParameter(
                        "ivuParam");
    Hope this helps.
    Abhinav

  • Application Parameter sap.suspendable.application

    Hello
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/102ed591-62a6-2910-94ac-e6038ef7b76e |https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/102ed591-62a6-2910-94ac-e6038ef7b76e] describes that the application parameter sap.suspendable.application defines a Web Dynpro application explicitly as suspendable is to define a specific application property named sap.suspendable.application. Possible values are true or false. Not defining this parameter means that the application is not suspendable.
    This works fine for Web Dynpro Java applications but seems not to work for WD ABAP applications. Is this correct? Does seomeone of you have the same experience or an alternative?
    I found this alternative: [suspend & resume calls|http://help.sap.com/saphelp_nw04s/helpdata/en/45/19bf8c16f25d7ae10000000a11466f/frameset.htm]
    Greetings, Mathias

    -

  • BPC JRN_VALIDATION_SP application parameter

    Hi there,
    Does anyone ever used this application parameter to do a custom check on journal entries before posting? I've coded a simple SP in SQL on order to check this parameter but its not called when the journal is posted.
    Any ideas??
    Thanks in advance,
    Carlos

    Hi,
    Thanks for your answer but yes, that was one of my first tests.
    Any experience on that?

  • Unable to load ITUNES onto PC HP, windows 7 Home Version.  Error message reads "Application Application Support not found".  "Unistall and reload".  I have done that 4 times on Explorer and Firefox without success.  Help??

    Unable to load ITUNES onto PC HP, windows 7 Home Version.  Error message reads "Application Application Support not found".  "Uninstall and reload".  I have done that 4 times on Explorer and Firefox without success.  Help??

    I had gotten a similar problem, except with "provider services", i believe, but i solved it by copying sqlite3.dll from E:\Program Files\Common Files\Apple\Apple Application Support to E:\Program Files\Common Files\Apple\Mobile Device Support. doing that solved my first problem, but now i have been getting the error described in this topic (unable to load dataclass info... etc.). i tried reinstalling itunes (i already had 9.1.1, and thats what i reinstalled) by using the method described on apples site (using the "remove programs" tool in the control panel) and then downloading and installing itunes. when i opened it again, i still got the same error, and just now i got an error saying "the instruction at "0x00aadb6b" referenced memory at "0x00000008". the memory could not be read" it gave me the option to cancel and debug, or to press ok and terminate the program. I tried pressing cancel, and the popup went away but nothing else happened. a minute later the popup was back, so i pressed ok and itunes quit. Upon opening Itunes again, i got the very same error. sorry for the long post, but its really been bugging me. thanks for any help you might give, and if you need anymore info, feel free to contact me.

  • Error while passing Application Parameter in Transaction iView editor

    Dear all
    I am trying to pass some application parameters to one of the transaction iViews. Without passing any parameter in 'Application Parameters' field of the iView editor the iView can be previewed/displayed fine. But when I am trying to pass the parameters as follows <Screen_Parameter1>=<ABC>&<...>=<...> the preview is coming up with a Portal runtime error saying that the <Screen_Parameter1> is an invalid terminal property of the root context_
    Can anybody help me out with this?
    MAQ

    In any application parameter field u need pass screen_field
    u need to find the screen_field value first .
    login to backend ECC server , give u r required Tcode .
    click in  required field , press f1 -> click on Technical setting icon on top .
    in that screen , screen_field is the last field .
    copy  this screen_field value
    place ths screen _field value in application parameter field .
    example : rs38-programm=ztest
    here re38-programm is the screen field
      ztest is it's value .
    & this is used for the separator between 2 values

  • Possible to get application parameter in value help

    Hello colleagues,
    we developed a value help for business partner to use it in an wda-component . in this value help only those business partner should get supplied where the user has a relationship to . to make it really difficult we can not use the backend user (crm) but the portal user . in the component which uses the value help we achieve to get the user via application parameter from the containing iview but as soon as the user calls the value help this context is lost and we can no longer use the application parameter (which is in fact "out" of the iview) to retrieve the user of the application and therefore get a dump.
    Is there a possibility who to get application parameter of a component in a value help called by this component ?
    Thanks in advance
    Michael

    Hi,
    PLease refer to this link
    http://help.sap.com/saphelp_nw70/helpdata/en/88/266a3e54a2e946e10000000a114084/frameset.htm
    You can enter parameter values for certain screen fields for displaying a SAP transaction here.
    This field is optional.
    The parameter values are specified with the following syntax:
    <Screen_field1>=<Parameter1>
    &<Screen_field2>=<Parameter2>
    Thanks
    Pankaj

Maybe you are looking for

  • Can I use more than one database connections in a jdeveloper project?

    I use jdeveloper version 9.0.4.0 (build 1407),Can I use more than one database connections in one jdeveloper project?

  • How can I get pdf files to minimize up into the upper left corner of my Windows 8.1 Pro screen?

    Hi - I have both a laptop and a desktop running Windows 8.1 Pro. When I open a pdf file on my laptop, and I click on the adobe reader icon in my taskbar at the bottom of the screen, the pdf doc is minimized up into the left hand corner of the screen

  • How do I install Ubuntu on Mac?

    I was wondering about Ubuntu and learning more about it. I used Boot Camp once to install Windows 7 Ultimate, but I wasn't satisfied with Windows 7, so I removed it. I thought Windows 7 was really boring and I missed many of the games included with X

  • Trying to understand HD speed ...

    Hi, I am trying to understand what is the real life speed of a hard drive.  I understand that a specific hard drive is limited by it's own specifications (RPM and buffer), by the interface it connects with (SATA 1, 2 or 3), by the enclosure's interfa

  • How can I get GPS modified photos to update?

    I recently took some holiday photos and sync'ed them using iTunes from a particular directory. When viewed in iPhoto -> Places, I found quite a few had not been saved with GPS details. (Since found out my camera takes about 40s to establish its locat