cancel
Showing results for 
Search instead for 
Did you mean: 

S/4 Hana Cloud OData API Integration

amit_c_kulkarni
Explorer
0 Kudos

Hi Experts,

We have requirement call API's from S4Hana Cloud through CPI to create sales simulation we have few API's available in s4hana cloud which we can be used however in these api's there are some missing mandatory fields which we required to complete the transactions.We have tried below approaches to resolve our issue

Option 1 : Use CPI to call the Sales Order Simulation and Sales order creation using API (OData Service). But In API some mandatory fields are missing and hence this API can’t be used for integration.

Option 2: Add the custom field to the standard API and populate the standard field from custom field. The SAP product limitation with this option is that we are not able to map/assign the value of custom field to the standard field.

Option 3: Call BAPI in S/4 HANA cloud via RFC using CPI. This option is only supported for on-premise S/4 HANA and NOT for S/4 HANA Cloud version.

RFC

Receiver adapter

Connects an SAP Cloud Platform tenant to a remote receiver system using Remote Function Call (RFC).

RFC is the standard interface used for integrating on-premise ABAP systems to the systems hosted on the cloud using SAP Cloud Connector.

The adapter supports SAP NetWeaver, version 7.31 or higher.

Option 4 : To use S/4 HANA Cloud SDK on SCP environment this solution doesn’t support Sales Order Simulation and Sales Order Creation BAPIs. Also Doesn’t support BAPI for Quotation creation.

https://blogs.sap.com/2017/09/15/step-11-with-sap-s4hana-cloud-sdk-virtual-data-model-for-bapi/

Option 5: We are trying one more approach in which we can use cloud connector to connect

On premises S4 Hana system to s4hana cloud

https://blogs.sap.com/2015/07/13/cloud-connector-a-brief-guide-for-beginners/

Third Party >>CPI>>Cloud Connector (S4Hana On Premises)>>>S4Hana Cloud

Any suggestions ...

Accepted Solutions (0)

Answers (2)

Answers (2)

amit_c_kulkarni
Explorer
0 Kudos

Hi Martin,

Thanks for reply. We are trying to call BAPI's which are available in S/4 hana cloud for sales order creation and simulation from third party sales force. we tried for the above options which we have mention but no one is working for us 😞

could you please suggest any work around to meet this requirement.

Regards,

Amit

0 Kudos

In my opinion, you should further investigate in Option 2. You mentioned: "The SAP product limitation with this option is that we are not able to map/assign the value of custom field to the standard field." --> Why?

Above that, I know following (but I have not done it personally)

  • BAPI has to be done directly from onPremise to S/4HANA Cloud via cloud connector
  • Mapping a BAPI call in CPI is NOT POSSIBLE as it is not possible to call CPI via RFC
  • Technically CPI cannot work as RFC server

0 Kudos

Hi Amit,

I have read through your options. So what is your conclusion (for each option) now?

I have not found any questions here 🙂

Regards

Martin