Message type: E = Error
Message class:  /SAPAPO/FOT -  
Message number: 402
Message text: Action type &1 is not defined; use S, M or P
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/FOT402 Action type &1 is not defined; use S, M or P typically occurs in the context of SAP Advanced Planning and Optimization (APO) when a user attempts to execute a function that requires a specific action type, but the provided action type is not recognized by the system.
Cause: The error is caused by the use of an invalid action type in a function or transaction within SAP APO. The valid action types are: S: for "Simulation" M: for "Mass Processing" P: for "Planning" If an action type other than these is specified, or if the action type is not defined in the system, this error will be triggered.
Solution: To resolve this error, you can take the following steps: Check the Action Type: Ensure that you are using one of the valid action types (S, M, or P). If you are using a different action type, change it to one of the valid
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
/SAPAPO/FOT401 WIP move type is incorrect; use H, U or D
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/SAPAPO/FOT400 ********** CALCULATION BLOCK MESSAGES BEGIN **********(not used anywhere)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/SAPAPO/FOT403 Reporting point &1 of original order &2 has WIP; supply mapping entry
What causes this issue?  Reporting point "&V1&" of order "&V2&" has some WIP quantity, but no entry in the mapping...
/SAPAPO/FOT404 Conversion not defined between unit of measure &1 and &2
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.