F4IF_INT_TABLE_VALUE_REQUEST - what line was selected from list displayed

I am building an internal table and displaying it as search help using F4IF_INT_TABLE_VALUE_REQUEST.  How can I tell what line was selected from the search help?  Only one field is filled with the selection, but there are several other fields attached to this that I need in my program - but I can't tell which line was selected, and the one field is not enough information to use to get the record from the internal table.

Hi,
RETURN_TAB would have the selected values.
FIELD_TAB will have the hit list fields.
DYNPFLD_MAPPING will have the Assignment of the screen fields to the internal table.
Regards,

Similar Messages

  • Identifying which line was selected from a WebDynpro table

    Hi,
    can any one give me some advice, I've created a view which displays a table of filenames, which in fact are "LinkToAction" columns. The idea was that when a filename(LinkToAction) was selected, I could retrieve the appropriate file from the Applicatio server and Open the file in Excel or Save as Excel. My problem is, when I select a filename I don't know how to identify what line was selected in the table. Any advice would be great.
    Thanks,
    C

    Hi , Just identify its element which is lead selected and read attribut of that element .
    Have the code for the same
    DATA:
        node_nd_worlflow                    TYPE REF TO if_wd_context_node,
        elem_nd_worlflow                    TYPE REF TO if_wd_context_element,
        stru_nd_worlflow                    TYPE wd_this->element_nd_worlflow ,
        lead_selection_index                TYPE i,
        relation_no                         TYPE guid_32.
    navigate from <CONTEXT> to <ND_WORLFLOW> via lead selection
      node_nd_worlflow = wd_context->get_child_node( name = wd_this->wdctx_nd_worlflow ).
    @TODO handle not set lead selection
      IF ( node_nd_worlflow IS INITIAL ).
      ENDIF.
    get element via lead selection
      lead_selection_index = node_nd_worlflow->get_lead_selection_index( ).
      elem_nd_worlflow = node_nd_worlflow->get_element( index = lead_selection_index ).
    elem_nd_worlflow->get_static_attributes( IMPORTING static_attributes = stru_nd_worlflow ).
    Cheers
    Parry

  • As Bex Query design why I canu2019t select from list in values range

    Hello experts,
         I want to pop input window when I use analyzer run bw report, I know to add filter through restrict, then I selected value ranges, it was appearing between input text, the button canu2019t let me input, I tried select from list, Bex Query design occured some errors, if click u2018exitu2019 will prompt unknown software exception(0xc00200001) then stop .
    the imange: [http://www.itpub.net/thread-1192217-1-1.html]
    How to input text or select list? Why My Bex query design canu2019t do select from list? 
    please let me know the soultions, thanks for you help in advance
    Regards,
    Steve

    first of all, thanks for your help.   if need to install batch, please let me know. many thanks .
    more infomation as belows:
    the windows prompt:
    Your application an unhandled exception occurs. If you click [continue], the application will ignore the error and try to continue. If you click the [end], it will immediately close the application.
    I clicked more detail button , displayed as belows:
    For more information call using Just-In-Time (JIT) debugging details
    Please refer to the end of this message (instead of this dialog box) information.
    Exception Text **************
    System.NullReferenceException: Object reference not set to be the implementation of individual objects
    in com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.HandleUnhandledException(Exception iException)
    in com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.OnGuiUnhandledException(Object iSender, ThreadExceptionEventArgs iEventArgs)
    in System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
    in System.Windows.Forms.Control.WndProcException(Exception e)
    in System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
    in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    in System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
    in System.Windows.Forms.Control.SetVisibleCore(Boolean value)
    in System.Windows.Forms.Form.SetVisibleCore(Boolean value)
    in System.Windows.Forms.Control.set_Visible(Boolean value)
    in System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    in System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    in System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
    in System.Windows.Forms.Form.ShowDialog()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.GetUserSelection()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.ShowSelector()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUICtrlDDBox.InvokeSelector()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUICtrlDDBox.OnInvokeSelector()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUICtrlDDBox.picValueHelp_Click(Object sender, EventArgs e)
    in System.Windows.Forms.Control.OnClick(EventArgs e)
    in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    in System.Windows.Forms.Control.WndProc(Message& m)
    in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    inSystem.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  • IW69 from List Display to ALV Gird Display

    Hi All
    Transaction IW69  is working as List display for other users and ALV gird for my user. I would like to change from list display to ALV gird for other users too. How could i do this.
    Kindly help me.
    Thanks

    I am seeing ony Line1 Line2 Line3 tabs in the path Settings->Layout->Current for other users but the option you specified is there for my user.
    thanks

  • What is the  difference between list display and grid display in alv report

    Hai genious
    i am a new of the abap, i dont know the alv report, i have a small doubt, can u please tell me  what is the main difference between list display and grid display in alv report
    thanks&regards
    chinnu

    Hi ,
    1. For all practical purposes, they are the same.
    2. Some differences:
    a) from abap coding point of view,
    alv list is done with Function modules,
    alv gris can also be done with FM,
    but can also be done using OO concepts.
    b) Alv grid (using oo concept) requires
    designing the screen layout .
    Hence, in one screen, we can show more
    then one alv grid
    (we cannot show more than
    one alv list on one screen)
    c) ALV grid uses ActiveX controls
    present on the Presentation Server.
    Hence, it consumes More Memory
    on the presentation server.
    d) ALV LIST is Display Only.
    Whereas
    ALV Grid Can Be made EDITABLE for entry purpose.
    e) In alv grid, these options are possible,
    but not in alv list.
    without horizontal lines
    without vertical lines
    without cell merging during sorts
    display total lines above the entries
    I hope it helps.
    Regards,
    Mamta
    Edited by: Mamta Verma on Nov 27, 2008 6:41 AM

  • SELECT FROM (LIST)

    Hi all,
    11.2.0.1
    How do I select a list of constants as a TABLE?
    For example:
    SELECT ENAME FROM EMP minus SELECT FROM (
    'SCOTT',
    'EDDIE',
    'STEVE'
    and more than 50s name
    Thanks,
    zxy

    >How do I select a list of constants as a TABLE?
    What exactly you are trying to solve ?
    set head off
    set pages 1000
    set recsep off
    set line 200
    select 'select ename'||chr(10)||'from emp'||chr(10)||'minus'||chr(10)||'select ename'||chr(10)||'from'||chr(10)||'('||chr(10) from dual
    union all
    select 'select '||chr(39)||ename||chr(39)|| ' ename from dual'||chr(10)||case when rownum<(select count(*) from emp) then 'union all' else ')' end||chr(10) from emp;
    But why to minus when I can say :
    select ename from emp where ename not in ('JONES','FORD','WARD');
    Regards
    Girish Sharma

  • How to select from list of values?

    Dear All,
    I am using XML publisher for word, where I need to select a value from a list of values, for example I have hotel code like TTAG,TOBBR,TTAG,TOTM now I need
    to select hotel code and the corrosponding data should be display on word after
    running the RTF. Tell me, how can I achive the same?
    hare krishna
    Alok

    Thanks prety much,I am using XML to upload data from there into RTF templete. I've already insert table through load data option, but my problem is, how could I select a value from a list of values and based on that value selected from the list, it should displaydata corrosping to it. For example, I have few codes like TTAG, AMAG, TOTOM and if I select TOTM, it should display the complete address of that hotel named TOTM. If above given scenario is not at all possible, then Is there any alternate method to achieve this?
    hare krishna
    Alok

  • Need to return a cell value in a row where a date was selected from a column

    I'm looking for a formula for OS Numbers and can't seem to find it.
    I use the MIN function to select the earliest date in a range of cells.  The dates all flow down one column.  I need to be able to have numbers return the contents of a cell in the same row that was selected as the earliest date.
    For example:
    ID
    Exp. Date
    3
    4
    LJ-1
    May-2014
    LJ-2
    Jun-2014
    LJ-3
    Jul-2014
    LJ-4
    Aug-2014
    LJ-5
    Sep-2014
    I need to search for the earliest date in the 'Exp. Date' column and once it finds it, return the value from the 'ID' column.
    So, in this case, i would need a formula to find May-2014 and return LJ-1 to the cell.
    Any help would be greatly appreciated.

    Hi 86,
    Rearrange your table then add another table to find the result:
    A2 in Table 1-1 will find the earliest date in Table 1 without having to sort Table 1.
    A2 contains this formula
    =MIN(Table 1::A)
    B2 in Table 1-1 uses VLOOKUP to find which ID matches that MIN date.
    The reason for rearranging your table (Table 1) is that VLOOKUP compares a search value to the values in the leftmost column of a specified collection.
    (in this case, it looks in the leftmost column of the range Table1::A:B, then returns a match from column 2 of that range).
    I forgot to include "Exact Match" in the VLOOKUP formula. Is that what you want, or "Close Match"?
    Edit: I don't suppose that matters because MIN will always give an exact match. Duh!
    Regards,
    Ian.

  • Selecting from list - Urgent

    I need to select a CODE from available list of codes from table2 and insert the selected code into table1 but before I do the insertion, I need to make sure that unique constraint is satisfied.
    In other words,no 2 same codes should be selected from the list for 2 rows.
    example, if row1 is 24
    no other rows within this select should be 24
    Any ideas on how to implement?
    Thanks in advance

    Here's what I suggest.
    1) On the when-new-record-instance of the table1 block you should use a post, which will do the needed insert/update/delete processing, but not the commit.
    2) The record-group for fetching the values in the LOV should be something like:
    select code, name
    from table 2
    where code not in (select code from table 1)
    Note:
    The post is intended in order that the record group should also "notice" the last record inserted/updated/deleted in/from table1.
    As I recall, you may have some problems with the post in the when-new-record-instance trigger on the table1 data block if that data block in case that data block contains no records, case that will need a special treatment.

  • Unable to Select from List of Processes

    Hi all.
    I'm having an issue where I am unable to mouse click (or select) from a list of processes. This is happening in three different areas. When I click Start Processes, I am able to select an employee (even from HR Admin I can enter an employee) without any problems. Then after choosing my employee, I click the button 'Select Process' and I get a list of P&Fs processes. However, the top process is pre-selected and I am unable to select any other process. Even though the list of processes are different for HR Admin and manager, I still can only proceed to the Adobe form with the first (top) process. If I click edit to continue to the adobe form it opens the top selected form without an issues.
    This also happens from the "Find Processes" overview screen. After entering my select criteria of processes to search, I get a list of process transactions which have been started but again, I am only able to see the details of the first one (and I cannot select any other process).
    I am running Ehp 3 with the latest patches to BPs and ECC 6.0 (as of 1/3/2010). I've also tried using different browsers including IE 8 and Google Chrome.
    Much appreciated in advance!
    Derrick

    Hi Chris.
    Not sure what to look for when you reference 'controls'. As far as the business packages, they are up to date. I've eliminated the issue being ECC 6 related. Just not sure what to check on the portal side that could be causing this. Any suggestions on how to check (and update if necessary) the controls?
    Thanks,
    Derrick

  • What line was clicked in webuijsf:table (similar to h:table)

    Hi! I have a jsf table, binded with table in the DB. One of the colums contains hyperlink. When this link is clicked I need to show the edit form for correspondent object. I've created a listener for this hyperlink, but how can I understand, what hyperlink was clicked? I need to get at least ID of the record, to fill edit form with appropriate values. Maybe it is possible to get correspondent RowKey or something else?

    put a link as one of the rows on the datatable DataTable, bind the dataTable to the backing bean,when the link is clicked an action method on the backing bean string edittable() is called.This mehod returns a row on the table.each row can then be interrogated by calling its fields i.e user.firstname ,user.lastname etc etc ...
    bb
    String edittable(){
    dataitem= (user) dataTable.getrowdata
    String fname = user.firstname;
    }

  • Keyboard shortcut to open a cells pop-up menu and select from list of options.

    I guessed Option-Return would be the shortcut from this, as it typically lets you edit a cells contents, but no. Read the keyboard Shortcuts list in Numbers>Help but didn't see anything.

    Hi ts,
    Thanks for drawing my attention to this! Let's add some missing detail…
    While "you just press spacebar" to open the pop-up menu, that won't select a menu item.
    After you've opened the menu, 'you could press the first letter' of an entry, ( 'like every other pop-up list on Earth,') or you could press the down arrow to step down the list (and the up arrow to step up, if you went beyond the item you wanted to choose).
    And you can change your mind; the menu will stay open until you confirm your choice (by pressing the space bar again, OR by pressing return OR by pressing enter).
    Note that pressing the first letter will select the 'smallest' item name beginning with that letter. To move to another item name starting with that letter, you'll need to use the up or down arrow key (or the mouse).
    Thanks again for posting. With luck, WideEyedPupil will still be monitoring this discussion, and will see these posts.
    Regards,
    Barry

  • Trigger should fire on Mouse Selection from List

    Hi,
    I have two list item type boxes in which first one is populated on when-new-block-instance trigger I want to populate second on the basis of first list item selection which trigger should I use b/c I already tried mouse-click but it fires on just clicking on list box not provide the selection of individual item and also mouse double click and mouse enter both are suffice the requeirement.
    One thing more I have defined key-next-item trigger on the above first list item but once I click on this list item the key-next-item trigger will be disabled automatically or not fired.
    Thanks and regards
    Message was edited by:
    skhawar03

    Hi,
    When-mouse-click as I understand you can't use in case of poplist b/c if you click on poplist this trigger will fire and does not allow you to do anything, regarding when-mouse-enter this trigger doesn't work I have used this trigger but how it fires I don't understand, if anyone know tell me, thanks.

  • Re: Prompt User to select from screen display options

    Hi,
    I need a FM whereby I could display possible values for User to select and then return to continue the processing.
    User will need to click on the screen selection and then the OK icon.
    Please assist.
    Thanks

    Hi Colin,
    here a short example:
    TYPE-POOLS: SLIS.
    DATA: FIELDCAT    TYPE SLIS_T_FIELDCAT_ALV,
          WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
          SELFIELD    TYPE SLIS_SELFIELD.
      PROGNAME = SY-REPID.
    Feldkatatalog vorbereiten auf Basis der ITAB-Definitionen
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
           EXPORTING
                I_PROGRAM_NAME         = PROGNAME
                I_INTERNAL_TABNAME     = 'ITAB'
                I_CLIENT_NEVER_DISPLAY = 'X'
                I_INCLNAME             = PROGNAME
           CHANGING
                CT_FIELDCAT            = FIELDCAT
           EXCEPTIONS
                INCONSISTENT_INTERFACE = 1
                PROGRAM_ERROR          = 2
                OTHERS                 = 3.
      LOOP AT FIELDCAT INTO WA_FIELDCAT.
      Für alle Spalten Key_Information ausschalten
        MOVE  ' '                        TO   WA_FIELDCAT-KEY.
      Für alle Spalten nur Mittel_Text anzeigen.
        MOVE  'M'                        TO   WA_FIELDCAT-DDICTXT.
      Für alle Spalten soll nicht 0 NICHT angezeigt werden.
        MOVE  'X'                        TO   WA_FIELDCAT-NO_ZERO.
      Für alle Spalten Key_Information ausschalten
        MOVE  ' '                        TO   WA_FIELDCAT-KEY.
      Spalte ausblenden
        CASE WA_FIELDCAT-FIELDNAME.
          WHEN 'MATNR.
            MOVE  'X'                    TO   WA_FIELDCAT-NO_OUT.
        ENDCASE.
      Spaltenüberschriften
        CASE WA_FIELDCAT-FIELDNAME.
          WHEN 'MAKTX'.
            MOVE 'shorttext'              TO WA_FIELDCAT-SELTEXT_M.
        ENDCASE.
        MODIFY FIELDCAT INDEX SY-TABIX FROM WA_FIELDCAT .
      ENDLOOP.
      CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
           EXPORTING
                I_TITLE                 = 'Titel'
                I_TABNAME               = 'ITAB'
                IT_FIELDCAT             = FIELDCAT
           IMPORTING
                ES_SELFIELD             = SELFIELD
           TABLES
                T_OUTTAB                = ITAB
           EXCEPTIONS
                PROGRAM_ERROR           = 1
                OTHERS                  = 2.
    it works very good. At first you have to fill the ITAB as you want.
    Regards, Dieter

  • How do I do SELECT * FROM TABLE WHERE KEY IN ({list})?

    The title says it all really.
    Is there a reasonable performant way to perform the query
    SELECT * FROM TABLE WHERE KEY IN ({list})where {list} is String []?
    I am currently creating a PreparedStatement with a for loop like this   StringBuffer sb = new StringBuffer ("SELECT * FROM TABLE WHERE ID IN (");
      for (int ii=0;ii<keys.length;ii++) {
        sb.append (keys [ii]);
        if (ii != keys.length-1) sb.append (",");
      sb.append (")");but this means that the prepared statement is created each time I call my method and so I'm not sure that the optimizer will find it easy to cope with. Is there a construction that I'm missing along the lines of SELECT * FROM TABLE WHERE KEY = ? where I can create the PreparedStatement once and just call setObject or something on it when the values in {list} change?

    but this means that the prepared statement is created
    each time I call my method and so I'm not sure that
    the optimizer will find it easy to cope with.You are right, the optimizer won't find that easy to deal with (presuming that is even relevant for your driver/database.) But most optimizers won't do anything with statements that change and that is what you are doing.
    You could create several prepared statements which have a common number of bind variables. For example 10 statements with from 1 to 10 bind values. This will work if most of the queries use those.

Maybe you are looking for

  • How to add a file as an object in Numbers spreadsheet

    In MS Excel one can add any file namely doc, xls, PDF as an object in a spreadsheet......how can we do that in MAC Numbers

  • CO41 : multiple material seletion

    Hi all , in co41 : collective conversion of planned order to production order is it possible to have the  selection from material - to material selection criteria ? Or any other option to do for material list ? Regards

  • Interactive PDF problem

    Hi, I am working on getting an application for employment on my company website. I want people to be able to download the pdf, fill it out then e-mail it in. Is this possible? I am using Vista and CS3 if that makes a difference. Thanks!

  • Increasing the time to backup in TM

    Hi ALL Great TM backing-up But is it possible the tell TM to backup every 2 3 4 5 6 7 ...... or more hours. I don't see the benefit of it to backup every hour. Dimaxum

  • Report server problem - REP-110

    Hi, I am running a report server 10g on AIX 5.3. While executing the URL, http://192.168.107.205:7786/reports/rwservlet/showjobs I am getting an error like, Error Terminated with error: <br>REP-110: Unable to open file 'rep1'. REP-1070: Error while o