Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error while generating interactive PDF

Hi all,

For the first application i am creating in web dynpro, i thought of creating a interactive form and calling it in web dynpro screen.

But there's an error...!!

I have created the adobe form in Adobe LIve Cycle Designer.

I have placed the UI element InteractiveForms in the layout tab of the view. And in the Template source have given the name of the PDF file. Have also checked the Enabled check box in the properties.

First when i executed the application it displayed the PDF, but none of the field's where editable or interactive.

Then after searching some PDF got some code which i put in the WDDOMODIFYVIEW method of the view.

Now it gives a Dump..!!!

Kindly suggest if i have missed out on some settings or some more code needs to be written to make the form interactive.


method WDDOMODIFYVIEW.
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(u2018INTERACTIVE_FORM_1u2019).
LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
.
. endmethod.

Thanks in advance, all help will be apreciated.

Former Member
Not what you were looking for? View more on this topic or Ask a question