Hi,
As of now we don't have PI/PO in our landscape .So for writing custom Functions in mapping I need to go for Groovy script.
I have a simple requirement of string array concatenation .
Below is my code snippet for the same:
import com.sap.it.api.mapping.*; def String StringArrayConcatFunc(String Text[]){ def a ; a = Text.join(","); return a ; }
I executed the above code in standalone groovy console ,its working fine .I created the custom function in mapping and used the above code -->save
Now when I click on "ExecuteChecks" or when I deploy the project it's showing error in mapping @custom function that I used saying "
Mapping contains incomplete expressions"
But I can able to see the file in the folder.
Seems groovy script file is not loading into functional library while executing checks or while deploying into tenant.
Dear HCI experts could you please advice.It would be really helpful for me as well as others those who are new to using groovy script in HCI. Looping in @Sujit Hemachandran .
Thanks
Venkat