Sunday, March 25, 2018

Gateway Debug Points lo_uri io_uri, key predicates


Class:   /IWCOR/CL_DS_HDLR_ROOT
Method: DISPATCH

  TRY.
      lv_resource_path io_context->get_resource_path).
      lt_parameter io_request->get_uri_query_parametersiv_encoded abap_false ).
      lo_uri /iwcor/cl_ds_uri_facade=>parse_uri(
        io_edm lo_edm
        iv_resource_path lv_resource_path
        it_query_parameter lt_parameter
      ).
    CATCH /iwcor/cx_ds_edm_error INTO lo_edm_error.
      RAISE EXCEPTION TYPE /iwcor/cx_ds_internal_error
        EXPORTING
          previous lo_edm_error.
    CLEANUP.
      IF lo_uri IS BOUND.
        io_context->set_objectiv_name /iwcor/cl_ds_cntxt=>gc_object_uri io_object lo_uri ).
      ENDIF.
  ENDTRY.



      /iwcor/if_ds_uri~key_predicates parse_keyiv_key_predicate iv_key_predicate io_entity_type lo_entity_type ).

      IF mt_segment IS NOT INITIAL.
        handle_nav_path_optionsio_from_entity_set io_entity_set ).
      ELSE"URI Endpoint Entity
        /iwcor/if_ds_uri~uri_type /iwcor/if_ds_uri~gc_uri_type_2.
      ENDIF.



No comments:

Post a Comment