on 10-07-2017 5:07 PM
Hi Experts,
We are trying to achieve Deep insert in Offline hybrid mobile application. The application is working fine in desktop with the creation of deep insert(For Eg. SO Header and multiple line items). The same when we tried in offline Hybrid native application it is not working instead it throws an error "Deep insert is not possible"(Checked in console through USB debugging). Please let me know, Why HCPms framework is not handling deep insert? What is the best approach to do that so?
It will be very much helpful if you can share some points on this.
viru48
midhun.vp
jitendrakumar.kansal
Thanks & Regards,
Muthu.
Hello MUTHU KUMARAN ,
Please note that Offline OData does not support deep insert operations when at least one end of the relationships is “to many”
You can check here for more detailed information:
Regards,
Jitendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello MUTHU KUMARAN,
I didnt answer to your last query, Here it is:
How to deep insert (POST) to 1:n relationship in offline mode:
1. Make a POST call for SO header creation, you would get a local ID
2. To this local ID, make a POST call for respective Items creation
POST SalesOrderHeader('localID')/Items CurrencyCode=ABC
Regards,
JK
PS: You are around SAP TechEd, you should attend DX272 hands-on exercise.
Hi , I am also stuck in deep insert.
I have converted my UI5 app into hybrid offline app,but facing create deep insert showing error message "deep insert not supported" while it is working in web application
So is there any code change I have to do or what ??
Kindly help me out jitendrakumar.kansal
thanks alot....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
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.