When using SAP Connector 5.9.x, SAP RFC calls may return null responses even when the payload matches the RFC structure. This occurs because the updated RFC operations introduced in 5.9.x are compatible only with JCo/IDoc 3.1.x. If the application is packaged with JCo/IDoc 3.0.x, MuleSoft may send incomplete or missing field data to SAP, resulting in a null response. Upgrading the JCo and IDoc libraries to 3.1.x resolves the issue.
1. Upgrade SAP Libraries
Ensure the application uses:
SAP JCo 3.1.x
SAP IDoc 3.1.x
2. Use the Correct RFC Operations
Use:
Synchronous Remote Function Call
Asynchronous Remote Function Call
Avoid deprecated operations that depend on JCo 3.0.x.
CloudHub and Cloudhub 2.0 Packaging Reference
If this issue appears during CloudHub 2.0 deployment, refer to:
https://help.salesforce.com/s/articleView?id=005108677&type=1
005232642

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.