Quantcast
Channel: SCN : Discussion List - SAP Interactive Forms by Adobe
Viewing all articles
Browse latest Browse all 1237

Fields appear as "Read Only" in an Int.Form called from a WD

$
0
0

Hi Experts!

I am having a doubt in an Adobe Int.Form, that is called from a WD application.

The fields that are in my Form, always appear 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 WD 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 drag & 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".

Someone knows what is happening here? I guess it should be possible, to activate as a "EDITABLE" that field in my Form.

 

So here is my doubt.

Am I doing anything wrong? Or am I doing any mistake?

 

 

Thank you very much in advance!


Viewing all articles
Browse latest Browse all 1237

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>