on 04-25-2008 12:12 PM
Hi all,
I created Dynamic table in ADOBE form , the Form Contains Table and three buttons, one button for Save action , remain others for Table's row insert and delete purpose. After that used this form in to Weddynpro ABAP using Interactive UI Element.
My problem is Save button working fine, but Insert and Delete rows not working in Webdynpro level. but those two button's working correctly in SFP( Form Builder ) .
Please help me...
Regards,
Vijay
For the form buttons to work on-line in your WebDynpro app, you need to change the PDF form to be Dynamic:
if(firstTime){
// We need to set the PDF to be Dynamic, for the form JavaScript code to work
IWDPDFDocumentInteractiveFormContext pdfContext =
WDPDFDocumentFactory
.getDocumentHandler(wdThis.wdGetAPI(), "InteractiveForm")
.getDocumentContext();
pdfContext.setDynamic(true);
}
In this code segment, "InteractiveForm" is the UI id.
I was able to get that far, but I although I add subforms dynamically via javascript, the mapped WebDynpro context node doesn't pick up any new elements.
ie: if I start with two WD context elements (0..n) cardinality, then add a third via the form JavaScipt button, I see changes only in the two context elements when I submit. A third context element isn't created or populated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.