on 07-11-2018 12:16 PM
Hi All,
My requirement is to use READ_ENTRY_DATA in GET_EXPANDED_ENTITYSET method. Can anybody help me out.
Thanks.
There is no read_entry_data if you perform an expand yourself.
This might only happen if you try to perform a deep insert.
There are numerous blogs around how to handle $expand.
For example:
https://blogs.sap.com/2014/11/24/multi-level-expansion-with-getexpandedentityset/
Regards,
Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andre
I am planning to fetch DEEP entity data within GET_EXPANDED_ENTITYSET method using method IO_DATA_PROVIDER->READ_ENTRY_DATA like we do in CREATE_DEEP_ENTITY methods.
Input to the GET_EXPANDED_ENTITYSET methods will be be same as that of CREATE_DEEP_ENTITY method i.e. JSON Paylod.
My issue is IO_DATA_PROVIDER is not importing parameter in GET_EXPANDED_ENTITYSET method signature. So input payload in JSON format is not accessible in GET_EXPANDED_ENTITYSET methods.
Please accept that there is no way and have a look at the OData specification.
http://www.odata.org/documentation/odata-version-2-0/uri-conventions/
You can only filter the data that is requested.
There is no read_entry_data if you perform an expand yourself.
This might only happen if you try to perform a deep insert.
Regards,
Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
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.