Message type: E = Error
Message class:  KZ - Cost Object Repetitive Mfg / Process Mfg 
Message number: 157
Message text: Function & not supported for &
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 KZ157 ("Function & not supported for &") typically indicates that a specific function or operation is not available for the object or data type you are trying to use it with. This error can occur in various contexts within SAP, such as during the execution of a transaction, report, or when working with certain modules.
Possible Causes:
Unsupported Functionality: The function you are trying to execute is not supported for the specific object or data type you are working with.
Configuration Issues: There may be configuration settings in your SAP system that prevent the function from being executed.
Authorization Issues: The user may not have the necessary authorizations to perform the function on the specified object.
Data Type Mismatch: The data type of the object you are trying to manipulate may not be compatible with the function you are attempting to use.
Solutions:
Check Functionality: Verify if the function you are trying to Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
KZ156 Hierarchy 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...
KZ155 DO NOT USE
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
KZ158 Changes to control indicators are critical
What causes this issue?  You are attempting to change the control indicator of cost object category &V1&. If transaction data already exists, ...
KZ159 Cost object & does not allow assignment of single objects
What causes this issue?  <DS:GLOS.cost_object_ID>Cost object ID</> &v1& was created for <DS:GLOS.cost_object_category>cost o...
Click on this link to search all SAP messages.