on 08-12-2015 4:03 PM
Hi All,
I am facing issue in UpdateEntity Method in Gateway service call.
I am using SAP Gateway Foundation Version : 7.40
I had created Create Deep entity for Customer(Header) and Partner function(Details), which is working fine but same
thing when i am calling PUT Method using UpdateEntity it gives me error :
Inline component is not defined or not allowed (HTTP PUT)
Gateway oData Service for update:
/sap/opu/odata/sap/CUSTOMER1/SOHeaders(CustomerID='0000000547',BNAME='M1018991')
If i pass only header part in XML request then Update entity is working fine but after adding partner function details it is giving above mentioned error
I had attached the XML ..
Kindly suggest ,what could be the issue..
Regards
Vivek
Hi,
Deep insert is possible, but deep update is not possible as this is not supported.
To update parent and child in one Gateway call, you can use $batch feature.
Refer to Where is "update_deep_entity"? | SCN discussion.
Regards
Atanu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Vivek,
You can also try implementing CHANGESET_PROCESS ( Call Data Provider in Defer Mode )
Where you can collect all the Item and Header details and call Update_Entity only once ( Update header and Items details in one go ).
Have a look at the below and check ->
$batch Processing - SAP NetWeaver Gateway - SAP Library
/IWBEP/IF_MGW_APPL_SRV_RUNTIME - SAP NetWeaver Gateway - SAP Library
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.