Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

Deep insert JSON error

$
0
0

Dear all,

    Deep insert functionality works like a charm for XML but not for JSON. I dont know where i went wrong. Can you please help?

    I referred similar threads on this and I removed "results" tag from the request.


JSON data:


var data_json = {

  "d":{

  "__metadata":{

  "uri":"http://xxxx.xxxx.com:8000/sap/opu/odata/sap/Z_SRV_CL_FLIGHT_DETAILS/Airline_Details(CARRID='AA',CONNID='1234')","type":"Z_SRV_CL_FLIGHT_DETAILS.FlightDetails"},

  "CARRID":"AA",

  "CONNID":"1234","FL_TO_BOOK_LIST":[{

  "__metadata":{  "uri":"http://xxxx.xxxx.com:8000/sap/opu/odata/sap/Z_SRV_CL_FLIGHT_DETAILS/Booking_Details(CARRID='AA',CONNID='1234')","type":"Z_SRV_CL_FLIGHT_DETAILS.BookingDetails"},

  "CARRID":"AA",

  "CONNID":"1234",

  "BOOKID" : "8000"}]}};



Request payload is attached.


Should I implement this SAP note  # 1874920 for the following system release too ?

GW_CORE 200 0005

IW_BEP 200 0005

IW_FND 250 0005


Please suggest .


Regards

Prabaharan


Viewing all articles
Browse latest Browse all 2823

Trending Articles



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