To get selected cell info in table for WDA.

i'm developping in netweaver2004s.
a view has a table and a button.
another view has input fields.
i want to get cell info(selected field name not value)
so i use that info in another view.
i want to know same command 'GET CURSOR' in WDA.
please let me know that method.

Hi,
You can specify the importing parameter ID as type string in the action handler of the button. It will contain the ID of the button.
Best regards,
Thomas

Similar Messages

  • How to get the position of a selected cell in a table ?

    Hi,
    How can I get the position of a selected cell in a table or in a list multicolumn cmd ?
    Thanks.

    Invoke node >>> point to Row Column
    Ben
    Message Edited by Ben on 07-19-2007 03:14 PM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Point_To_Row_Column.PNG ‏22 KB

  • Oracle HR 11.5.7 -Select DateTracked Info of Employees for Specific Period

    Oracle HR 11.5.7 -Select DateTracked Info of Employees for Specific Period (From/To)
    Hi,
    We have Oracle Human Resources 11.5.7 and I would like to know which is the best way to use when need to query data for employees valid within a specific period (From/To) or at specific date.
    For example:
    Say Current Date= 25-OCT-05
    1.
    If I want to query the number of employees booked for a training event occurred as at 01-AUG-05 and one of the employees booked left as at 30-SEP-05, I would like to be included in the query.
    or 2.
    If I want to see the employees assignment details for a specific period to see the active(latest) assignment details as at that period.
    I would appreciate any feedback regarding the best way to do such queries as far as accuracy of data and performance is concerned.
    Thanking you in advance.
    Best regards,
    Elena

    Thank you for your reply..:)
    Actually I'm already using this..
    My problem is when I need to retrieve information for a specific period of time.
    For example say I want to retrieve all sickness absences for Year 2004 and want to retrieve the last employee details (people & assignment tables) that fall within this period (either with an effective date >= sysdate (ie. still active) or which was current upto 31-dec-2004 and might changed later on).
    To be more specific let's say an employee took sick leave in 2004 for total 10 days and has the following rows in per_people_f and per_assignments_f:
    per_people_f:
    start_date end_date person_id other personal details
    01-FEB-2001 - 15-MAR-2004 3808 xxxx
    16-MAR-2004 - 30-JUN-2004 3808 yyyy
    01-JUL-2004 - 17-FEB-2005 3808 zzzz
    18-FEB-2005 TO DATE 3808 www
    per_assignments_f:
    start_date end_date person_id assign_id other assignment details
    01-FEB-2001 - 15-JAN-2003 3808 1114 aaaa
    16-JAN-2003 - 30-AUG-2004 3808 1114 bbbb
    31-AUG-2004 - TO DATE 3808 1114 cccc
    What I need the query to return for the above example is:
    per_people_f:
    start_date end_date person_id other personal details
    01-JUL-2004 - 17-FEB-2005 3808 zzzz
    and
    per_assignments_f:
    start_date end_date person_id assign_id other assignment details
    31-AUG-2004 - TO DATE 3808 1114 cccc
    and sickness days =10
    (sum of duration where
    absence start_date >= 01-JAN-2004
    AND end_date<=31-DEC-2004)
    Thanking you in advance for any help on this issue.
    Regards,
    Elena

  • How To get selected row in a table

    Hi experts
                        I have been using a table in which I am using a column Tree by nesting . I have written code for dynamically expanding table tree . But I want to know current selected element of the table, for this i have done following
    steps
    1) created an action on Action <b>lead select </b> of the table .
    which has a parameter with type node element .
    2) now i need to use parameter mapping in domodify view .
    as
    IWDTable tab =  (IWDTable) view.getElement("CatalogTable");
            tab.mappingOfOnLeadSelect().addSourceMapping<b>("XYZ",</b> "element");
    But i dont know what is correct parameter <b>XYZ</b> to be passed.
    also if i am wrong in approach please let me know .
    Regards
    Abhay

    Hi
                I have used following code also but its not working
    IWDTable table  =  (IWDTable) view.getElement("CatalogTable");
    table.mappingOfOnLeadSelect().addSourceMappin               ("IWDNodeElement", "LeadSelect");
    and I have created an action
    public void onActionOnleadSelect(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, com.sap.tut.wd.treetable.wdp.IPrivateTreeTableView.ICatalogElement LeadSelect )
        //@@begin onActionOnleadSelect(ServerEvent)
        wdContext.currentContextElement().setDebug4(LeadSelect.getID());
        //@@end
    but when i select one row its giving error
    <b>com.sap.tc.webdynpro.services.exceptions.WDIllegalArgumentException: Parameter IWDNodeElement not found</b>

  • How to get the cell info?

    You all know that, on our mobile we used to get the cell info ( Tower Name ). How to access that in our J2ME application?
    John

    Hello txflwr48! I regret the difficulties you've been having while activating your new phone. I'd love to help, but I recommend that we take our conversation to direct message instead of here in the public forum. If you have not yet gotten your device activated, please follow these steps to follow my handle (DionM_VZW) send me a direct message: http://vz.to/1gBiqkv
    DionM_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • How to get the position of a selected cell in a table without using the mouse event?

    Dear All,
        I have a question about table:After clicking the cell of a table, the cell is into the edit status. How to know the row number and column number of the cell, when I click a button?
       The link below is using the mouse down event:
       http://forums.ni.com/ni/board/message?board.id=170&message.id=260102&query.id=55917#M260102
       Is there any other way to do it? Having tried to using the "edit position"  property, but it seems not working well.
       Thanks for any suggestion.
    Hugo 
    Attachments:
    table.vi ‏17 KB

    It works well with the "edit position" property.
    See attached
    Attachments:
    table.vi ‏12 KB

  • Get selected row values from Table view control

    Hi ,
    I am using transaction ME23N, would like to access row values from item table for selected row. I have written a script as in screen shot and its giving me error at java script step two. I want to get the PR number from item table for selected row.
    With Regards
    Vishal Lokapur

    H Vishal,
    Can you please share how you were able to resolve the issue regarding the selected row
    in case of a table control .
    Regards

  • How to get selected entity from ADF Table

    I'm using EJB and ADF Faces.
    I have an ADF Table, and when a row is selected I'd like to be able to get the EJB Entity that was selected, is this feasible?
    The reason I would like to do it, is for a Dialog. I have a popup dialog, and in the popup the user can do a search. The results are displayed in the ADF table. When supplying the return value from the dialog:
    AdfFacesContext.getCurrentInstance().returnFromDialog(?, null);
    I would like ? to be the EJB entity representing the row, because I need to return the value of more than one of the columns. Is this not realistic, or should I just add then to a List and pass that back?
    thanks
    R

    Thanks KUBA,
    I hacked some code from the inbuilt JDeveloper Help. Are you saying there is an easier way than this, or did I state the question poorly and you gave an answer to something else? My english is not always perfect.
    This is the code that works for me. (cmdSelect is the submit button on the table)
    public String cmdSelect_action() {
    //Access the tableSelectMany1 table. Note that the table name
    //is taken from the id of the table in the JSF page.
    CoreTable table = this.getUserResultsTable();
    //Obtain a list of all selected rows from the table
    Set rowSet = table.getSelectionState().getKeySet();
    Iterator rowSetIter = rowSet.iterator();
    //Use the declarative method to get the ADF bindings
    BindingContainer bindings = getBindings();
    //Get the object to delete. To do this, you must get the
    //iterator binding for the Products in the page definition file,
    //and cast it to DCIteratorBinding for further processing
    DCIteratorBinding pr_dcib = (DCIteratorBinding)
    bindings.get ("queryUserVFindByFullNameIter");
    //Loop through the set of selected row numbers and delete the
    //equivalent object from the Products collection.
    UserV userV = null;
    while (rowSetIter.hasNext()){
    //get the table row
    Key key = (Key) rowSetIter.next();
    //set the current row in the ADF binding to the same row
    pr_dcib.setCurrentRowWithKey(key.toStringFormat(true));
    //Obtain the Products object to delete
    RowImpl prRow = (RowImpl) pr_dcib.getCurrentRow();
    //using the generated code to execute the declarative method
    userV = (UserV)prRow.getDataProvider();
    break;
    AdfFacesContext.getCurrentInstance().returnFromDialog(userV, null);
    return null;
    }

  • Get selected elements from a table

    Hi all,
    I have a requirement like i m enhancing standard component in that i have added one button on click of that i want fetch the selected line item from the table ( which is a normal table). selection mode is auto.
    i tried with  the following code.
    DATA:lr_element                   TYPE REF TO if_wd_context_element,
           lv_index                     TYPE i.
    *--Get selected element
      lr_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
    ****Here itself its throughing dump because lr_element is initial***************
    *--get selected element index.
      lv_index = lr_element->get_index( ).
    can any one help me what is the wrong.. else suggest me how to get the selected elements from a table....
    Thanks in advance.

    *--Get selected element
    lr_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
    if  lr_element is bound.
    lv_index = lr_element->get_index( ).
    endif.
    Instead you can directly read the node if that row is a lead selected one.
    lo_node = wd_context->get_child_node( name = 'EMP' ).  "Emp is node name
    lo_ele = lo_node->get_lead_selection( ).
    or
    lv_index = lo_node->get_lead_selection_index( ).
    where is the above code written..is it written in OnLeadSelect event of the TABLE..
    can any one help me what is the wrong.. else suggest me how to get the selected elements from a table....
    As the selection mode is Auto there is no multiple selection..hence try to use the lead selection only.
    Edited by: Lekha on Jan 3, 2012 6:47 PM

  • Calc: How can I get absolute cell references in tables to work?

    Hi, I'm new to Star Office, and have run into a problem in my first spreadsheet.
    I have a data table in my spreadsheet.
    Some cells in the table need to make calculations based on other cells in the table.
    When I sort the table, however, the cell references are made to be incorrect. I expected that I could just use absolute references (e.g. $A$2) and when the table was sorted those references would be updated to refer to the new absolute location of that cell, e.g. $A$10). However, the absolute references are being left literally the same ($A$2) after the sort, making them reference a different row of data than intended. Relative references of course don't work in this situation either (I tried for thoroughness). (I thought Excel behaved the way I expected, but I just tried it in Excel 2007 and it is exhibiting the same behavior as StarOffice Calc.)
    I'm also concerned, although I haven't tried it yet, about what will happen when I reference cells in this table from another table using absolute references that the same problem will exist...
    So basically, I can't find a way to use absolute references to cells in a table that will persist correctly when the table is sorted. Any suggestions?
    Thanks. Asa
    Edited by: earthasa on Sep 20, 2007 2:37 AM
    I was able to work around the problem by creating an index column in the table with a unique number for each row of data and using vlookup() to reference the correct row. If there is a more elegant solution I'm still interested :)
    Edited by: earthasa on Sep 20, 2007 3:00 AM

    OK. Think I've got it now thanks to looking at the short keys and searching for "Full Screen".  The upper left key is "`" which looks like a grave - a slightly angled single quote. But when I look at the "Application" setting for Toggle full screen it is set to "'" - a "normal" single quote.  Sure enough, if I hit the normal single quote key the toggle works.
    I have not been anywhere near the hotkeys and can't imagine why anything would change it from a grave key to a single quote - especially as they look almost identical on the screen.  I'm guessing that Adobe changed this (maybe only for international users?)
    Anyway I now know how to toggle full screen, although it makes the "Premiere" keyboard with its big purple key for "Toggle full screen" redundant.  Does make me wonder what the shortcut key of "'" or CTRL + "'" gives that I'm presumably missing since it appears to have been remapped.

  • Dr/Cr indictor getting updated wrongly in J_1IPART2 table for ETT-RLFC

    Dear All,
    While Reconciling the excise reports, I had been observed some issue in J_1IPART2 table for the excise transaction type RLFC.
    All the entries for Excise TT RLFC the Dr/Cr indicator should be “S-DEBIT” but system has updated the value “H-CREDIT” for all the entries.
    Because of this issue system is displaying the values wrongly in RG23APART2 register.
    Reference Oss notes: 1756565/1907900.
    I had raised oss to SAP as well only recieved intial response saying will be assigned to expert & he will get backs to you.
    But I haven't recieved any response from SAP.
    J_1IPART2 Table entries:
    Accounting entries for the internal document: T.Code-J1IH -> Display
    RG23A PART2 Register Printout
    If any body has experienced this strange issue please let me know.
    Regards,
    S.Himavanth.

    Dear Nikhil,
    Still SAP haven't released this not generally.
    Raise OSS to SAP on the issue that you are facing they will reply to that.
    Regards,
    S.Himavanth.

  • Get selected row from af:table in backing bean

    Hi Experts,
    I have an af:table and i have seelctBoolean check box in that. If the user select 'x' nos of check boxes i want to display the row data of those selected rows. Can somebody help me in getting the selected row data in backing bean?
    I am using adf faces and backing bean.
    JSF Code:
    <af:table value="#{demo.partyList}" var="row"
    rowBandingInterval="0" binding="#{demo.t1}" id="t21"
    rowSelection="multiple">
    <af:column>
    <af:selectBooleanCheckbox text="#{row.person_first_name}"
    label="Label 1" id="sbc1"
    />
    </af:column>
    <af:column>
    <af:inputText value="#{row.emirate}"/>
    </af:column>
    </af:table>
    <af:commandButton action="#{demo.print}" text="Print"/>
    BB Code:
    public void print(){
    // what code to write here
    }

    This is the code
    JSF ::
    <af:table value="#{createOpportunity.dataList}" var="row"
    rowBandingInterval="0" binding="#{demo.t1}" id="t21">
    <af:column headerText="Model">
    <af:selectBooleanCheckbox text="#{row.modelRange}"
    label="Label 1" id="sbc1" value="#{row.selected}"/>
    </af:column>
    <af:column headerText="Description">
    <af:outputText value="#{row.description}"/>
    </af:column>
    <af:column>
    <af:inputText value="#{row.quantity}"/>
    </af:column>
    </af:table>
    <af:commandButton action="#{createOpportunity.print}" text="Print"/>
    Backing bean Code::
    public void print () {
    selectedDataList = new ArrayList<ModelDescription>();
    for (ModelDescription dataItem : dataList) {
    if (dataItem.isSelected()) {
    System.out.println(dataItem.getQuantity());
    selectedDataList.add(dataItem);
    // dataItem.setSelected(false); // Reset.
    Clicking on the print button shows "We have 0 rows selected"
    Thnks for ur replies guys ..
    Edited by: Wannabe Java Guru on Mar 9, 2011 1:43 AM

  • Need a better way to reset selected cells in a table

    Hello all,
    I have been looking at the various threads discussing resetting only selected fields in a form and leaving others unchanged.
    The form I am working on has a table of 20 body rows with 8 columns. I want to have a reset button that resets 6 of the cells in each row.
    I am using the following snippet:
    for (var nRow = 1; nRow < 21; nRow++)
    for (var nCell = 0; nCell < 6; i++)
    xfa.host.resetData("form1.page1.wrapper.ICC.Table1.Row[" + nRow + "].rate[" + nCell + "]");
    This works but is extremely slow (on the order of 10 seconds) and my pc is no slouch.  There has to be a simpler (and faster!) way to do this.
    I saw one thread where the cells that were to be spared from the reset could be listed but just could not make that work at all. I thought about putting the cells to be spared into a subform but that went nowhere, as I was only able to place individual cells into separate subforms.
    Any suggestions will be welcome ... with formcalc script if possible:)
    Thanks.
    Harry Ohm.
    edit: Now it appears it does not work as I first thought. It works on a single row but not when the nested for loops are used.
    Message was edited by: HarryOhm

    Hi Harry,
    Just two small issues. I would wrap the first for loop in {} and then you have i++ in the second loop:
    for (var nRow = 1; nRow < 21; nRow++)
         for (var nCell = 0; nCell < 6; nCell++)
              xfa.host.resetData("form1.page1.wrapper.ICC.Table1.Row[" + nRow + "].rate[" + nCell + "]");
    It looks like your table is static (rows do not repeat). One option would be to build up a variable/string with the objects names and then reset that. This is a reset example from one of our forms (http://assure.ly/gBJYj9). Here it is resetting one row and two fields outside of the table:
    // reset page 6 only
    var f1 = Table1.Row1.description.somExpression + ", ";
    var f2 = f1 + Table1.Row1.quantity.somExpression + ", ";
    var f3 = f2 + Table1.Row1.unitPrice.somExpression + ", ";
    var f4 = f3 + positionedSF.myName.somExpression + ", ";
    var f5 = f4 + positionedSF.myAddress.somExpression;
    xfa.host.resetData(f5);
    Hope that helps,
    Niall
    Assure Dynamics

  • In InDesign, how can I name individual cells in a table for interactive PDFs?

    Hi, I'm creating interactive PDFs for a client that include tables with empty cells that will be populated afterwards (depending on what information a customer puts in on a form).
    The forms are created in InDesign and exported as interactive PDFs, but I need to be able to name the live fields (in InDesign) before I export the Interactive PDF, so that I don't have to select each indivual field in the final PDF and rename them.
    The reason I want to be able to do this pre-PDF production, is because the forms will be rebranded over and over again and I don't want to have to rename hundreds of cells time and time again in Acrobat Pro.
    The deveopler who's populating the cells already has predefined names for them, so I can's simply give him the names that Acrobat automatically defines.

    What version of InDesign are you using? If CS6 or CC, you can add fields and enter a name for each in the Name field of the Buttons and Forms panel.

  • How to get selected value from a Table?

    Dear Friends,
    when i select a value form the table i want that value to be passed to controller for deleting that record,
    please help in understaning what code must i write for the same?
    the  "Zpms_Master_Input.Output.It_P9001.Employee_Code" is the first field which i want to capture in some context or temp. variable to pass it on to controller for further porcessing.
    please give a sample code on how do i catch this employee code value and use it for my processing.
    Regards,
    Jack
    Edited by: Jack on Dec 6, 2011 11:20 AM

    Hi Kumar you have perfectly understood my requirement .... i tried coding as per your suggestion but not able to get through ...it seems with little help i would make it... the code i am writing here is as follows.
    input.setMode("DEL" );          
    P9009 inputParaABC = new P9009();     
    //inputParaABC.setEmployee_Code("2134"); ---> when i pass a hard coded employee code value i am able to delete
    //<your variable> = wdContext.current<tableNodeElement>.get<fieldname> ; --> your suggestion
    inputParaABC.setEmployee_Code(wdContext.currentIt_P9009Element().getEmployee_Code()); 
                              --> Here as per your  suggestion i am not getting a <tableNodeElement> prompt by the system, it only gives
                              --> wdContext.currentIt_P9009Element() or .createOutputElement etc but no tableNode
    the above code i have wriiten on the Controller where in am executing the RFC, how do we adjust the TableNodeElement thing in my code?? 
    Please help.

Maybe you are looking for