cancel
Showing results for 
Search instead for 
Did you mean: 

Get_expanded_entity- child_get_entityset is being called.

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

kammaje_cis
Active Contributor
0 Kudos

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.

Answers (0)