Skip to Content
0
Former Member
May 19, 2015 at 05:19 AM

Confirm Production Order App: not picking assigned User Variants

72 Views

Hi Guys ,

i have activated Production Order Confirmation App and also finished necessary configuration actions like variant creation and assign variants to users.

But when i run the app , its not picking assigned variants, did anyone facing the same issue ?

method: PRODUCTIONORDE01_GET_ENTITYSET

* Get the filter details of the QUERY request

lo_filter = io_tech_request_context->get_filter( ).

lt_filter_select_options = lo_filter->get_filter_select_options( ).

if lt_filter_select_options is not initial.

loop at lt_filter_select_options into ls_filter.

case ls_filter-property.

when 'VARIANT'.

if ls_filter-select_options is not initial.

read table ls_filter-select_options into ls_filter_range index 1.

if ls_filter_range-sign = 'I' and

ls_filter_range-option = 'EQ'.

lv_variant = ls_filter_range-low.

try.

call method me->get_production_orders_hdr

exporting

iv_variant = lv_variant

iv_count_only = ' '

importing

et_production_order = lt_result.