cancel
Showing results for 
Search instead for 
Did you mean: 

update Xpath in Message mapping using Custom functions.

amit023
Explorer
0 Kudos

Hi all,

is it possible to update the Xpath of Element in message mapping using custom functions instead of using context in SAP BTP.

View Entire Topic
Sriprasadsbhat
Active Contributor
0 Kudos

Hello ,

Below might help you and there are functions which will help you to handle contexts within script. But changing XPATH might not be possible using custom functions but you can pass different values as inputs and consider one based on some condition.

https://blogs.sap.com/2021/04/25/udfnodepool-functions-for-sap-cpi-with-groovy-scripting/

Regards,

Sriprasad Shivaram Bhat

amit023
Explorer
0 Kudos

That's a biggest problem working with context.