on 01-25-2022 11:16 AM
Hi everyone,
I am developing an offline mobile app (using the SAP Business Techology Platform mobile SDK for Android 3.4.0).
I created 2 entities connected with a one-to-many association.
When I create a new child entity, I use the createLink method to associate it with the parent entity. (I used this reference https://help.sap.com/doc/f53c64b93e5140918d676b927a3cd65b/Cloud/en-US/docs-en/guides/features/backen...
This allows me to navigate, in the app, between the parent entity and its children (offline).
The createLink method requires that the CREATE_LINK method be implemented in the data provider on the backend.
There is no method of the DPC_EXT class in the backend that can be redefined. I haven't found any documentation or examples on this.
Ideas?
Thank you
Hi Ivan,
thanks for your help. Sorry for the delay in the response.
I solved the problem by handling the sync flow differently.
However, this is an alternative solution. Correct but alternative.
In any case, the case is particular, since the CREATE_LINK method does not exist in the DPC_EXT class and therefore it would be interesting to understand how to implement it.
Regarding the infrastructure, we have an ECC and a GW. The function modules and the data and the oData project are on the ECC, while in the GW we have published the services. The odata model has two entities related to a navigation property.
One of the two entities is of medium type (these are images to be attached).
The other entity is a document. The relationship is 1 to *.
Debugging I saw that the CREATE_LINK method is in a standard badi / IWFND / BD_MGW_RUNTIME which should be redefined.
Best Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.