New rows in Adobe table are not added to WD Context

Hi experts: we have several Adobe Interactive forms.  Each has a table.  the user can add rows to the table, but when they do, the WD ABAP context does not get additional rows added to it. The new rows appear on the form, but not in the context.   If users change values in existing table rows, those values are changed in the context; however, new rows do not show up in context.
Our Hierarchy Layout:
P1
--TableSub
InnerSub
Table1
Row1
<table fields>
Remove (button)
Add (button)
The JavaScript for the buttons: ADD button...
P1.TableSub.InnerSub.Add::click - (JavaScript, client)
this.parent.instanceManager.addInstance();  // this adds a row, context not changed...
xfa.form.recalculate();
Remove button:
P1.TableSub.InnerSub.Remove::click - (JavaScript, client)
P1.TableSub.InnerSub.instanceManager.removeInstance(this.parent.index);  // this keeps same # of context rows, but  "removed
                                                                  // rows" have data replaced by duplicate data of another row; can deal with this issue...
xfa.form.recalculate();
The WD Context node has Cardinality 0..n  Selection: 0..n  (have tried 0..1, too).  No difference in context with additional form rows.
Anybody, any ideas as to why # of rows in WD Context is not being altered by the Interactive Form?  Thanks!
Edited by: Jack Hofmann on Aug 2, 2010 11:25 PM

Hello,
This question is asked many times in this forum.
These links might help you:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/802f0ed1-a17a-2c10-7db4-d515a5b047ed
Re: Table control in Adobe forms
Adobe form from webdynpro : Getting a single row in the table
Thanks & Regards,
Omkar Mirvankar.

