on 03-21-2013 9:45 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
6 | |
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.