Message type: E = Error
Message class:  /SAPAPO/PDEM -  
Message number: 138
Message text: Step not generated due to new BOD assignment for product &1
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 /SAPAPO/PDEM138 indicates that a step in the process could not be generated due to a new Business Object Document (BOD) assignment for a specific product. This error typically occurs in the context of SAP Advanced Planning and Optimization (APO) when there are changes in the product's master data or its assignment to a planning object.
Cause: New BOD Assignment: The error suggests that there has been a change in the BOD assignment for the product, which may not be compatible with the existing planning process. Master Data Changes: Changes in the product master data, such as changes in the product hierarchy, location, or other attributes, can lead to this error. Planning Object Structure: If the planning object structure has been modified, it may affect how products are assigned and processed in the planning run. Inconsistent Data: There may be inconsistencies in the data that prevent the system from generating the necessary
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
/SAPAPO/PDEM137 Error when determining current BOD (product &1; date &2), see below
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/SAPAPO/PDEM136 Data reference for table/structure of InfoProvider &1 is initial
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/SAPAPO/PDEM139 Error when determining last BOD (product &1; date &2)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/SAPAPO/PDEM140 Current and last BOD (product &1; date &2) successfully determined
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.