For linux
export ASHOST=<jco client ashost> export GWHOST=<jco server gwhost>
For windows
set ASHOST=<jco client ashost> set GWHOST=<jco server gwhost>
run test
mvn -Dtest=sample.camel.SampleJCOServerApplicationTests test
run program
mvn spring-boot:run
Execute Tcode se37 -> STFC_CONNECTION (SAP default Test Function)
put RFC Target System (it is ...not... as same as progid configured in application.yaml file) and input parameter
You will see ABAP function's result at console
The result of ABAP function is also stored as file by camel in your local computer where your java program runs