Message type: E = Error
Message class:  /SAPAPO/OM_PVC_TS -  
Message number: 004
Message text: Double call of ts master routine
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/OM_PVC_TS004 Double call of ts master routine typically occurs in the context of SAP Advanced Planning and Optimization (APO), particularly when dealing with the planning and execution of production processes. This error indicates that the master routine for a time series (TS) has been called more than once, which is not allowed.
Cause: Double Execution: The error is primarily caused by the master routine being executed multiple times for the same planning run. This can happen due to incorrect configuration or programming errors in the planning function or the way the planning sequence is set up. Incorrect Planning Function: If the planning function is not properly defined or if there are issues in the logic that lead to the master routine being invoked multiple times. Data Issues: Inconsistent or corrupted data in the planning area or time series can also lead to this error.
Solution: Check Planning Function: Review the planning function
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
/SAPAPO/OM_PVC_TS003 Missing call of ts master routine
What causes this issue?  A CVC was specified to be copied but the related call of the function module to copy the time series master data (/SAPAPO/OM_...
/SAPAPO/OM_PVC_TS002 Invalid audit info handling
What causes this issue?  You specified an invalid value for the audit info handling of a storage bucket profile at function module /SAPAPO/OM_PVC_TS_M...
/SAPAPO/OM_PVC_TS005 Timegrid must be a storage bucket profile
What causes this issue?  One of the specified bucket profiles at function module /SAPAPO/OM_PVC_TS_MASTER is not a storage bucket profile of a plannin...
/SAPAPO/OM_PVC_TS006 Cvc to be copied is used in bom context
What causes this issue?  A CVC to be copied is used in a BOM context. That means the related planning area seems to be a BOM planning area. The copy o...
Click on this link to search all SAP messages.