cancel
Showing results for 
Search instead for 
Did you mean: 

How to create custom OData service in S/4HANA Cloud?

SAPSupport
Employee
Employee
0 Kudos

Hello Support,
We have a Query regarding a Custom Data Source.
We got a requirement for a Custom Business Scenario in which we have developed Custom CDS for Form Template but it has been observed that it is not possible to make Custom Data Source through CDS.

We tried doing this in Data Source Extensions, but it allows only the addition of fields in existing data sources.

Is there any workaround for making a Completely New Custom Data Source?


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

Accepted Solutions (1)

Accepted Solutions (1)

SAPSupport
Employee
Employee
0 Kudos

It's possible to create a custom OData service using ABAP RAP with ADT against the development tenant in a 3-system landscape for S/4HANA Cloud. Please see this documentation for an example:

Developing an OData Service for Simple List Reporting | SAP Help Portal

Thanks,

SAP Support

Answers (2)

Answers (2)

-dj-
Explorer
0 Kudos

@ranjeetkumar07 Thank you for your reply.

I did the same and uploaded in sap public cloud.

dj_0-1712205881261.jpeg

The Same Odata when we try using it for making report with the URL of Odata, it works fine.
But when we are trying to make a Form Template or anything else where a Data Source is use, we are not being able to see the Custom Odata/Data Source which we made.

Here are some SS from which data source are being tried to used but it's not visible.

dj_1-1712206809487.jpegdj_2-1712206819165.jpegdj_3-1712206824671.jpeg

The Objective of showing this picture is that where ever Data Source/Odata Is mentioned, The custom Odata which we made are not visible.

@SAPSupport @ranjeetkumar07 @Sap 

ranjeetkumar07
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

Yes, you can create your own Odata service or a rest endpoint using the RAP framework in the 3SL system.

You should have a user in your development system with tenant 080, assign the tenant a developer role, and then connect the tenant with your ADT.

There, you can develop the full-fledged implementation of your choice based on the RAP framework, the only recommended cloud framework.

Please let me know if you need more info.