cancel
Showing results for 
Search instead for 
Did you mean: 

Adobe interactive form in wd abap

Former Member
0 Kudos

hi,

When i set the enabled property to true for the interactive form in WD ABAP, it either doesnt display the form or the form comes in display mode,

Can you please tell me know if any,

Thanks,

Saujanya

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Saujanya,

The interface of the UI element InteractiveForm contains the method

SET_LEGACY_EDITING_MODE, which in turn contains a Boolean parameter. The form is

then ready for input when

● The parameter has the value X.

● The property enabled in the UI element InteractiveForm is selected.

The following code fragment shows how this input readiness can be set up:



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).   
*Replace INTERACTIVE_FORM_1  with  Property 'ID' of your UI element InteractiveForm
LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).

endmethod.

Regards,

Runal

Former Member
0 Kudos

Hi,

thanks for your input. The issue was because of library controls, as i a result i couldnt edit it.

Pbm is solved.

Saujanya