Similar Messages

  • Server 2010 SP2 - New values in lookup table are not updated in the user client

    Hello,
    I added a value to a lookup table in the PWA.
    Most users see the new value in the field based on this lookup table.
    One user doesn't see the update for 2 weeks now. He did close and opened the application over these 2 weeks.
    Any Idea?
    Thanks,
    Barak

    Hi Barak,
    I am assuming the issue is with PWA? Has the user tried to access PWA from a different machine/browser?Other things you can try are:
    - Reset IE settings
    - CTRL+F5 (on the page)
    If it is MS Project that doesn't have the new value, try closing MS Project and re-open it
    Hope this helps
    Paul

  • Problems with adding a new row in my table

    Im an ADF beginner but I thought it would be simple to to do some basic CRUD stuff in ADF. Im now even struggling when i try to add a new row to my table.
    Seems that the primary key id is not set correctly...
    could someone help?

    Hi,
    Have a look to this page CREATE SEQUENCE
    Regards,
    Sébastien
    Creating a Sequence: Example
    The following statement creates the sequence customers_seq in the sample schema oe. This sequence could be used to provide customer ID numbers when rows are added to the customers table.
    CREATE SEQUENCE customers_seq START WITH     1000 INCREMENT BY   1 NOCACHE NOCYCLE;

  • Problem in adding a new row in a table.. plsss hlppp

    Hi Friends,
    I have a table defaulted to 4 rows. I have a add button to add a new row in the table.
    When i have already 4 rows in table, and when i click add its adding that 5th row correctly( and i used set_lead_selection for this new row ).
    But i want to automatically make a next page once i hit the ADD button here. Each time now i m hitting next page then only  able to see hte 5th row. I need once ADD is clicked, i want to see the 5th row visible..
    Can someone tell me how to code or do this
    thanks friends,,,
    Niraja

    hi niraja,
    Plz refer to the following code:
    method onactiononadd .
    node_material type ref to if_wd_context_node.
    elem_material type ref to if_wd_context_element.
    stru_material type sflight.
    node_material =  wd_context->get_child_node( name = 'ANNA' ).
    elem_material = node_material->get_element(  ).
    if ( elem_material is initial ).
    call method node_material->create_element
    receiving
    element = elem_material.
    endif.
    call method elem_material->get_static_attributes
    importing
    static_attributes = stru_material .
    call method node_material->bind_structure
    exporting
    new_item = stru_material
    set_initial_elements = abap_false.
    endmethod.
    i hope it helps
    regards
    arjun

  • HT1386 purchased new songs from itunes and when I clicked on the Sync button those new songs are not added to my ipod nano. Have any idea how to resolve this problem?

    purchased new songs from itunes and when I clicked on the Sync button those new songs are not added to my ipod nano. Have any idea how to resolve this problem?

    Do you have the right boxes checked to sync the music to your iPod?
    iTunes: Syncing media content to iOS devices and iPod
    Do they play in iTunes on the computer?
    Have you successfully synced music form this iTunes library/computer before?

  • Trying to sync but the 2 new songs are not adding, syncd ok yesterday

    i synced all my songs recently, but bought 2 yesterday but they are not adding. They are ticked, i know i will be almost out of space but i think i have enough left as it is not erroring. The screen on itunes seems to sync successfully i.e no errors, but it does not show e.g. 1 of 2 songs loading.... etc. its as if it just doesnt find any new songs to load.

    is the option ticked where it says sync all checked songs
    and are both songs ticked

  • Creation of new Row in Tree Table

    We are creating a new row using CreateListener which is written in Bean, after creating the row, we are adding it to the iterator and the new row is not getting highlighted and focus is not in new row in the table by default. It takes an click to make it editable. 'setActiveRowKey()' method didnot help here which is used in the af:table component to achieve the same.
    Any pointers regarding this issue would be helpful..
    Thanks,
    Shruthi

    Hi Max:
    According to what you described, it's really wierd. An ADF table is Surrounded by a panelCollection or not doesn't matter in terms of CreateInsert operations, I think. Also each step you said OK doesn't mean that step is 100% problem free towards your final goal. For example, when you drag and drop and ADF table onto a JSF page, you forget to turn on 'row selection', it will be OK, you won't get any error message, but later on when you find that you need to turn it back on, you have to go back to JSF page source, to manually added codes to do so.
    The simpliest solution and quickest one is to reinitiate a clean ADF project and do it all over again. It's simple straightforward in my view. Probably don't use PanelCollection first, just drop your ADF table on a form, or af:panelForm, but make sure your table and 'CreateInsert' button is surrounded by a form, otherwise, when you click on 'CreateInsert', nothing will happen. When everything works, then probably back it up and replace your form or af:panelForm with panelCollection. See how it goes.
    Thanks,
    Alex

  • Focusing a field/column in the new row of adf table

    Hi all,
         I am using JDeveloper 11.1.2.4.0. and UI-Shell Template in Main application and sub applications are added to this master application as ADF library jar files. Application is working fine.
    I am trying to focus to make focus on a column in the newly created row in one of the sub application by referring the below link
    http://adfnbpel.wordpress.com/2013/08/14/focusing-a-fieldcolumn-in-the-new-row-of-adf-table/
    I created a single application and found that its working
    But in my application focus is not working.
    When i checked the java script by using FireBug console it is found that comp = AdfPage.PAGE.findComponent(‘”+inputId+”‘); is getting as "undefined" , where inputId = table.getClientId(facesCtx) + “:” + rowId + “:” + “it3″; I am getting the exact row id also. When i tried with by passing the table id as input id like inputId = table.getClientId(facesCtx) ; the fire bug console then showing the table id. So its sound strange.
    What may be the cause of not able to find the input text it3 by using findComponent ?
    Is any body can suggest a solution for this.
    Thanks in advance,
    Gijith

    Hi,
    read up about "findComponentByAbsoluteLocator" in http://www.oracle.com/technetwork/developer-tools/jdev/1-2011-javascript-302460.pdf
    or check ...
    AdfPage JS doc
    Frank

  • Create a new row in a table without using add new row button

    I want to add a new row to the table without using the add new row button of the table. I'm not able to display default row in the table. Though if click on apply the record appears after saving in the database. Any thoughts how to implement this functionality.

    Here is what you have to do.
    1) You have to handle this in processRequest()
    2) In the AM code , u need to check if there is already a row exisit or vo is blank
    if (vo.getFetchedRowCount() == 0)
    // first time
    vo.setMaxFetchSize(0); // THIS IS REQUIRED.
    Row row = vo.createRow();
    vo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    else
    //If already rows are there then you suppose to insert in the end
    // i assume you would have execute your vo
    YourVORowImpl row= (YourVORowImpl)vo.getRowAtRangeIndex(0);
    vo2.insertRowAtRangeIndex();
    It should work.

  • How to add new row to adf table progrmatically

    Hi,
    I have a bean with a list and correspoding getter & setter methods inside it.
    I created a datacontrol out of the bean and I am displaying af:table in the ui
    binded to this list.
    Ex:
    public class StudentBean {
    private List<Student> students;
    // getter & setter methods.
    jsp
    <af:table value="#{bindings.students.collectionModel}" var="row"
    rows="#{bindings.students.rangeSize}"
    emptyText="#{bindings.students.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.students.rangeSize}"
    rowBandingInterval="0"/>
    How to add a new row programitically to this adf table.
    I dragged and dropped 'Create' from operations menu on to jsp.
    But on click of that.no new row is being added to the current table.
    On click of a button in u.i I want to add a new row to the table.
    Thanks,
    Praveen

    Hi,
    The source code is as below.
    <af:table value="#{bindings.students.collectionModel}" var="row"
    rows="#{bindings.students.rangeSize}"
    emptyText="#{bindings.students.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.students.rangeSize}"
    rowBandingInterval="0"
    filterModel="#{bindings.rscGroupsQuery.queryDescriptor}"
    queryListener="#{bindings.rscGroupsQuery.processQuery}"
    filterVisible="true" varStatus="vs"
    selectedRowKeys="#{bindings.rscGroups.collectionModel.selectedRow}"
    selectionListener="#{bindings.rscGroups.collectionModel.makeCurrent}"
    rowSelection="single" id="t1"/>
    <af:commandButton actionListener="#{bindings.Create.execute}"
    text="Create" disabled="#{!bindings.Create.enabled}"
    id="cb1" partialTriggers="t1"/>
    Please let me know where am I doing wrong?
    On click of this button,it is not adding a row dynamically.
    Thanks,
    Praveen

  • Delete Rows from T1 which are Not in T2

    Hi
    I've 2 Tables like below
    T1
    N1
    N2
    2
    11
    2
    22
    3
    33
    8
    44
    8
    88
    T2
    N1
    N2
    2
    22
    8
    88
    If I Run Delete query, I must delete Rows from T1 which are Not in T2
    For example, I must delete Rows 1,3,4 from T1
    So how to write that delete query? Please advice

    Delete from T1
    Where not Exists (select * from T2 Where t1.N1=t2.N1 and t1.N2=t2.N2)
    --or
    Delete t
    From t1 t
    left JOIN t2 m
    ON m.N1=t.N1 and m.N2=t.N2
    WHERE m.N1 is null and m.N2 is null
    --Or
    ;With mycte as
    select N1,N2 from T1
    Except
    select N1,N2 from T2
    Delete t
    From t1 t
    INNER JOIN mycte m
    ON m.N1=t.N1 and m.N2=t.N2

  • New Row in a Table View

    Hi,
    I need to add a new row to a table without using any NEW button. The first column in my table is a drop down . Whenever user selects a value in drop down a new row should be created .
    Also am not able to see drop down options throughout my tableview , Only for created rows am able to see drop downs. How do i activate that ?
    Plz help me....
    Regards,
    Divya

    HI
    GOOD
    go through this link,hope this ll help you to solve your problem
    http://help.sap.com/saphelp_nw2004s/helpdata/en/28/4bae407e69bc4ee10000000a1550b0/content.htm
    thanks
    mrutyun^

  • Addig a new row in a table in Ess/cats

    Hello all,
    I am working on Ess/cats application.
    By default it is displying me 8 rows.I have to put a button to add a new row in the table.
    but i could not find a way to add a new row.
    Thanks and Regards.
    Punit Pawar

    Hi,
    In the onAction of button Add one more element in node which is bounded to the table. You can use following code.
    public void onActionAddRow(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionAddRow(ServerEvent)
           IWDNodeElement element = wdContext.node<Node_Name>().create<Node_Name>Element();" Here Node_Name is the name of node which is bounded to your table.
           wdContext.node<Node_Name>().addElement(element);
        //@@end
    I hope it helps.
    Regards,
    Rohit

  • HR Tables are not updated due to compression error

    We have a custom program that program used to copy data from Production system to other QA systems. The program uses the FM
    Table_decompress to decompress the file downloaded from Production and update the HR tables like PA* series in QA.
    While uploading the those tables from the file it updates half of the tables  and other tables are
    not updated as FM Table_decompress produces a exception saying "Compression error". what would be the problem here?
    Edited by: Ganesh Kumar on Feb 2, 2011 10:14 AM
    Edited by: Ganesh Kumar on Feb 2, 2011 10:25 AM

    I have provided some information below that may help.
    Step 1. Update the device using VZ Access manager. Instruction below:
    http://support.vzw.com/clc/devices/knowledge_base.html?id=14636
    Step 2. Unplug the device (if tethered), restart the computer, and try another USB port (if applicable).
    Step 4. Deleting and recreating dial-up connections.
    http://support.vzw.com/clc/devices/knowledge_base.html?id=23830
    Step 5. Try to connect.
    Step 6. (If Step 5. Fails) Disconnect, unplug the device, completely uninstall the current version of VZ Access Manager, and restart  the computer.
    Step 7. Download VZ Access Manager from our website www.vzam.net
    -On the main page, select Supported Devices on the left hand side.
    -Under the Data Devices like for Verizon Wireless USB 760 (second from the bottom of the row)
    -Select the link under the Windows 7 column for the Verizon Wireless USB 760
    -Click Download Now and Save to the desktop
    Step 7. Install VZ Access manager using the downloaded file
    -Follow the step up instructions
    -Plug in the device when prompted
    -Try to connect
    I hope this helps.

  • How to add new rows in Advanced Table along with attribute value?

    Hi,
    I have one advanced table that contain one messageChoice and messageTextInput field.
    I want to add new rows in advanced table. I can able to add rows using the AddMoreRows button in the footer of the advanced table,
    but I want to add attribute value(contactId) each time when new row created.
    contactId I am getting from pageContext.getParameter("contactId")
    How to achive this? Please suggest.
    Thanks & Regards,
    Sunita

    Hi,
    There are two ways to do it.
    1. Use create method of entity object, create method fires whenever you creates new row.
    2. Handle the event raised by addanotherrow button and write logic there to initialize contactid as you are getting contactid from pageContext so I will suggest you to use this method.
    if (tableBean.getName().equals(pageContext.getParameter(SOURCE_PARAM)))
    && ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM)))
    //write your logic here to default the contact id
    Hope this will help.
    Regards,
    Reetesh Sharma

