cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello!

There was such a question (I could not find the answer on the Internet): Is it possible to connect a third-party storage database (for example, PostreSQL) to a mobile application?

For example, in the "Mobile Connectivity" point, specify a route (url) to the database and for the application to take data from there?

If this is possible, can you show an example / guide / tell how you can do this?

Thanks in advance

0 Likes
View Entire Topic
gregorw
SAP Mentor
SAP Mentor

With cds-pg it might be an option for you to create a CAP application that exposes your PostgreSQL DB as an OData service that you can call from via the Mobile Service?

Former Member
0 Likes

Hello!
Can be more?

gregorw
SAP Mentor
SAP Mentor
Former Member
0 Likes

Good day! I went through this tutorial and deployed the applications, but now the question arose - how can I bind it to a mobile project (created in Android Studio using Sap BTP For Android) as a backend?

gregorw
SAP Mentor
SAP Mentor
Former Member
0 Likes

gregorw

I can't find something suitable

Former Member
0 Likes

That is, is it possible to convert this application created according to your tutorial into an OData service to connect the backend to a mobile application?

Former Member
0 Likes

Gregor, I welcome you! I figured out more or less with your adapter and was able to connect it to the mobile application - but tell me how the database change occurs on the backend (adding, deleting, etc.)

gregorw
SAP Mentor
SAP Mentor
0 Likes

Can you provide more details what you define as your backend. Already the CAP application might be a backend as it persists data. But if you need to persist data in an SAP ERP or SAP S/4HANA system then you need to connect to this system and consume the OData service.