Quantcast
Channel: SCN : Popular Discussions - SAP Gateway
Viewing all articles
Browse latest Browse all 1195

Create Deep entity - No data found for child node

$
0
0

Hi,

 

I am trying to get date in create_deep_entity. It will triggering the break point but not able to get data for child node.. I have declared the data type and kept same name as navigational from parent to child.. I can see parent record value but not child while doing POST.

 

/sap/opu/odata/sap/ZPA_TIMESHEET_SRV/Emp_Headers('00000016')?$expand=Emp_Times

 

I am using data received by above get request and its triggering my deep entity method.. anyhow not getting data for child line items

 

In above URI.. I can see pernr = '00000016' but not getting data fro Emp_Times. (Emp_Times - also defined as link between Emp_Headers & Emp_Times)

 

IF lv_compare_result EQ /iwbep/if_mgw_odata_expand=>gcs_compare_result-match_equals. ---> Condition hold good

     io_data_provider->read_entry_data( IMPORTING es_data = ls_time_sheet ). ---> no data coming for items..

   ENDIF.

 

Please advice for any suggestion.. I have dont it few times but this time its not giving me output...

 

Maybe I am missing something.. Please let me know if I have to provide more info..

 

 

Regards,

Rajesh


Viewing all articles
Browse latest Browse all 1195

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>