Message type: E = Error
Message class:  IDFI_VAT_PR - VAT Pro-Rata 
Message number: 240
Message text: Asset accounting document selected is invalid
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 IDFI_VAT_PR240, which states "Asset accounting document selected is invalid," typically occurs in the context of asset accounting when there is an issue with the asset document being processed. Here are some potential causes, solutions, and related information for this error: Causes: Document Status: The asset accounting document may be in a status that does not allow it to be processed (e.g., it may be archived, deleted, or not fully posted). Incorrect Document Type: The document type associated with the asset accounting document may not be valid for the operation you are trying to perform. Missing or Incorrect Data: There may be missing or incorrect data in the asset accounting document, such as invalid asset numbers or incorrect fiscal year. Authorization Issues: The user may not have the necessary authorizations to access or process the asset accounting document.
Configuration Issues: There may be configuration issues in the asset accounting settings that prevent the
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
IDFI_VAT_PR234 Error in Function Module 'RFIDPT_ASSET_RETIREMENT' (SUBRC=&1)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
IDFI_VAT_PR233 Error accessing Asset FI accounts (SUBRC=&1)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
IDFOT000 Persistance tables are not complete.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
IDFOT001 VAT Number &1 is not a valid EU VAT Number.Please check.
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.