Message type: E = Error
Message class:  PPESTATUS - Messages: iPPE Status Management 
Message number: 138
Message text: You cannot use this function until you have saved the data
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 PPESTATUS138 ("You cannot use this function until you have saved the data") typically occurs in the context of the SAP Production Planning and Execution (PP/PE) module. This error indicates that the user is trying to perform an action that requires the data to be saved first, but the data has not yet been saved.
Cause:
Unsaved Data: The most common cause of this error is that the user is attempting to execute a function (like running a report, executing a transaction, or navigating to another screen) without saving the changes made in the current session.
Session State: The system may be in a state where it requires the current data to be saved before proceeding with further actions.
User Permissions: In some cases, user permissions or roles may restrict certain actions until data is saved.
Solution:
Save the Data: The immediate solution is to save the data you are working on. Look Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
PPESTATUS137 Status graph is not up-to-date; Customizing has changed (TA:OPPESTATUS)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
PPESTATUS136 Status '&1' for the GEN node cannot be changed to '&2'
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
PPESTATUS139 The status object &1 &2 cannot be created; check the data
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
PPESTATUS140 The status object &1 &2 cannot be changed; check the data
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.