Hi Experts!
I built a simply Webdynpro with an "ADOBE FORM" object. The Form, is also quite simple (at the moment).
But I am having a trouble when the Form is launched. I only can see its Fields as a "READ ONLY". It is not possible to modify anything there.
Here, I describe the steps that I follow.
I create a very simple WebDynpro application. In its WD View, exist an unique Object (Adobe Interactive Form).
In that object, I set the properties:
"Data source": a context variable type "my structure". "My structure", is a simple structure with a couple or three fields, let´s say PERNR, BUKRS, WERKS... It is linked to the Form Interface (ABAP DICTIONARY-BASED INTERFACE). So in this way, the link between my WD and the AdobeInt.Form is working.
"PDF Source": a Context variable type XSTRING.
"Template Source": here I have set my Int.Form. Currently, it only contains a couple of fields
"Enabled": True.
"Read Only": False.
In the AdobeForm, I have draged & droped those 2 or 3 fields, save it, and activate it. I guess nothing more is needed for my test.
And at last, in the View´s method WDDOINIT, I am reading one of those fields, let´s say the employee number (PERNR), and I set by hardcoding its number (let´s say -> 00000001).
Until here, everything seems to work fine. When I launch the WD test, the Adobeform appears, at the moment, with only one of my fields (Employee - PERNR), and its value is filled in with '00000001'.
But now, I would like to write something by myself. And when I try to do it, it is not possible! Field PERNR, is displayed as a "READ ONLY".
Does someone knows what is happening here? I have seen in an exemple called "WDR_TEST_ADOBE" that it must be posible to have "OPEN FIELDS" in the adobeform...
Am I doing anything wrong? Or am I doing any mistake?
Thank you very much in advance
Carles