I tried to implement the code:
DATA:lt_filters TYPE /iwbep/t_mgw_select_option,
ls_filter TYPE /iwbep/s_mgw_select_option,
ls_so TYPE /iwbep/s_cod_select_option,
lt_material_name TYPE TABLE OF ????,
ls_material_name TYPE ????.
*-get filter
lt_filters = io_tech_request_context->get_filter( )->get_filter_select_options( ).
*-get filter for ProductID
READ TABLE lt_filters WITH TABLE KEY property = 'Materialname' INTO ls_filter.
IF sy-subrc EQ 0.
LOOP AT ls_filter-select_options INTO ls_so.
MOVE-CORRESPONDING ls_so TO material_name .
INSERT ls_material_name INTO TABLE lt_material_name .
ENDLOOP.
ENDIF.
But what exactly are the
lt_material_name and the
ls_material_name?
What type should they be ?
Sorry i'm trying to understand what i'm doing here.
Regards,
Bart