SAP / cloud-sdk

The SAP Cloud SDK documentation and support repository.
https://sap.github.io/cloud-sdk/
Apache License 2.0
45 stars 43 forks source link

Call a BAPI/RFC Module Warning statement #1592

Closed bsrdjan closed 1 year ago

bsrdjan commented 1 year ago

The warning on Call a BAPI/RFC Module page sounds like RFC is supported by JCo only:

WARNING RFC, JCo and SOAP modules are deprecated. These modules will be kept for version 5 as well, but will be removed in the future. Please consider searching for an OData based service (e.g., via SAP Business Accelerator Hub) as possible replacement, and SDK offers OData type safe clients (both OData v2 and v4). If you have to use JCo or RFC, here is the documentation about how to consume ABAP functions via RFC, using JCo.

Just like JCo for Java, SAP RFC connectors are provided for Node.js and Python platforms: SAP/node-rfc and SAP/PyRFC. For the sake of completeness, the warning could be perhaps re-formulated as:

WARNING RFC, JCo and SOAP modules are deprecated. These modules will be kept for version 5 as well, but will be removed in the future. Please consider searching for an OData based service (e.g., via SAP Business Accelerator Hub) as possible replacement, and SDK offers OData type safe clients (both OData v2 and v4). If you have to use RFC, you can use JCo RFC connector for Java platform, with SAP Cloud Connector, or SAP/PyRFC and SAP/node-rfc for Python and Node.js platforms, with SAP Business Connector.

jjtang1985 commented 1 year ago

Thank you @bsrdjan for raising this up. I incorporated your suggestion into our docs.