Fetching details from the URL Link

Hi Experts,
I need a help on the webdynpro, for capturing few details from the url used to call the webdynpro application.
My client has designed the scenario such that,
They have designed thier intranet in dotnet. For accessing the webpage designed, the user has to provide his Employee ID and name.
On accessing the webpage designed for him, he has few webdynpro URL links assigned to him that he can access.
On clicking the link, the Webdynpro application is called for doing the transaction.
Now the requirement is that, for calling the webdynpro application the client is passing the Employee name, Employee ID and the IP address of the thin client system, through the URL link generated by the dotnet framework.
Now I need to know the way how to capture these details into the webdynpro application?
hereby am providing the sample URL by which they pass the values.
http://abcde.industries.co.in:8000/sap/bc/webdynpro/sap/zwda_MB51?uid=1283265&empname=RAMESH KUMAR&tcode=MMBE&ip=192.168.45.118
Kindly provide me the possible solution.
Regards,
Vijaysankar.V

Dear Vijay,
           In your case , your application url parameters are like UID,NAME, IP, & TCODE.
           U Can write a method and fetch all these parameters as i shown below:
data: uid type string.
data: name type string.
data: ip type string.
data: tcode type string.
uid = wdr_task=>client_window->get_parameter( 'UID' ).
name = wdr_task=>client_window->get_parameter( 'NAME'' ).
ip = wdr_task=>client_window->get_parameter( 'IP' ).
tcode = wdr_task=>client_window->get_parameter( 'TCODE' ).
Thanks,
Saurin Shah

Similar Messages

  • FM for fetching file type by providing the URL link for file.

    Hi All,
    We have a requirement to fetching file type of image viz .jpg,.bmp,.tiff by providing the URL link to image.
    For example
    http://AttachmentWebsite/AttachmentWebsite.aspx?Num=ATT-F19220090818095048&Ext=.JPG&RC=N
    Is there any FM to fetch file type from link.
    regards,
    Nitin
    Edited by: Nitin Sikka on Aug 20, 2009 8:35 AM

    diff URLs. but if they contain the pattern "EXT*=.<extn name>" then the above code will work
    else you have to search for all formats.
    data:res type MATCH_RESULT,
    DATA : s1 type string VALUE 'http://go2ntlweb14/AttachmentWebsite/AttachmentWebsite.aspx?Num=ATT-F19220090818095048&Ext*=.JPG*&RC=N '.
    FIND first OCCURRENCE OF REGEX '.(JPG|TIFF|PNG|JPEG|BMP)' in s1 RESULTS res.
    if sy-subrc is INITIAL.
    SHIFT s1 by res-offset PLACES.
    endif.
    WRITE : s1+0(4).

  • HT1937 how do i find the url link from a video i recorded on my ipod

    I recorded a video on my ipod touch and i have to send it in to the radio station. All they want is the url link but for the life of me i can't find it on my ipod or when i uploaded it to the computer.

    When you connect your iPod to iTunes and select it from the device pane, does it not show the capacity and amount of space being used by music, videos, and apps?
    You do not have to sync your entire library to your iPod, you can selectively control what does and does not sync.
    No device has the exact stated capacity, this is not specific to iPods.  There is always overhead that must be accounted for in the operating system running the device.  Also, every hard drive is unique in it's capacity.... could you imagine the disaster of marketing if every package had to accurately (to the byte) reflect the capacity of the device? 

  • How to get the view link definition from the view link accessor

    Hi,
    I am using Jdev 10.1.3 and ADF BC. I am trying to do deep copy in a master/details view, after the new child record is created, I want to update the foreign key attribute. I know I can get the list of attribute definitions from the row in the view object, which include the view link accessors, I am wondering if I can get the view link definition from the view link accessors, so that I can get the source and destination attribute names.
    Thanks!

    Hi,
    you should get this through
    ViewObject vo = this.findViewObject("LocationsView1");
    int indx = vo.getAttributeIndexOf("DepartmentsView");
    ViewAttributeDefImpl vAttrDefImpl = (ViewAttributeDefImpl) vo.getAttributeDef(indx);
    ViewLinkDefImpl vdefImpl = (ViewLinkDefImpl) vAttrDefImpl.findViewLinkDefImpl();
    Note that this code starts from the ApplicationModuleImpl class, which is why I used this.findViewObject().
    Frank

  • Yahoo is my home page and News, Sports, Business links now shows a few sentences after each main URL link. How do I put it back to show just the URL links?

    Yahoo is my home page and News, Sports, Business categories/links changed and now shows a few sentences after each main URL link/topic. How do I put it back to show just the URL links/topics without having to scroll down and down the page. All the extra sentences after the links causes too much scrolling to view the topics.

    Those steps did not solve my problem. Here is an example of what I see although it's not exact copy/paste. All I want to see are the links but I get all the verbiage after the links
    Firefox 17.0.1 version
    ''' '''Ask Stacy: How Can I Rebuild My Credit?''''''
    Here’s a question familiar to millions of Americans… Stacy, My wife and I recently filed for bankruptcy due to high medical bills we were unable to pay. We purposefully didn’t add our Wells Fargo credit ...
    Money Talks News
    '''Analysis: High stakes for Cuba in Chavez's cancer battle'''
    HAVANA (Reuters) - As Venezuelan President Hugo Chavez recovers in Havana from his fourth cancer operation, Cubans face renewed worries about their economic future if the country's top ally dies or has to step down from office. Cuba has staked its economic well-being on the success - and generosity…
    41 mins agoReuters
    [$$] Playing FICC or Treat With Bank Investors
    '''Playing FICC or Treat With Bank Investors'''
    The Wall Street Journal
    AdChoices
    '''Cybergeddon
    A digital crime thriller from Anthony E. Zuicker, the creator of CSI. Only on Yahoo!
    And here is what Internet Explore shows: All LINKS below
    '''Molten gold signals mining's return to Calif.'s Mother Lode'''
    '''Century-old fight for Budweiser name hits new snag'''
    '''NRA goes silent after Connecticut school shooting'''
    '''.Authorities: Kansas man who killed 2 cops dies'''

  • How to Get Parameter Values from the URL ?

    Hi,
    I have built a calendar called cal_test. I am calling this calendar with this URL:
    http://.../pls/.../xyz.cal_test.show?p_arg_names=p_sc_id&p_arg_values=2&p_arg_names=_start_date&p_arg_values=FEB-2002
    In the 'Additional PL/SQL Code' tab of cal_test, I need to call a procedure which requires me to pass in as parameters the values of p_sc_id and startdate embedded in the URL named above. How can I retrieve these 2 values from the URL ? Any advice will be appreicated !
    Dorothy

    Hi Daniel
    The following thread might help;
    if not, you could try posting the question in Application Server » Web Dynpro Java
    Thanks
    Kenny

  • HT1918 how can i remove my credit card details from the iphone

    I fed my friends credit card details on my iPhone to purchase some apps, but whenever i am buying anything now on, the system does not prompt and the amount gets deducted from my friends account. Need to know how to remove the credit card details from the account.

    From that HT3702 page :
    If you update your billing information, the iTunes Store or Mac App Store will place an authorization hold on your payment card account, usually in the amount of 1 USD or the local currency equivalent, to verify your account information.
    You might see authorization requests on your online statement. These requests aren't actual charges; they are tests to confirm that your payment card account is active and has available funds to accommodate transactions. Authorization holds are removed by your financial institution shortly after your purchase clears. The time it takes to remove authorization requests varies by financial institution.
    The number of days that it takes to diappear varies by bank, but it's usually a few days - though with the weekend coming up it might take an extra day or two

  • HOw Can I remove faces from the URL

    I know that it's in the web.xml file but as soon as i remove the faces part from the file nothing works. Someone please tell me how to properly remove "faces" from the url. Example http:.//localhost:8080/croot/Page1.jsp
    Thanks in advance

    I know that it's in the web.xml file but as soon as i remove the faces part from the file nothing works. Someone please tell me how to properly remove "faces" from the url. Example http:.//localhost:8080/croot/Page1.jsp
    Thanks in advance

  • How to fetch records from the database into a combo box?

    Hi:
    I&acute;m really new with ABLBPM and I&acute;m trying to fetch records from the database to display them into a combo box as valid values for a presentation but I&acute;m using a dynamic method with this code:
    <em>for each row in SELECT campo1, campo2 from TABLE</em>
    <em>do</em>
    <em>solicitudes[] = [row.campo1, row.campo2]</em>
    <em>end</em>
    <em>return solicitudes
    </em>And the debugger says that SQL instructions can be used only in fuctions and procedures that are executed on the server.
    Do you know another way to do it?
    P.D. Sorry for my terrible english
    Greetings

    Hi Steve,
    Thank you, your idea is perfect, but when I try to run the screenflow where the combo should be filled I get this error:
    fuego.lang.ComponentExecutionException: No se ha podido ejecutar correctamente la tarea.
    Motivo: 'java.lang.NullPointerException'.
         at fuego.web.execution.InteractiveExecution.setExecutionError(InteractiveExecution.java:307)
         at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:166)
         at fuego.web.execution.impl.WebInteractiveExecution.process(WebInteractiveExecution.java:54)
         at fuego.webdebugger.servlet.DebuggerServlet.redirect(DebuggerServlet.java:136)
         at fuego.webdebugger.servlet.DebuggerServlet.doPost(DebuggerServlet.java:85)
         at fuego.webdebugger.servlet.DebuggerServlet.doGet(DebuggerServlet.java:66)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
         at fuego.web.execution.servlet.ServletExternalContext.forwardInternal(ServletExternalContext.java:197)
         at fuego.web.execution.servlet.ServletExternalContext.processAction(ServletExternalContext.java:110)
         at fuego.webdebugger.servlet.DebuggerExecution.dispatchComponentExecution(DebuggerExecution.java:64)
         at fuego.web.execution.InteractiveExecution.invokePrepare(InteractiveExecution.java:351)
         at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:192)
         at fuego.web.execution.impl.WebInteractiveExecution.process(WebInteractiveExecution.java:54)
         at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:223)
         at fuego.webdebugger.servlet.DebuggerServlet.doDebug(DebuggerServlet.java:148)
         at fuego.webdebugger.servlet.DebuggerServlet.doPost(DebuggerServlet.java:82)
         at fuego.webdebugger.servlet.DebuggerServlet.doGet(DebuggerServlet.java:66)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    Any ideas??
    Thanks and greetings

  • How to get the web of document from the URL

    Hi All,
    Need small help here,
    I have SharePoint doc URL as below:
    http://sharepoint.com/sub1/sub2/sub3/documents/TestFile.docx
    Here, TestFile existed in document library of Subsite i.e. sub3.
    If I give above URL as input, I should be able to get "sub3" web.
    How can achieve this programmatically. Overall we should get the leaf web from the URL.
    Thanks in advance.
    Krishnasandeep

    Hi Sanny521,
    The SPSite constructor does not care when you pass in the document library and filename as part of the url. you can use the following code:
    string myFileUrl = "http://sharepoint.com/sub1/sub2/sub3/documents/TestFile.docx";
    using (SPSite site = new SPSite(myFileUrl))
    using (SPWeb web = site.OpenWeb())
    SPFile file = web.GetFile(myFileUrl);
    string webUrl = web.ServerRelativeUrl;
    You pass the full url into the SPSIte constructor, it will retrieve the site collection, then the OpenWeb call will retrieve the proper web from the already passed full url, then you can retrieve the file and the url of the SPWeb.
    Mathieu Desmarais http://www.matdesmarais.com/

  • I want to download an image from the url and image is in byte format

    hi
    i want to download an image from the url
    http://www.tidelinesonline.com/mobile/j2me_v1?reqType=imageJoin&imageCount=1&month=1&day=1&year=2008&id=1&imageWidth=230&imageHeight=216&imageDepth=8&imageUnits=feet&imageType=JPG&msisdn=456
    first 5 digits will be the length of the image,we need to download except first 5 digits and display an image file
    i need to finish this today
    pla reply if any body knows solution for this.
    thanks in advance
    Mraj

    You do not need to do anything - iPhoto always keeps the original and you can revert to it at any time
    If you want to be able to see the original and the cropped version in iPhoto at the same time duplicate the photo (this does not really duplicate but simply starts a new edit stream for the photo - command-d) and crop the duplicate
    LN

  • How to hide the PORT NUMBER from the URL

    Hi,
    We have Application on Node 1 and Database on Node 2
    Apps Version: 11.5.10.2
    DB: 9.2.0.6
    We recently added a new node to act as web server for iSupport.
    Now we are able to access the url using public Ip-address which looks like
    http://<Internet Ip-Address>:<PORT NUMBER>
    Eg: http://******.com:8000
    But we dont want the *'PORT NUMBER(8000)'* to be displayed.
    How to hide the port number ?..
    Thanks in Advance,
    Mahesh

    Hi Hsawwan,
    Can you plz explain me the steps how to hide the port number from the url as our network administrator is not aware of this.
    Regards,
    Mahesh

  • How to retrieve query string value from the URL in my portlet

    Hi,
    When user clicks on "Advance Search", i am redirecting to page in the community. At the same i am adding some more values to the query string (to the URL).
    My URL will look like this.
    http://ctp-mc0149/portal/server.pt?space=CommunityPage&parentname=CommunityPage&parentid=0&in_hi_userid=200&cached=true&control=SetCommunity&PageID=202&CommunityID=200&searchType=2
    Now in one of my portlet in that page, i want to retrieve the query string values from the URL.
    Please help me regarding this.
    Thanks in advance.
    Thanks,
    sreekanth.

    Hi,
    Look at the following threads,
    For programmatically getting the iview properties,
    Programmatically getting iView Properties
    Also,
    Get Properties of IView Programmatically
    Permanent change of iView property programmatically
    Hope these threads help u.
    Regards
    Srinivasan T

  • Eliminating the port number from the URL

    Hi,
    I am using Tomcat server.
    I am accessing my application using the following url
    http://www.myapplication.com:9080/abc
    I wanted to eliminate the " :9080 " part from the url. I s it possible?
    I want the same page to open with the url
    http://www.myapplication.com/abc
    Thanks in advance.

    http://www.myapplication.com/abc
    implies
    http://www.myapplication.com:80/abc
    You would need to change your port from 9080 to 80

  • Webservice​s remove service name and port from the URL

    Hi community,
    so I have a server PC called "superlab"(*) and I also have a webservice called "superlab"(*). Now the users need to enter superlab:8001/superlab to the browser to access the service. I'd like them simply enter superlab.
    So my questions:
    1. how can I remove the service name from the URL
    2. how can I remove the port number from the URL
    3. (not related but I have difficulty to understand what it the point in "publishing" a webservice while simply starting it does the job as well)
    thanks!
    *Not the real name

    Luis,
    Then, as inolau's notice, create logon screen (or use the default one) and force the users to logon at runtime. Do not pass username/password as parameters.
    inolau,
    True that if the connection is specified in the config it will be the same for everyone. However, every case is different. For example one of our apps gets S3 credentials (from non-Oracle S3) as session parameters. It uses this common db connection to validate some stuff with the database, read security definitions and then it re-connects the forms using the credentials.

Maybe you are looking for

  • Difference between Reporting Services Sharepoint Mode and Reporting Services Add In for Sharepoint 2013

    Hi, We are building company site with Sharepoint 2013 Enterprise Edition and were wondering what is the difference between Reporting Services Sharepoint Mode and Reporting Services Add In for Sharepoint 2013? What are the roles/purposes of each one?

  • SD Reversal not getting Cleared

    Hi Experts, When an invoice is getting posted in SD and subsequently when such invoice is cancelled, the line item is not getting cleared. In FBL5n it is showing both the line items as open for all these cases. Please advice Thanks in Advance

  • Imac - Apple TV - netflix

    I activated netflix on my APPLE TV but for somereason i cant login to it on my imac or my iphone  i usemy apple id but still nothing.

  • Playback to Computer and Airport Express

    Others have posted that you can playback to both a computer and an Airport Express simultaneously with iTunes 6.0.2. I have an Airport Express in my kitchen, and If I shift-click on the iTunes speaker drop-down and select Kitchen I get a warning: "Th

  • Removing icon causes dock to crash

    Every time I attempt to remove a permanent icon from my dock, the OS becomes unresponsive for a second, the dock quits and reboots. The icon I attempted to remove is still there when it reboots. I have tried removing 'com.apple.dock.db' and 'com.appl