Message type: E = Error
Message class:  /SAPAPO/PDEM -  
Message number: 404
Message text: Error when calculating duration of a period (from &1 to &2)
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/PDEM404 typically occurs in the context of SAP Advanced Planning and Optimization (APO) when there is an issue with the calculation of the duration of a period. This error message indicates that there is a problem with the time period specified, which can arise from various causes. Here’s a breakdown of the potential causes, solutions, and related information: Causes: Invalid Time Period: The start date (&1) and end date (&2) specified for the period may not be valid. This could be due to incorrect formatting or logical inconsistencies (e.g., the start date is after the end date). Calendar Settings: The calendar settings in the system may not be configured correctly. This includes issues with factory calendars, holiday calendars, or time zone settings. Data Consistency Issues: There may be inconsistencies in the master data or transaction data that affect the calculation of the period duration.
Configuration Issues: The configuration settings for the
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
/SAPAPO/PDEM403 Demand history of item &1 in order &2 not updated
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/SAPAPO/PDEM402 Item &1 in order &2 not loaded in APO BI due to incorrect quantity
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/SAPAPO/PDEM405 The data is not yet uploaded by BI RDA, check daemon for &1 version &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/PDEM406 Data for product &1 could not be locked
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.