Message type: E = Error
Message class:  XS - SAPconnect: All messages 
Message number: 118
Message text: Error occurred when calling &1; return code &2
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
The SAP error message XS118, which states "Error occurred when calling &1; return code &2," typically indicates that there was an issue when trying to execute a specific service or function in the SAP system. The placeholders &1 and &2 will be replaced with the specific service name and the return code, respectively. Causes: Service Unavailability: The service being called may not be available or may not be properly configured. Authorization Issues: The user may not have the necessary permissions to access the service. Network Issues: There could be network connectivity problems that prevent the service from being reached. Configuration Errors: There may be misconfigurations in the service or application settings. System Errors: The underlying system may be experiencing issues, such as memory shortages or other resource constraints. Return Code Interpretation: The return code (&2) can provide specific insights into the nature of the error. Different return codes indicate different types of issues. Solutions: Check Service Availability: Ensure that
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
XS117 Unable to find job; refresh display
What causes this issue?  The system cannot find the selected job because it has already run or it has been deleted.System Response  The system issues ...
XS116 Job currently being processed by user &
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
XS119 Job data not changed
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
XS120 Job selection unclear; refresh display
What causes this issue?  The job selection is unclear because there is more than one send job with this name. Since the job display was not up-to-date...
Click on this link to search all SAP messages.