Skip to Content
avatar image
Former Member

Get_expanded_entity- child_get_entityset is being called.

Hello All,
I'va implemented "get_expanded_entity" method and have defined all the navigation and association well but when I'm calling the service it hits the "get_expanded_entity" method but during "Copy_data_to_ref" method it gives an error that "child_get_entityset" is not implemented.

P.S. - I've sent the navigation to et_expand_tech_clauses.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jul 01, 2017 at 05:16 AM

    Hi Suubham, It just means that et_expand_tech_clauses is not filled right. Try this code.

    *============"Tell the framework that all required fecthing is done and not to do generic expand. ===============    DATA: lo_request TYPE REF TO /iwbep/cl_mgw_request.    
    lo_request ?= io_tech_request_context.    
    DATA(lv_expand) = lo_request->/iwbep/if_mgw_req_entityset~get_expand( ).   
    TRANSLATE lv_expand TO UPPER CASE.    
    SPLIT lv_expand AT ',' INTO TABLE et_expanded_tech_clauses.
    Add comment
    10|10000 characters needed characters exceeded