SAP / node-rfc

Asynchronous, non-blocking SAP NW RFC SDK bindings for Node.js
Apache License 2.0
249 stars 73 forks source link

Exception UCON RFC Rejected #233

Closed AnkitSomani22 closed 2 years ago

AnkitSomani22 commented 2 years ago

Dear Srdjan,

While using Websocket RFC connection for QM7 system we are getting below exception "UCON RFC Rejected; CPROG:node DEST ...".

With same connection parameters i tried to call abap-api-tools library with that I am able to fetch BAPI parameters but same is not working while execution of BAPI. BAPI Name : "STFC_STRUCTURE"

Websocket RFC parameters are set as mentioned in authentication.md document( user/password).

bsrdjan commented 2 years ago

Hello Ankit,

it looks like Unified Connectivity (UCON) is configured in ABAP system and authorizations are not configured in UCON to call affected BAPI from external clients (another ABAP system, node app ...)

Here SAP OSS note describing required configurations:

https://userapps.support.sap.com/sap/support/knowledge/en/2616341

Kind regards, Srdjan

AnkitSomani22 commented 2 years ago

Thank You Srdjan,

Link has explanation of above issue.