cancel
Showing results for 
Search instead for 
Did you mean: 

Consume data from PPM in Java/Spring app

former_member821046
Discoverer
0 Kudos
304

Hi all,

we are developing a Java/Spring app for a customer who wants to switch their project management to SAP PPM soon. In our application, a user should be able to obtain basic project information, such as the name of the project and the person in charge, e.g. based on an ID provided to the user.

Being no SAP developer (yet) and not having a running instance of SAP (PPM) at hand, I'm struggling to evaluate whether or not this is possible, and if so, what would be the best way to go. From the docs and tutorials (e.g. https://blogs.sap.com/2021/10/29/building-an-odata-service-with-a-spring-java-application-using-olin... and following) it got the impression that an ODATA connection should be feasible and would be the best way to go.

Is it possible to connect to SAP PPM via ODATA (Olingo) as well? Are there further docs/tutorials for this use case? Or should BAPI be used here?

Thanks and cheers

David

Accepted Solutions (0)

Answers (1)

Answers (1)

Ken_Melching
Product and Topic Expert
Product and Topic Expert

First check the SAP API library for an existing API (new APIs are being released), if nothing is available you will need to use the older BAPIs.

api.sap.com

former_member821046
Discoverer
0 Kudos

Thanks Ken, the API library is certainly a step forward for me.

According to it, there's an API package for projects and project collaboration for the S/4HANA Cloud (https://api.sap.com/package/SAPProjectIntelligenceNetwork/all) but none for the on-premise PPM. The API reference for the S/4HANA looks quite promising, actually.

So, that would mean, in case the client switches to S/4HANA Cloud (ePPM), I have a set of nice APIs at hand, in case the client still works with a classic on premise SAP, I would have to use BAPI (but still would be able to extract the information), right?

Since the client is not (yet) on S4/HANA: can you hint me towards an overview where to find further information on how to access specific information using BAPI?

Best,

David

Ken_Melching
Product and Topic Expert
Product and Topic Expert
0 Kudos

You can access the BAPI's on an ECC SAP system, you don't need S/4HANA.