Message type: E = Error
Message class:  /SAPAPO/PDEM -  
Message number: 305
Message text: Type of Stockholding Loc. Not Specified in Order &1 Item &2 Sched.Line &3
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/PDEM305 indicates that there is an issue with the stockholding location not being specified for a particular order item and schedule line in the Advanced Planning and Optimization (APO) module. This error typically arises in the context of production planning, demand planning, or supply network planning when the system cannot determine where the stock should be held for a specific order.
Cause: Missing Stockholding Location: The stockholding location is not defined for the order item in question. This could be due to configuration issues or missing data in the master data. Incorrect Master Data: The material master or the location master may not have the necessary stockholding location defined. Planning Area Configuration: The planning area may not be set up correctly to handle stockholding locations. Order Type Configuration: The order type may not be configured to allow for stockholding locations.
Solution: Check Order Details: Review the order details for the specific item and
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
/SAPAPO/PDEM304 Type of Cust. Facing Loc. Not Specified in Ord. &1 Item &2 Sched. Line &3
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/SAPAPO/PDEM303 Prod &4 in APO NOT Recognized (Order &1 Item &2 Sched. Line &3)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/SAPAPO/PDEM306 Cust. Facing Loc. Not Recognized in APO (Ord &1 Item &2 Sched. Line &3)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/SAPAPO/PDEM307 Stockholding Loc. Not Recognized in APO (Order &1 Item &2 Sched. Line &3)
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.