on 05-19-2009 12:05 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.