cancel
Showing results for 
Search instead for 
Did you mean: 

Creating OData Service from existing Table

Former Member
0 Kudos

Hello,

I want to create an OData Service from an existing SAP Table on a non HANA System.

The OData service should provide records from KNA1.

How can I do it? The data should later be used in a UI5 application.

On HANA XS I was able to create such a service, but I don't know how to create it on R/3

Accepted Solutions (1)

Accepted Solutions (1)

JyotiD
Active Participant
0 Kudos

Hi,

You can use Import as DDIC structure while doing modelling. There are multiple docs available for the same.

http://help.sap.com/saphelp_gateway20sp09/helpdata/en/93/73f7aa7d9e4db4b73c29395a0f06e3/content.htm

Answers (1)

Answers (1)

AshwinDutt
Active Contributor
0 Kudos

Hello Enzo,

In SEGW create Model having all the input and output fields/properties.

Generate Run-Time objects.

Implement Get_Entity_Set / Query Operation inside DPC_EXT class. Write the logic to fetch the data from KNA1 table here.

In the URL finally pass all the input fields as filter Parameters.

Please check below Query Operation section in the below->

Regards,

Ashwin