on 11-06-2020 8:37 AM
Hi all,
I'm working with SAP PO 7.4 and I need to use an API REST with authentication OAuth 2.0's grant type.
Is it possible to use it or SAP PO 7.5 is needed?
Note 2405166 refers to PO 7.5, anyway is it possible to use this kind of authenticaton or do I have to force an upgrade to 7.5?
Thank you
Nicola
Can do with SAP PI 7.4 with right service pack. You can even try importing the recent SAP BASIS tpz file.
https://blogs.sap.com/2019/04/25/fetch-oauth-token-in-rest-is-now-out-of-the-box/
Regards,
Vikas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello nicola.bacchion,
You can refer this blog API Token via Http Lookup in Adapter Module.
Class MessageIDMapper: https://help.sap.com/doc/javadocs_nw75_sps06/7.5.6/en-US/PI/index.html?com/sap/aii/af/service/idmap/...
Message ID mapper is Interesting one. Wrap to Store and read the Tokens. The tokes are stored in PO internal table(uses parameter: dc.keyValueStore.key).It is a singleton class, which is only instance and access by other classes/functionality of SAP PI.
In the REST channel, set up a custom adapter module configuration which look ups for the token from parameter 'keyValueStore.key' and you can see the values in table 'XI_AF_SVC_ID_MAP'.
Thanks,
Rajesh PS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all, PO has been upgraded to 7.5, so issue has been solved.
Thank you all.
Regards,
Nicola
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.