on 06-05-2008 12:06 PM
Hi,
I have been using the dynamic tables in Adobe Interactive forms(PDF) on Webdynpro for Java successfully. When I tried the same in WebDynpro for ABAP, the dynamic table is not working. i.e. when I click 'ADD' button, nothing happens(actually a row should be added to the table).
When i place the JScript code to display a message box in the ADD button, I am getting the message box, but a row is not getting added to the table.
Note:
The same form is working fine in the preview, the problem occurs when at runtime(when I deploy the WebDynpro ABAP application)
script used for adding a row to the table:
SubformTable.Table1.Row1.instanceManager.addInstance(true);
Expecting a solution form you...
Thanks,
Prabhakar.
To be honest I'm not sure why there would be any difference between WDA and WDJ for this activity becuase it is all client side. Are you sure your form is in interactive mode? That is the only reason I could think why it would not be working at runtime. You might make sure that the form is type ZCI and you have included the JavaScript header coding. I suppose if the form isn't initialized right, other scritping might be failing at runtime.
As a possible work around, you could always make your add button a Web Dynpro Submit. You would return to the server and in the event handler you could add the extra row to the context. The performance wouldn't be as good as doing this on the frontend, but it should certainly work.
Incidentaly your closing statement of "Expecting a solution form you..." - seems rather rude.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mr. Thomas,
I am sorry, for making that statement.
As you have said, creating an empty element to the node, while clicking 'Add' button, adds a row to the Dynamic Table in Adobe Interactive form. But, the form renders every time we click 'Add' or 'Delete' button because of the server roundtrip.
In WebDynpro for java, we need not create an empty element to the node, for just adding a row to the dynamic table in Adobe Interactive Form. But, In WebDynpro for ABAP, it requires to add an empty element to the node.
Thanks for your reply.
Regards,
Prabhakar.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.