Quantcast
Channel: SCN : Discussion List - SAP Sourcing
Viewing all articles
Browse latest Browse all 1416

Can you call one script from another in BeanShell and receive a return value?

$
0
0

Hello Experts-

 

I'm an experienced programmer (mostly C++, C#), but new to SAP Sourcing v 9 scripting...

 

I have some logic that I need to use in several scripts and, for better maintenance, would like to not repeat the code everywhere.

 

Is there any way to write a utility function/script which can be shared by many scripts that, ideally, could take parameter(s) and return a result?  Perhaps it could be saved it in an "Explicitly Called Script" or somewhere else?  Or maybe it could throw a chained exception and I could intercept it somehow in the calling script?

 

Thanks in advance!

 

Mike


Viewing all articles
Browse latest Browse all 1416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>