on 08-22-2016 1:44 PM
Hi,
Good Day!
Am very new to SAP UI5 and also in ODATA.
As I have created a ODATA in SEGW Tcode and also I have imported the data from the Structure and also I have wrote the logic in the DPC EXT a Simple select Query.
Once I run the SERVICE MAINTENANCE -> Click on Gateway Client am not able to display the data.
Hello Sadiq:
If yo have implemented the logic for GET_ENTITY or GET_ENTITYSET methods, you will have to define what EntitySet you want to test. You can do it using this button:
If you dont have this button, you can replace you URL adding your entityset name, something like this:
/sap/opu/odata/sap/ZBRONTOBYTE_SRV_01/EntitySetYouWantToTest for testing GET_ENTITYSET method
OR
/sap/opu/odata/sap/ZBRONTOBYTE_SRV_01/EntitySetYouWantToTest('KEY_VALUE') for testing GET_ENTITY method
Rewards if usefull
Best regards,
Didier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Didier,
Thanks for your quick reply.
I have wrote the select query in the particular method 'YTESTSET_GET_ENTITYSET' as
Query:
SELECT * FROM ytest
INTO CORRESPONDING FIELDS OF TABLE ET_ENTITYSET
WHERE (IV_FILTER_STRING).
And also I have this link /sap/opu/odata/sap/ZBRONTOBYTE_SRV_01/?%24format=xml
As you suggest i need to run the particular method but tell me were exactly i want to place the method to test
Thanks for your help.
Regard,
Sadiq K
Hi ,
Please make sure ,the structure of your query should be same as the stricture of the entityset which you have created using SEGW..
Also if you have implemented ytestset_getentityset then below url you need to hit
/sap/opu/odata/sap/ZBRONTOBYTE_SRV_01/ytestset
and if you have implemented ytestset_getentity then below url you need to hit
/sap/opu/odata/sap/ZBRONTOBYTE_SRV_01/ytestset('value_of_key')
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
add /ytestset at the end of ..../*BYTE_SRV_01
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.