cancel
Showing results for 
Search instead for 
Did you mean: 

How to show values in a dropdown field in FORM UIBB

0 Kudos

Hi Experts,

Can you please help me showing some values in a dropdown field which is part of FORM UIBB.

I have following code in my IF_FPM_GUIBB_FORM~GET_DATA method in feeder

IF sy-subrc = 0.

     EV_DATA_CHANGED = abap_true.

     LOOP AT lt_flight INTO ls_flight.

       ls_fixed_values-value = sy-tabix.

       ls_fixed_values-text = ls_flight-fldate.

       append ls_fixed_values to LT_fixed_values.

     ENDLOOP.

   ENDIF.

**Only one dropdown is there

   READ TABLE CT_FIELD_USAGE ASSIGNING <ls_field_usages> INDEX 1.

   <ls_field_usages>-FIXED_VALUES = LT_fixed_values.

   <ls_field_usages>-FIXED_VALUES_CHANGED = 'X'.

But it is not working.

Please advice.

Thanks and Regards,

Anu.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Thanks...I got the hint.. The parameter EV_FIELD_USAGE_CHANGED should be marked as abap_true since i changed the meta data of the field.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Anurag,

This code seems to be ok. but ev_data_changed = abap_true should be placed at the end and please check ev_data_changed is cleared any where or not up to final execution..

Thanks

praveen gupta