cancel
Showing results for 
Search instead for 
Did you mean: 

Interactive form and web dynpro abap

Former Member
0 Kudos

Hi,

I'm working on a web dynpro application that embeds an interactive form and a Button.

When I sent the interactive form's property "enabled" of the interactive form to false, the form is displayd.Then I click the Button, the Button can response and perform ABAP Method.

When I sent the property "enabled" of the interactive form to true, the form is displayd.Then I click the Button, there is no response, and i can't debug the Button Action method.

Do you know why?

Kind regards

flysky

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

check for the library controls and also look for the method

SET_LEGACY_EDITING_MODE, in the interactive adobe form

regards ,

amit

Former Member
0 Kudos

Hi,

The button in the webdynpro not in the inactive form.

Thank you.

Best regards,

flysky

former_member188831
Contributor
0 Kudos

Hi,

try this code keep it in modifyview.

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(u2018<<ID_OF_YOUR_UIELEMENT>>u2019).
LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
 
endmethod.

and check other things which are given in this thread.

[;

all the best.

Regards,

Mahesh.Gattu

Former Member
0 Kudos

Hi Mahesh.Gattu,

Thank you very much!

Best regards,

flysky

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

just go thru this thread.

i hope it helps

thnks