Message type: E = Error
Message class:  /PRA/ACCOUNTING -  
Message number: 140
Message text: Severence tax type code &1 is not defined for state &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 /PRA/ACCOUNTING140 Severance tax type code &1 is not defined for state &2 typically occurs in the context of payroll processing, particularly when dealing with severance tax calculations. This error indicates that the system is unable to find a defined tax type code for the specified state in the payroll configuration.
Cause: Missing Configuration: The tax type code specified in the error message (&1) is not defined in the system for the state indicated (&2). This could be due to a lack of setup in the payroll configuration for that specific state. Incorrect Tax Type Code: The tax type code may have been entered incorrectly or may not exist in the system. State-Specific Regulations: Different states have different regulations regarding severance taxes, and if the configuration does not align with the state’s requirements, this error can occur.
Solution: Check Configuration: Navigate to the relevant configuration settings in SAP for payroll and tax types. Ensure that
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
/PRA/ACCOUNTING139 Uploaded file is empty
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/PRA/ACCOUNTING138 Cannot open the job
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/PRA/ACCOUNTING141 Marketing type code not defined for major product code &
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/PRA/ACCOUNTING142 Record parked successfully
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.