cancel
Showing results for 
Search instead for 
Did you mean: 

OVS Search help - Change the phase indicator manually

Former Member
0 Kudos

Hello,

I have an input field with OVS search help.

In the OVS event handler, I want to change the phase indicator manually, from 1 to 2.

How can I do it?

Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

try this.

if  ovs_callback_object->phase_indicator GE 1.

ovs_callback_object->phase_indicator =  ovs_callback_object->phase_indicator + 1.

endif.

CASE ovs_callback_object->phase_indicator.

     WHEN if_wd_ovs=>co_phase_0"configuration phase, may be omitted

*   in this phase you have the possibility to define the texts,

*   if you do not want to use the defaults (DDIC-texts)

     WHEN if_wd_ovs=>co_phase_1"set search structure and defaults

*   In this phase you can set the structure and default values

*   of the search structure. If this phase is omitted, the search

*   fields will not be displayed, but the selection table is

*   displayed directly.

*   Read values of the original context (not necessary, but you

*   may set these as the defaults). A reference to the context

*   element is available in the callback object.

     WHEN if_wd_ovs=>co_phase_2.

*   If phase 1 is implemented, use the field input for the

*   selection of the table.

*   If phase 1 is omitted, use values from your own context.

     WHEN if_wd_ovs=>co_phase_3.

*   apply result

  

       ENDIF.

   ENDCASE.

Former Member
0 Kudos

It is give an error:

Write access to the READ-ONLY attribute "PHASE_INDICATOR" is not allowed outside the class/interface