Skip to Content
0

Error in parsing the source metadata : external odata consumption

Jun 06, 2017 at 03:15 PM

187

avatar image

Hi,

I am trying to consume external odata service by using

/IWBEP/OCI_SRV_GEN and

SEGW redefine.

I have created an http RFC destination to external ODATA service provider and connection is working fine and see the below response..( Here connection works only with HTTPS port ).

When I try to create services using tcode /IWBEP/OCI_SRV_GEN i am getting below error.

I can see in debugging while fetching metadata i don't see any issue but while parsing the metadata exception CX_ST_MATCH_ELEMENT is raised.

when i try the same from SEGW redefine i see below error.

Any clues?

Thank you,
Sana

spfr5.png (41.0 kB)
iehmk.png (63.5 kB)
el1yx.png (15.4 kB)
jtmnb.png (46.0 kB)
kvusn.png (47.9 kB)
10 |10000 characters needed characters left characters exceeded

Any hints?

0

Anyone?

0

Hi,

We are SAP netweaver 7.50 SP05.

And I am trying to consume Odata v4 services. I don't have any problem with V2. above question related to V4.

Thank you.

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Andre Fischer
Jun 09, 2017 at 08:29 AM
0

Hi Sana,

with OData V4 there is no support for the scenario to generate an OData V4 service based on an existing external OData V4 service.

The transaction you are using does only work for OData V2 services.

Best Regards,

Andre

SAP Gateway - Product Management

Show 4 Share
10 |10000 characters needed characters left characters exceeded

HiAndre,

Yes I checked with SAP. SAP said even with segw there is no provision for consuming extern odata v4 services. Now I am checking for alternative ways.. can you suggest me is there alternative way to consumer extern odata v4 services?

Thank you,

Srinivas

0

Hi Sana,

my question would be, why you want to use SAP Gateway as a proxy for your external OData Service.

The situation should be similar to a SAP HANA which is running side by side to an SAP ERP System as depicted here

https://eaexplorer.hana.ondemand.com/_item.html?id=11157#!/overview

So why aren't you simply using a reverse proxy like the SAP Web Dispatcher?

Regards,

Andre

1

Hi Andre,

Yes I will go with Web dispatch at then end :) .

I just know web dispatcher will act like middle ware between SAP and external ODATA service provider. But

after implementation of web dispatcher I am not sure about how to call external odata services from Sap program? I am searching google for this part. If you have any handful docs/urls please share thank you......

Thank you,
Sana

0

Hi Sana,

You might can check the ABAP REST API for this:
https://help.sap.com/saphelp_smp304svr/helpdata/en/82/e763f4fae0412aa0827dd2de9bff6d/frameset.htm

Kind regards,
Janos

0
srinivas sana Apr 19 at 07:57 AM
0

hi,

Sorry for the late update.

Finally I have consumed external odata v4 services by using Http client API"s and transformations.

Thank you,

Sana

Share
10 |10000 characters needed characters left characters exceeded