Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: WS_TOOL - Message Class for Web Services and Virtual Endpoints
Message number: 858
Message text: Function &1: &2 parameter &3 is no longer optional
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.
WS_TOOL858
- Function &1: &2 parameter &3 is no longer optional ?Certainly! Here's a detailed explanation for the SAP error message:
SAP Error Message:
WS_TOOL858 Function &1: &2 parameter &3 is no longer optional
Cause:
This error occurs when a function module or method call in ABAP or a related tool (such as Web Services or SAP Gateway) uses a parameter that was previously optional, but in the current version of the function, the parameter has been changed to mandatory (no longer optional).
In other words, the interface of the function module or method has changed in a newer SAP release or patch, and the calling program or tool has not been updated accordingly. The system now requires that the parameter be explicitly provided, but the call is missing it.
Explanation:
&1
= Function name (e.g., function module or method)&2
= Parameter type or description (e.g., IMPORTING, EXPORTING, CHANGING)&3
= Parameter name that is no longer optionalFor example, if the function module Z_MY_FUNCTION
had an importing parameter IV_DATE
that was optional before, but now it is mandatory, and your code calls Z_MY_FUNCTION
without passing IV_DATE
, this error will be raised.
Check the function module or method interface:
SE37
(Function Builder) or SE24
(Class Builder) to check the current interface of the function or method.Update the calling code:
Check SAP Notes / Documentation:
Test the changes:
Before (optional parameter):
CALL FUNCTION 'Z_MY_FUNCTION'
EXPORTING
IV_DATE = ' '.
After (mandatory parameter):
CALL FUNCTION 'Z_MY_FUNCTION'
EXPORTING
IV_DATE = sy-datum. " Pass current date or appropriate value
If you provide the actual function name and parameter, I can help you with more specific guidance.
Get instant SAP help. Sign up for our Free Essentials Plan.
WS_TOOL857
Function &1: &2 parameter &3 was changed to "not optional"
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
WS_TOOL856
Cancelled
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
WS_TOOL859
Service Interface &1 does not exist
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
WS_TOOL860
Service Interface &1 is not a synchronous inbound interface
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.