Skip to Content

Reg : Data is not displaying in ODATA

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.

ODATA.PNG (60.6 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Aug 22, 2016 at 12:54 PM

    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


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 22, 2016 at 01:33 PM

    add /ytestset at the end of ..../*BYTE_SRV_01

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 22, 2016 at 05:58 PM

    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')

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.