Showing results for 
Search instead for 
Did you mean: 

How to use Bearer Token Authentication in SAP PI using UDF

0 Kudos

Hi Experts,

I am working on a scenario to pass the Bearer Token as a Header element. I have used a UDF to capture the token through substring and from mapping it works fine. I tried to pass the same in target REST channel as a ASMA parameter but facing below error.

URL placeholder token not configured or has an empty value.

here are the steps I have performed to fetch the token:

Created two parameters in mapping and passed the same to lookup UDF.

Created separate receiver channel and provided the login url for fetching the token.

provided the valid channel & business component details in the ICO.

I am able to see the Token in mapping but whenever I am using Dynamic Conf udf I am seeing other error in mapping.

please suggest your inputs to achieve the same.



0 Kudos

Thank you for visiting SAP Community to get answers to your questions. Since this is your first question, I recommend that you familiarize yourself with Community Q&A , as the overview provides tips for preparing questions that draw responses from our members.

Should you wish, you can revise your question by selecting Actions, then Edit.

By adding a picture to your Profile you encourage readers to respond.

Accepted Solutions (0)

Answers (0)