cancel
Showing results for 
Search instead for 
Did you mean: 

SAP On-Premise with iRPA Cloud 2.0 - error connection SET SAP CONNECTION (BAPI SDK)

Hello Community

We are using BAPI SDK with activity SET SAP CONNECTION. According with help.sap.com we must use a "Message Server". But we enter SAP (GUI) using SAP String Router /H/IP SERVER/H/PORT. When we enter String Router in the field MESSAGE SERVER of Cloud iRPA we are getting the following error

{

"uid": "827f1cdc-4bf2-4b2c-b777-2b41a24d2517", "name": "W4", "type": "automation", "instanceUid": "9ad92fda-8b2e-5466-2fe8-707c5cec85f0", "packageUid": "6470d4a7-6943-460f-b74f-1a50504b124c", "packageVersionUid": "c29c8b17-4458-492d-96f5-335a00aacbfc", "attended": true, "duration": 1, "status": "Failed", "code": "KO", "label": "\nLOCATION SAProuter 40.4 on 'SAPROUTER3'\nERROR internal error\nTIME Sun Jun 12 14:41:17 2022\nRELEASE 753\nCOMPONENT NI (network interface)\nVERSION 40\nRC -93\nMODULE D:/depot/bas/753_REL/src/krn/si/gw/gwxx.c\nLINE 1179\nDETAIL NiRClientHandle: route expected\nSYSTEM CALL GwRead\nCOUNTER 17287", "exception": "irpa_core.error.Error", "stack": "Error: \nLOCATION SAProuter 40.4 on 'SAPROUTER3'\nERROR internal error\nTIME Sun Jun 12 14:41:17 2022\nRELEASE 753\nCOMPONENT NI (network interface)\nVERSION 40\nRC -93\nMODULE D:/depot/bas/753_REL/src/krn/si/gw/gwxx.c\nLINE 1179\nDETAIL NiRClientHandle: route expected\nSYSTEM CALL GwRead\nCOUNTER 17287\n at Object.e.error.cast (C:\\Users\\Usuario\\AppData\\Local\\SAP\\Intelligent RPA\\Projects\\84e7e595-9044-4d3e-a629-973db5cb03f4\\dist\\bundle.js:2:198160)\n at C:\\Users\\Usuario\\AppData\\Local\\SAP\\Intelligent RPA\\Projects\\84e7e595-9044-4d3e-a629-973db5cb03f4\\dist\\bundle.js:2:290458"}If we are using only BAPIS - It is mandatory to activate Scriptting on Server side?Thanks in advance for the help.
View Entire Topic
0 Kudos

Yes. Thank you. Ok. Scripting is not needed for BAPI.

In order to make BAPI "Set SAP Connection (Basic)" works it is mandatory enter with "Group/Server Selection" - green line? or it is possible to enter with sap router parameter described in Custom Aplication Server- yellow line ? We do not have Group/Server and SNC configured. Those are mandatory to work with iRPA and BAPI?

Because we are enter the information on BAPI conection an get the error described in the initial message.

on IRPA we have. And in Message Server field we enter "SAP String Router" But it does not works.

Thanks in advance for your help