cancel
Showing results for 
Search instead for 
Did you mean: 

Create DropDown from Domain in Sap FPM

former_member374952
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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