on 07-30-2015 12:49 PM
Hi ,
I want to know how to create a Drop Down from a Domain having a value range table in SAP Floor Manager where the values from value range table has to be listed in the drop down .
Regards,
Vicky
Hello Vicky,
Fetch the value range table values using select query and keep those values into one internal table(it_tab_values) .
In GET_DEFINITION method, assign these internal table (it_tab_values) values to the fixed values property of that particular field. Please refer the below code.
Data: ls_field type fpmgb_s_formfield_descr,
lt_field type fpmgb_t_formfield_descr,
** Assign value range to field
IF ls_field-name eq 'XXXX'.
ls_field-fixed_values = it_tab_values.
ENDIF.
append ls_field to lt_field.
et_field_description = lt_field.
hope it will helps you.
Regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.