Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Usually during a HTTP or SOAP incoming calls the iFlow is triggered from either a postman or a 3rd party application or a UI5 application. In such scenarios, it becomes important to know who triggered this iFlow based on which we can decide the following routes or conditions or pick the business path that is needed.

Well SAP doesn’t provide this option straight out of the box, unless we try to tweak the iFlow a bit. Make sure that the following is a part of allowed header under run time configuration in SAP CPI SapAuthenticatedUserName.



Once this has been done, please make sure you use the following expression : ${header.SapAuthenticatedUserName} ; either in Message Header or Exchange Property or Message Body or you can use this in a groovy script. In our case we use it in Message Header and see the data captured in iFlow under Trace mode.



Trace file which we get :



 

Regards

Akash

think integration, think integrtr!
1 Comment
Labels in this area