Skip to Content
author's profile photo Former Member
Former Member

OData in JSON

Experts:

I've looked to see if this question had been answered RECENTLY and there hasn't been an update in years.

I'm running a NetWeaver 7.4 SP10 system with an embedded Gateway. My BW queries are being activated as oData services through the BW query designer.

I am finding that I cannot use $format=JSON. I get

"The statement could not be formed due to malformed syntax"

My call is here:

/sap/opu/odata/sap/ygmh_b0activity_q0005_srv/YGMH_B0ACTIVITY_Q0005(BCUPRJNWAM='V1000868',BCUPRJNWAMTo='')/Results?$format=JSON

So my questions are:

Does NW 7.4 support oData in JSON format? If so, what am I doing wrong with the format of the URL encoding?

Thank you!

George

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 28, 2016 at 01:46 PM

    Hello George,

    Please pass ?$format=json and check.


    Regards,

    Ashwin

    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.