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

Call SCP Workflow API from ABAP program

0 Likes
2,422

Dear experts

I need to develop an application that triggers a SCP Workflow api, implementing principal propagation. The application that calls the api is an ABAP report in my on-premise system and user that start the process need to be propagated to cloud.

SCP Application Identity Provider trusts in a custom SAP IAS, so i can't call workflow api using basic authentication, only using SAML 2.0 mode.

My backend system, S/4HANA, trusts in the same SAP IAS. I can authenticate in SAP IAS and launch Fiori Launchpad (on-premise) and launch SCP application using the same username, due SSO.

How can i call the workflow api using SAML authentication mode in an ABAP report and Is it possible to implement principal propagation?
Note: report will run in background.

I know that i can do this using OAuth, but using this authentication mode, i can't implement principal propagation.

Cloud Connector does not work in this case because is on-premise pushing data to cloud.

Best regards,

Guilherme

Accepted Solutions (1)

Accepted Solutions (1)

gregorw
SAP Mentor
SAP Mentor
0 Likes
quyen_sap_viet
Explorer
0 Likes

Do we have any documents for Cloud Foundry ?

Answers (1)

Answers (1)

tobias_breyer
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Guilherme,

have you tried using the ABAP OAuth2 Client (CL_OAUTH2_CLIENT) with a SAP Cloud Platform client profile?

It seems to me it supports SAML 2.0 Bearer Assertion which is kind of the connection between the two approaches of authentication.

Regards,

Tobias