DATA(lo_tech_request_context) = CAST /iwbep/cl_mgw_request( io_tech_request_context ).
DATA(ls_request_details) = lo_tech_request_context->get_request_details( ).
*** modify the structure ls_request_details-technical_request-filter_select_options ***
CLEAR cs_request_details-technical_request-navigation_path.
CLEAR: cs_request_details-technical_request-filter_expressions, cs_request_details-technical_request-filter_functions.
DATA(lo_med_provider) = /iwbep/cl_mgw_med_provider=>get_med_provider( ).
DATA(lo_model) = lo_med_provider->get_service_metadata(
EXPORTING iv_internal_service_name = '****SRV'
iv_internal_service_version = '0001' ).
ro_tech_request = NEW /iwbep/cl_mgw_request(
ir_request_details = REF #( is_request_details )
it_headers = VALUE #( )
io_model = CAST #( lo_model ) ).
TRY.
CALL METHOD super->xus4gxc_malo_mel_get_entityset
EXPORTING
iv_entity_name = iv_entity_name
iv_entity_set_name = iv_entity_set_name
iv_source_name = iv_source_name
it_filter_select_options = it_filter_select_options
is_paging = is_paging
it_key_tab = it_key_tab
it_navigation_path = it_navigation_path
it_order = it_order
iv_filter_string = iv_filter_string
iv_search_string = iv_search_string
io_tech_request_context = lo_new_tech_request_context
IMPORTING
et_entityset = et_entityset
es_response_context = es_response_context.
CATCH /iwbep/cx_mgw_busi_exception.
CATCH /iwbep/cx_mgw_tech_exception.
ENDTRY.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
14 | |
12 | |
11 | |
11 | |
9 | |
9 | |
9 | |
8 | |
7 | |
6 |