Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP as client using OAuth, consuming external web service

raffinkira
Participant
0 Likes
2,985

Hi all,

I am using ABAP to call an external web service and OAUTH needs to be taken as authorization.

I am new to OAuth and I have two questions about this.

1, What's the difference between t-code "SOAUTH2" and "OA2C_CONFIG"

2, Could anyone help to describe basic steps of ABAP side configuration(client side).

Here is OA2C_CONFIG configuration UI.

There are too many conception and setting and I was confused.


Thank you

1 ACCEPTED SOLUTION
Read only

SamuliKaski
Active Participant
2,034

SOAUTH2 is for configuring oAuth when the SAP system is used as a server consuming the oAuth token, whereas the other transaction is for configuring the oAuth client of the SAP system. You could start by familiarizing yourself with the Wiki page and linked documents.

Hi all,

I am using ABAP to call an external web service and OAUTH needs to be taken as authorization.

I am new to OAuth and I have two questions about this.

1, What's the difference between t-code "SOAUTH2" and "OA2C_CONFIG"

2, Could anyone help to describe basic steps of ABAP side configuration(client side).

Here is OA2C_CONFIG configuration UI.

There are too many conception and setting and I was confused.


Thank you

3 REPLIES 3
Read only

SamuliKaski
Active Participant
2,035

SOAUTH2 is for configuring oAuth when the SAP system is used as a server consuming the oAuth token, whereas the other transaction is for configuring the oAuth client of the SAP system. You could start by familiarizing yourself with the Wiki page and linked documents.

Read only

0 Likes
2,034

Hi, thank you for the reply. I have read the page you offered.

If my service side(who provides the service) is none of SAP Cloud, Google or MS, what kind of authorization server do you prefer?

Can I use SAP ABAP server itself as authorization server?

Read only

SamuliKaski
Active Participant
0 Likes
2,034

My personal preference would depend on what is available. See OAuth 2.0 Flows Supported by SAP for what is supported.