on 07-06-2017 2:34 PM
Hello guys,
I implements a basic SEGW Project. 2 Entities Order - Item
One Order can refer to several items.
I am trying to do a "generic"expand on the order but it does not work.
(so no implementation needed)
URL:
/sap/opu/odata/sap/ysd_test_srv/OrderCollection('2')/?$expand=ToItem
When testing on SAP Netweaver Gateway Client I get the response: 500 internal server error, Method GET_ENTITYSET not implemented
When I debug I can observer the following behaviour:
1. /IWBEP/IF_MGW_APPL_SRV_RUNTIME~GET_EXPANDED_ENTITY gets called
- Parameter iv_entity_set_name = OrderCollection
2. ORDERCOLLECTION_GET_ENTITY gets called
3. Now /IWBEP/IF_MGW_APPL_SRV_RUNTIME~GET_EXPANDED_ENTIT_SET gets called
- Parameter iv_entity_set_name is now empty. This seems to be the reason for the error
If I manually change the value of iv_entity_set_name in the debugger to "ItemCollection" then my generic expand works.
But why is the parameter iv_entity_set_name empty?
Thanks a lot
Goluef
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.