We receive unit Test errors from the ABAP UNIT RUNNER.
LTC_RAP_NODE GET_FIELDS_FROM_ABSTRACTENTITY Exception Error <CX_XCO_NEWS_EXCEPTION>
ENDTRY.
TRY.
mo_cut->set_is_root_node( ).
mo_cut->set_implementation_type( zdmo_cl_rap_node=>implementation_type-unmanaged_semantic ).
mo_cut->set_data_source_type( zdmo_cl_rap_node=>data_source_types-cds_view ).
mo_cut->set_entity_name( gc_root_entity_name ).
mo_cut->set_object_id( CONV #( gc_abstract_entity_object_id ) ).
mo_cut->set_field_name_etag_master( gc_abstract_entity_etag_master ).
"ZDMO_agency
**mo_cut->set_cds_view( CONV #( lv_view_name ) ).**
mo_cut->get_fields( ).
DATA(lt_fields) = mo_cut->lt_fields.
"cl_abap_unit_assert=>fail( msg = 'Exception ZDMO_cx_rap_generator=>root_cause_exception not raised' ).
cl_abap_unit_assert=>assert_not_initial(
ENDMETHOD.
It seems that the data type TRKORR is not accessible through the library - maybe because feature toggle A4C_OLD_REPOSITORY_APIS has not status released