Skip to Content
0
Former Member
Nov 18, 2009 at 01:22 PM

Making selective fields editable in adobe form [using web dynpro]

452 Views

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.