Message type: E = Error
Message class:  /IWBEP/SBOD -  
Message number: 158
Message text: Function Import parameter '&1' does not have a type assignment
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 /IWBEP/SBOD158 Function Import parameter '&1' does not have a type assignment typically occurs in the context of SAP Gateway and OData services. This error indicates that a function import parameter in your OData service does not have a defined data type, which is necessary for the service to process requests correctly.
Cause: Missing Type Assignment: The function import parameter is defined in the OData service but lacks a corresponding data type assignment in the service metadata. Incorrect Model Definition: The data model may not be correctly defined, leading to parameters being recognized without types. Service Generation Issues: If the service was generated or updated without properly defining the parameters, this error can occur.
Solution: To resolve this error, you can follow these steps: Check Function Import Definition: Go to the SAP Gateway Service Builder (transaction code SEGW). Locate the function import that is causing the issue. Ensure that all parameters of the function import have a
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
/IWBEP/SBOD157 Function Import parameter '&1' must not have negative max length
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/IWBEP/SBOD156 Function Import parameter name '&1' not unique
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/IWBEP/SBOD159 Data type '&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...
/IWBEP/SBOD160 Function Import '&1': No return type expected (check Return Type Kind)
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.