on 09-16-2008 3:00 PM
Hi to all,
my scenario is: I have a java webdynpro with a view with an interactive form of 2 pages. I inserted a button on the pdf which duplicates the second page (using java script). Then there is the "submit to SAP" button which transfers the content of the binary context (I bound it to the pdfSource attribute of the interactive form) to an R/3 system. The fact is that when then I read the "binary" file from R/3, I find only the 2 pages and not the pages I added with my button.
How can I do? It's important for me the possibility of having more second pages.
Sorry for my english,
Thanks in advance
Enrico
Hi Enrico,
If I understand correctly, you are calling the addInstance() on click of the button that you placed in your form and when you add more pages using this button and save the fikle and open it again, the newly added instances are not displayed in the form. Am I right?
If this is the scenario, the you need to store the value of the forms created using this button and call the same addInstance() method in the initialize event of your form. I.e place the same code that is there in click event of the button inside the Initialize event of the form with the number that we have saved in some hidden field.
Hope this resolves your issue.
Cheers,
Arafat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Enrico,
I dont think it should be due to some property of the IF.
But the scenario is when you create instances and save the form, instances hat you created dynamically remains in the form but they are hidden. You just need to call the method to show them again.
Hope this helps!!
Regards,
Arafat
Hi Erico,
Check the property "Mode" of the Intercative Form UI in the view .
Change it to "updateDataInPdf"
Refer: [Interactive Form API|http://help.sap.com/saphelp_nw04s/helpdata/en/1a/ff773f12f14a18e10000000a114084/frameset.htm]
Hope this helps.
Regards,
Reema.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.