cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling the Open UIBB is Changing the Ordering of UIBBs.

ronaldo_aparecido
Contributor
0 Kudos

Hi guys

I'm working in NWBC and when i go to next OVP screen I want to control which UIBBs stay open or no.

To do it i go in /PLMU/WDC_FRW_APPL_CNTRL program and i created an ehancement in OVERRIDE_EVENT_OVP method and i created a code like this:

LOOP AT lt_uibb ASSIGNING FIELD-SYMBOL(<ls_uibb>).


CASE <ls_uibb>-config_id.
      WHEN 'ZZMMA_CHANGE_ATRIBUTESMODIF'.


      clear <ls_uibb>-COLLAPSED.


      TRY.
        CALL METHOD io_ovp->change_uibb
        EXPORTING
          is_uibb                  = <ls_uibb>
         iv_section               = lv_sec
         iv_add_uibb_to_new_stack = abap_false.
      CATCH cx_fpm_floorplan .
      ENDTRY.


ENDCASE.
ENDLOOP.

It is working but now the ordering of UIBBs is totally wrong .

Somebody knows why it's ocurring?Or how to solve it.

Thanks.

Accepted Solutions (0)

Answers (0)