Interactive form in WD4A - dynamic table - adding rows
I have a problem with dynamic table in WD4A. User can add row to table by clicking a button on form, but added rows are not transfered to mapped context node in my web dynpro application. I have made a lot of searches on SDN and I have found a lots of threads, but no answer.
Maybe this should be a way:
https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/9121. [original link is broken] [original link is broken] [original link is broken] - Read adobe data manually and create context element manualy too.. But I think this should be a part of webdynpro/interactive forms framework.
Thanks for any answer!
Ravi Devarasetty replied
You can take a context attribute (string) in your form context, and for your buttons in the form, in click event set the value. like
STATUS.rawValue = "1";
And in your submit event read this context attribute and you can use CASE like when 1 , when 2 etc and you can execute your code accordingly.
it should solve your problem.