Capture parameters from ESS screen

Hi All,
I have created a custom webdynpro application for ESS. The custom application gets displayed when a link gets clicked on the Benefits screen. The link that is clicked is the SAP standard link and it passes some parameters. How do I capture these parameters in my custom webdynpro application ?
Thanks,
Tom

Tom,
I'm not sure about the protocol being used for transfer of these parameters, but assuming that HTTP or HTTPS is being used, you can try following code in your interface view's Startup plug handler. If you have not changed the default names, it will be named 'onPlugDefault' in your interface view controller.
    IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
    IWDRequest request =  protocolAdapter.getRequestObject;
    Map reqParams =  request.getParameterMap();
You can iterate through this map and see all parameters and values being passed.
        Iterator it = reqParams.entrySet().iterator();
        while (it.hasNext())
               Map.Entry pairs = (Map.Entry)it.next();
               //pairs.getKey().toString() gives key value and pairs.getValue().toString gives value associated with key.
               //Code for storing parameters will go here.  
Hope this helps.
Vishwas.

Similar Messages

  • Passing Parameters from One Screen to Another Screen

    Hi All,
    I need to Pass Parameters from one Module Pool Screen to Another Screen.
    I have two Parameters in First screen. I don't want to use <b>Export and Import</b>
    The first screen record should sit in the Second Screen as it is.
    Please suggest me.
    Thanks and Regards,
    Prabhakar Dharmala

    An Idea,
    Create a function group, in that define global variables. Then create two function module. Pass variable from one function module and get in the another one.
    Hope this will help you to solve. If you need further help I will create and sent you a test code.
    Darshan.
    <i><b>Pl. Reward points to the helpful answer, it motivates us to answer more </b></i>

  • Removal of Quit and Help link  from ESS Screen

    Hi ,
    How to Remove Quit and Help link ,which is appeared on the top of the page in all the ESS Iviews .?
    If we go for modifying int service files in SE80 ,say for example PZ28 ..there is no service file atall.
    How this serive is capturing the HTML template ?
    Regards,
    J

    Hello,
    I've done this previously.  You need to edit the templatelibrarybasis.html file that is on the ITS AGate instance.  It's on the AGate under c:\program files\sap\its\6.20\DEV\templates\system\dm\templatelibrarybasis.html.  Take out or comment out the help/edit references.
    This is modifying SAP code, so after each patch you will need to remodify the file.  Let me know if you have further questions.
    Thanks,
    Marty

  • I have to capture a portion of screen, but there are no functions of IMAQ to do this. How can I do?

    I have to capture a portion of screen, but there are no functions of IMAQ to do this. How can I do?

    What portion of the screen are you trying to capture? Is it video, or is it a standard snapshot?
    If you are trying to capture video from the screen, I don't think there is an easy way to do it.
    For a snapshot, there are a couple of options. If it is part of the LabVIEW screen, there are some property nodes or methods that output a bitmap image of the screen. If it is a separate application, your best option is to use the Windows screen capture. Basically, you need to emulate the keypress for capturing the screen to the clipboard, then paste the clipboard into an IMAQ image. For an example of how to do this, search the Developer Zone for the example that shows how to merge overlays with an image. This was necessary before Vision 6.1, which now has
    an option to merge overlays.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Get selection screen parameters from sap query

    Hello. I use SAP Query Reporting, so I added a report assignment for detailing (sq01 ->  Change button -> Goto -> Report Assignment -> Insert row -> Other type row -> Abap Report Program)
    and put there ABAP program.
    When I run query and press CtrlShiftF1  (or double click) It calls my abap program.
    So the question is: how to get selection screen parameters in my program ?
    to be more precise I want to get date parameter (begda, endda)
    Thanks a lot.

    There is a Z query which I can see in sq01. I set reporting period and run the query; when I run it, it gives me the employee list.
    So I wrote the abap report to get an employee details, customized query as I mentioned above.
    The query calls my report and I need to get parameters.
    SELECTION-SCREEN BEGIN OF BLOCK frm1 WITH FRAME TITLE text-001.
    PARAMETER :  p_pernr LIKE p0001-pernr OBLIGATORY MATCHCODE OBJECT prem.
    PARAMETER : p_date LIKE sy-datum.
    SELECTION-SCREEN END OF BLOCK frm1.
    Parameter
    p_pernr
    passes normal. ALV Query contains it, but I'd like to get one more parameter from selection screen of the query and don't know how to get it.

  • How can I change screen capture format from .png to .jpg in LION

    how can I change screen capture format from .png to .jpg in LION. The "terminal" suggestions of the past don't work? Thanks!

    This works for me:
    defaults write com.apple.screencapture type XXX
    where XXX is one of png, pdf, jpeg-jfif, jpeg 2000, tiff, pict, bmp, gif, psd, sci, or tga. You need to log out and back in for the change to take effect.

  • Capture Image from Screen and Yosemite Mail

    Composing a new mail message in Yosemite. If use the pull-down option to Capture Image from Screen and place the image in the message body (HTML), the image is not being sent with the message. A broken image icon is sent instead.
    If, on the other hand, I use the paperclip to add an image file to the message body all is well. Same if I copy and paste an image into the message body.
    In both those cases where it works, I also get the Markup pulldown to edit the image. In the Capture Image from Screen case where it doesn't work I also don't get the Markup pulldown menu and options.
    Anyone else seeing this? Is it a known bug with Yosemite or just on my side?

    I'm actually experiencing the same thing, i asked my officemate and he is also getting the same error when using capture on mac mail

  • Capturing the values of screen elements on click of execute button

    Hello folks,
    Is there a way to capture the values entered in the screen on click of the execute button?
    What I want to do is, I have a selection screen where-in a user can fill the input fields (parameters and select-options). Now when the user clicks on the execute button, the values of all the screen elements (no matter if they are filled or empty) should be stored in variable, so that I can use these values again when I am calling this program from another program.
    I want to do something similar to saving a variant, but this save should happen on click of Execute button and user need not require to explicitly save these values as variant.
    Hope I am clear enough to put my query in front of you all.
    It would be a great thing if you could help me.
    Need your help.
    Thanks in advance.

    Hi,
    You need something like this
    REPORT A.
    TABLES: sflight.
    PARAMETERS: pa_scarr   TYPE sflight-carrid.
    SELECT-OPTIONS so_conn FOR  sflight-connid.
    DATA: BEGIN OF it_selscr_values OCCURS 0.
            INCLUDE STRUCTURE rsparams.
    DATA END OF it_selscr_values.
    START-OF-SELECTION.
      CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
        EXPORTING
          curr_report     = sy-repid
        TABLES
          selection_table = it_selscr_values.  "here you have all parameters' values from selection screen
    "later in some other program you can use this table to call report A filling its selection screen with these default values like
    SUBMIT a WITH SELECTION-TABLE it_selscr_values.
    Regards
    Marcin

  • ESS screen customization, Leave configuration and work flow.

    Dear Experts,
    We are planning to migrate Leave application from ESS java based application to ESS WDA . I know that homepage customization is replaced by Launchpad in WDA, So here are my questions,
    1. how to change the overview screen like Area , subarea pages and there description and also to hide links which are not required (marked in attachment).
    2. How to change properties of an iview ie Create leave request (on selecting creating leave request it gets opened in separate window but it also include employee welcome screen and navigation menu all over again)
    3. Where would I get documentations related to leave application with WDA and how setup workflow with three levels of approvals.
    Please revert with your valuable feedback. Thanks in advance.
    Ajaykumar

    1. In the launch pad lpd_cust, you can add folders, applications etc through which we can get output like what u requested.
           If u don't want any app, u can add it to inactive applications or remove it.
           If it has to be hidden dynamically then from the badi we can achieve it.
    2. Opening iView in new window/same window/with or without masthead etc is part of portal parameters for the lpd application, where u can configure it.
    3. Help.sap.com is best and also in scn u can get lot of additional informations
         Create Leave Request - Business Package for Employee Self-Service (WDA) 1.50 - SAP Library

  • Unable to capture video from VHS through DAC-200

    (Running Final Cut Pro 5.1.4)
    I have a DAC-200 to hook up my VCR to my G5 in order to capture video from VHS tapes into Final Cut. I had this set-up working a few months ago, but it was disconnected to rearrange equipment and now I can't get it working again. I have followed the advice from the DAC-200 installation instructions and advice from other forum topics but can't seem to get it to work. I finally was able to get something in the log and capture window besides "preview disabled" and "cannot capture because there is no video." I now can get Final Cut to capture video, however it only captures a blank black screen (and this is all I can see in the preview window).
    I've triple-checked every cable hook-up, the G5 recognizes the converter box, the video tape plays fine to a tv. I've even had our IT-guy here at work come check out my set-up for help and he can't figure out what is wrong either. (He did get my log&capture window to get white fuzz in the black screen at one point though. Does that mean anything?)
    Any help is greatly appreciated! (I'm happy to answer any other questions too.) Thanks!

    I had difficullty with the X.4.10 plus QT7.2 and put my info on the Forum as well as sending feedback to Apple. Shortly afterwards, Apple brought out a short security update which I downloaded and, hey presto, I was then able to use QT7.2 with OSX.4.10. It may be that you missed out on the later small update to QT7.2..... ? Another factor I found was that some little while later I again had a problem so I again installed QT7.2 and over-installed FCP5.1.4 which has resolved my problems for the time being. Worth a try if you still can't get through on the DAC.
    Ron.

  • Unable to capture data from drop down list in custom added field in migo tcode at item level

    Hi guys,
    need bit help in resolving query related to custom added field in Tcode migo.
    i have added a field in migo at item level ,in this i have used drop down list
    to get data but unable to capture data from drop down list.gown through
    many blogs in scn but unable to resolve.
    Please help me out in this.
    Thanks,
    Umakant.

    Hi,
    U can use following code to fill the list box
    write this code in PBO
    In layout editor please select listbox in dropdown attribute of input field and put some fctcode attribute
    TYPE-POOLS vrm.
      DATA values TYPE vrm_values WITH HEADER LINE.
      TABLES: <ur custom Database table>.
      clear values, values[].
      SELECT * FROM <ur custom Database table>.
        values-text = <TABLE FIELD TO DISPLAY IN DROPDOWN> .
        values-key = <TABLE KEY FIELD TO DISPLAY IN DROPDOWN>.
        APPEND values.
      ENDSELECT.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = '<SCREEN INPUT FIELD NAME>'
          values          = values[]
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
    Also please define the following before accessing the listbox value
    data: <listbox input field name> type <table field name>,
            <inputfield name where text to display> type string  in top include
    In PAI, select the text from the table into <inputfield name where text to display>  depending on value selected which will be called when enter key is pressed or any vale is selected

  • Capture contents from an editable alv

    I'm trying to capture fields from an editable alv. I have an update button in the application toolbar. So when i press this button, whatever changes I have done on the screen, the internal table should get updated. I'm using the function module    REUSE_ALV_GRID_DISPLAY.
    Can anybody help me out??

    Yes you can,
    If you have access to the element in the context that is bound to the row in the ALV then you can connect the message. Marking a * is not possible by default with the WD message manager and you willl need to do it manually. Use the element method of the message manager API for this purpose.

  • How to use table field values as dynamic parameters on selection screen

    Hi,
    I need help on dynamic selection parameters.
    I need to display no. of parameters from the fields of a database table.
    Basically i want to pass field values of a table to selection screen and we can use those values as parameter on selection screen.
    If there are 10 entries in a table field( say field is field_name and entries are bukrs,kunnr etc.)
    I need to display as many parameters on screen as many values are there in field_name( In this case it is 10)
    SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02.
    PARAMETERS:
                           p_bukrs(5) ,
                           p_kunnr(5) ,
    SELECTION-SCREEN END OF BLOCK b2.
    Thanx

    Hi,
    You can create it using Dynamic Program.Check this link below.
    [Creating Dynamic Programs|http://help.sap.com/saphelp_46c/helpdata/en/9f/db996135c111d1829f0000e829fbfe/content.htm]
    Hope this might help you.
    Thanks,
    Prashanth

  • How to get the selection parameters from logical database into one of the t

    Hi Sap ABAP Champians,
    How to get the selection parameters from logical database into one of the tab in the tabstrip selection-screen.
    Please help me for this
    Thanks
    Basu

    Hi
    Thanks, that will work, but then I'll have to insert code into all my reports.
    I can see that "Application Server Control Console" is able to rerun a report.
    This must mean that the Report Server has access to the runtime parameters.
    But how?
    Cheers
    Nils Peter

  • Capture .bmp from hidden desktop

    Hi , I'm trying to capture a desktop created with the "CreateDesktop" methode.
    But I have some problems. I only get the capture .bmp from the desktop, when
    it is active. This desktop runs on vm,and I connect to it through remote desktop.
    Well, as I said, I only get the bitmap of the desktop when the vm is open. When I mnimize
    or close the remote desktop connection, I dont get any bmp from the desktop.
    For me is important,because the machine were the vm runs,doesnt have any monitor
    to display the desktop.I only want to make this vm to stream its desktop to other computers,
    but the vm wont have any monitor.
    Is there the posibility to set the desktop as active, or to get the bitmap of the desktop from somewhere else ?
    Thank you

    Well, I was passing the wrong DC to the PrintWindow function (the one which I retrieved by using GetWindowDC) and then tried to BitBlt it to the memory DC. But the right solution is to get window DC using GetWindowDC then create compatible DC and PrintWindow
    to it and not use BitBlt on that stage at all.
    Following is a right approach:
    // Some code where you get appropriate HWD
    HDC wndDc = GetWindowDC(hwnd);
    HDC memDc = CreateCompatibleDC(wndDc);
    CRect rc;
    GetWindowRect(hwnd, &rc);
    HBITMAP memBmp = CreateCompatibleBitmap(wndDc, rc.Width(), rc.Height());
    HBITMAP oldBmp = reinterpret_cast<HBITMAP>(SelectObject(memDc, memBmp));
    // Print window to the memory DC.
    PrintWindow(hwnd, memDc, 0);
    // Here you can use memDc of the window
    // (e.g. BitBlt it to the DC of the merged desktop screen)
    DeleteObject(memBmp);
    DeleteDC(wndDc);SelectObject(memDc, oldBmp);
    DeleteDC(memDc);

Maybe you are looking for

  • Can not deploy Federation Manager 7.0 (http 500 error)

    Hi, I am trying to install Sun Java System Federation Manager 7.0 on SunOS 5.8 sparc machine, and never get any further after build the federation.war file Basically, I use standard script to build the war file ./fmsetup install -s fmsilence-template

  • Need help with date and time calculations please

    Hello there.. Im stuck, and im hoping someone can help.. Working on a list to manage and track PTO.  User completes PTO request form, Fields Name Start Date (with time) End Date (with time) Total Number of Days/hours requested: (calculation) Full Day

  • I can open itunes on my new computer but I can't use it...

    Hi everyone, I hope you can help me with an irritating problem I have with itunes on my new computer. I'm not american so I hope I can explane it... I installed itunes and thought it worked fine. I copied a couple of cd´s I wantet to put on my ipod b

  • IPhone to Sony Bravia

    Hey people, So, I have a Sony Bravia Smart TV... There's a mode called 'wifi direct mode.' I CAN connect my iPhone to the Bravia with no problems and it comes up with... 'Device Connected.' So, it obviously recognises the iPhone and talks to it so to

  • Why is my library so big?

    Orig media and final product are 4GB each but library is 35GB...is this normal?