cancel
Showing results for 
Search instead for 
Did you mean: 

Error in parsing the source metadata : external odata consumption

former_member199125
Active Contributor
0 Kudos

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

former_member199125
Active Contributor
0 Kudos

Any hints?

former_member199125
Active Contributor
0 Kudos

Anyone?

former_member199125
Active Contributor
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member199125
Active Contributor
0 Kudos

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

Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

former_member199125
Active Contributor
0 Kudos

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

Andre_Fischer
Product and Topic Expert
Product and Topic Expert

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

former_member199125
Active Contributor
0 Kudos

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

janosdezsi
Product and Topic Expert
Product and Topic Expert
0 Kudos

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