on ā2009 Nov 18 1:22 PM
Hi,
I have displayed an adobe form using web dynpro application. But I have to make certain fields (not all fields) on this adobe form editable. I dont want to make this adobe form interactive because I dont have to save any data in database. The data entered in the editable fields will be saved as a pdf.
What I did so far:
1) The fields which I want as editable, I have given there type as "User entered/ optional" & for rest of the fields I have given type as "Read only".
2) In web dynpro, I have enabled the adobe
3) This is not making the fields editable.
4) If I write the following code in my webdynpro method WDDOMODIFYVIEW, then my data coming from adobe is not getting displayed even though the fields get selectively editable.
*data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
*LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
*
*check first_time = abap_true.
*
*LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT('adobe').
*LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
*LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
Any inputs regarding this??
Thanks & Regards.
Request clarification before answering.
Hello,
I don“t think it is possible to let the user edit the form and have not set the form as interactive. I doubt this. If you need some input, create a view preceding the adobe form view in WD app to collect the data from the users.
Regards, Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sonali,
You cannot have an editable form with interface type as "ABAP dictionary based".
Now if you need the form to be editable for a couple fields as well then also you will have to create an Interactive form which will allow you to edit the required fields. All required "DISPLAY ONLY" fields can be set to read-only while you design the form. And for the other set of fields which are dynamic as per your description you can use the coding in Javascript or FormCalc (as per your convenience) to set their behavior.
For the interactive forms Interface type would be "XML Schema Based".
Let me know if you have any queries.
Cheers,
Kunjal
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.