cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

REST API Integration

2,155

What is the prerequisite for integrating SAP Order Management Foundation into our system? Please provide the integration methodology of REST API.

Accepted Solutions (0)

Answers (3)

Answers (3)

stefan_weidemueller-schmi
Product and Topic Expert
Product and Topic Expert

Hello,

If you want to consume SAP Order Management foundation API's, you have to, beside licensing the product:

1. have prepared your SAP BTP, Cloud Foundry environment (including assigning the entitlement, creating the service instance and a service key), see SAP Help

2. then you can retrieve the base URL for the API from the list of endpoints in the service key and construct the complete URL by adding the path as mentioned on the API hub ( base url + path)

3. Before sending a request to the API, you first have to follow the oAuth2 protocol and fetch a JWT token from xsuaa (credentials and URL can again be found in the service key).

4. Now you can construct your postman call with filling the complete URL (no port needed) and choosing Authorization type "Bearer Token", where the value is the retrieved "access_token" value from the xsuaa response.


Hope this helps further!

0 Likes

Hi Stefan, stefan.weidemueller-schmidt

Thank you for your response!

We have license to S4HANA, Solution Manager ABAP, SAP Cloud Connector in our SAP landscape running on NS2 Cloud. What APIs do we have access to given this landscape ?

Thanks,

Ajay

0 Likes

stefan.weidemueller-schmidt

Hi Stefan,

Thanks again!

Okay, SAP Order Management is a different product SAAS on the cloud.

We are not trying to do order management but instead integrate invoice and payments.

Primarily these are the API endpoints we will need access to for integrating the payment systems.
What do we need to get access to these APIs, given we have the above SAP landscape.
S4HANA, Solution Manager ABAP, SAP Cloud Connector

https://api.sap.com/api/payment/resource

Thanks,

Ajay

stefan_weidemueller-schmi
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello Ajay,

SAP Order Management foundation is a separate product running as a Public cloud Software-as-a-Service offering on the BTP regions EU10 (AWS) and EU20 (Azure). It is not included in any S/4HANA products.

Best Regards

Stefan