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

How to create a simple iflow from sap cpi with Sap public cloud and standard api?

EricChang
Explorer
0 Kudos
584

Hello everyone,

I try to follow this url to create a standard api in CPI.

https://developers.sap.com/tutorials/cp-starter-integration-cpi-design-iflow..html 

But I couldn't use these steps to create it correctly.

Please tell me how to modify it or any other method to create iflow.

like SAP RFC: Input some parameters ex: ConditionRecord.     And then, Output the fields information ex:ConditionScaleAmount.

My steps:

IFlow

EricChang_0-1726022896724.pngEricChang_1-1726022914057.pngEricChang_2-1726022973959.pngEricChang_3-1726023008993.pngEricChang_4-1726023052863.pngEricChang_5-1726023062016.png

EricChang_6-1726023207172.png

Configure API

EricChang_7-1726023242736.pngEricChang_8-1726023256936.pngEricChang_9-1726023339211.pngEricChang_10-1726023363960.pngEricChang_11-1726023434905.pngEricChang_12-1726023476877.png

 

Try - API   500 error

EricChang_13-1726023564551.png

Monitor - error 401 error

EricChang_14-1726023601448.png

 

Best regards,

Eric

 

 

 

 

Accepted Solutions (1)

Accepted Solutions (1)

gregorw
SAP Mentor
SAP Mentor
0 Kudos

I think the first issue that you need to correct is the Authentication in the OData Call of the Request / Response. With Authentication None you will not be able to get any data from S/4HANA Public Cloud. You need a Certificate or an Inbound User in the Communication arangement.

Answers (0)