on 10-25-2008 6:33 AM
Hi,
I am using adobe form with webdynpro abap.
I have requirement to add new row to table when user click on some button. So for that i have used the addInstance() method for the table row and its working fine, it adds new row to table.
But these newly added rows are not getting pass to webdynpro.
Regards,
Vikram
Hi Vikram,
When you do an addInstance(), a new row instance of that Table UI element, is created in the Form.
However, for the data that you will enter into this new row, a corresponding context element(to which the row is mapped) instance must be present in the webdynpro view too.
Hence, make sure that you create an instance of the context node element.
It should work now.
Regards,
Hanoz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vikram,
Recheck the binding of your form fields to WebDynpro context in your form.
Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chintan,
Table binding is correct. What i observed if i pass empty row from webdynpro and in form if i set data to those row than data is pass to webdynpro but when i add row with addInstance method and set data to newly create row data is not getting pass to webdynpro.
Do i need to do something more than just calling addInstance method?
Regards,
Vikram
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.