Maybe you are looking for

  • How to monitor contents of sub-folders in a Folder Action?

    Hello. I am wondering how I might read a folder's contentModDate within Terminal, i.e. from the command line and/or within a Folder Action. This is the situation: I am running Periscope Pro (PP) for motion-detected videos, which by default, places th

  • DBMS_XMLQuery behavior when using stored function within cursor select

    Consider the following SQL Statement select t1.id , t1.name , cursor ( select t2.id from tab t2 where t2.t1_id = t1.id and validate(t2.xyz,:bd1) = 1 from tab t1 where t1.id = :bd2 DBMS_XMLQuery is used to create a context and to bind the appropriate

  • In Font Book OS 10.8.5 how do you insert a character with Font like you could in 10.6

    In OS 10.6 I could go >edit>special characters: view glyph, glyph Catalog, Font: <font name> and I would see a table of each character in a font. Then, I could select a character and either drag it to my document or click Insert Font in the lower rig

  • Database layout with XML

    I'm a java dev, not an oracle admin, so please be gentle! I've mapped the physical structure of 10 types of devices to 10 XML schemas. These devices have a lot of common attributes (id, location, usage, etc) so I've kept these out of the schemas and,

  • NonLinearFitWithMaxIters does not give correct results for phase

    Dear all, I am trying to fit a sin cuve with NonLinearFitWithMaxIters function of labwindows, but the results given by this function are dispersed a lot (the function does not give same results). In fact, I have two waveforms signals v and i (of 104