cancel
Showing results for 
Search instead for 
Did you mean: 

How do I set "Credential Name" in Communication Arrangements?

Former Member
0 Kudos

Hi,

Good Morning,

How do I set Credential Name in Communication Arrangements?

I'm trying to create an Iflow to run an API and save in S/4.

If I put the "Authentication" name it generates an error in execution:

HTTP response '401: Unauthorized' when communicating with https://my302603-api.s4hana.ondemand.com/sap/bc/srt/scs_ext/sap/journalentrycreaterequestconfi?sap-c...

Thank you,

Marco Antônio

Accepted Solutions (1)

Accepted Solutions (1)

MartyMcCormick
Product and Topic Expert
Product and Topic Expert

Hello

In the iFlow the credential should be the artifact name that has your username/password. In CPI, go to the Operations View->Security Material->Add->User Credentials. Provide a name and give the communication username and password maintained on the communication arrangement in S/4HC. Then in your iFlow, put the name of this artifact you gave it.

https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/6912d63bbbc64aee8bbd4ff1031...

Thanks,

Marty

Former Member
0 Kudos

marty.mccormick

Perfect! I tested it and it worked.

Thank you very much for your help!

Answers (1)

Answers (1)

0 Kudos

I assume you have created the communication user (with the Communication scenario) in S/4H?

Former Member
0 Kudos

Exactly!

But if I put the user in Credential Name the iflow gets error.

0 Kudos

Apology if this is a silly question but assume you are using the User name, and not the User ID of the Communication User? There is a good blog here which helped me:

https://blogs.sap.com/2017/11/09/setting-up-communication-management-in-sap-s4hana-cloud/

Former Member
0 Kudos

Yes, I am using User name,

But when I put the iflow gets wrong.