Skip to Content
0

Get_expanded_entity- child_get_entityset is being called.

Jun 27, 2017 at 07:17 AM

64

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Krishna Kishor Kammaje
Jul 01, 2017 at 05:16 AM
0

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.
Share
10 |10000 characters needed characters left characters exceeded