Message type: E = Error
Message class:  FIRU_VAT - VAT Russia S/4HANA 
Message number: 138
Message text: System will also delete all revisions related to this document
You are manually deleting a revision.
The system will also delete all related revisions. For example, if you
have the following three revisions:
Doc1 - the original document
Doc1 - revision 001 (Doc1 revised using document texts)
Doc2 - revision 002 (Doc1 reversed and revised)
Doc2 - revision 003 (Doc2 revised using document texts)
And if you delete the revision number and document links from Doc2, then
revisions 002 and 003 will both be deleted.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message FIRU_VAT138 typically relates to issues with VAT (Value Added Tax) document revisions in the SAP system. This error indicates that the system is unable to process a VAT document because it is linked to revisions that need to be deleted. Here’s a breakdown of the cause, potential solutions, and related information:
Cause: Document Revisions: The error usually occurs when there are revisions of a VAT document that are still present in the system. The system is designed to delete all revisions related to the document when certain conditions are met, but if there are inconsistencies or issues with the revisions, it can trigger this error. Data Integrity Issues: There may be data integrity issues within the VAT documents or related tables that prevent the system from processing the deletion of revisions. Authorization Issues: Sometimes, the user may not have the necessary authorizations to delete the revisions, leading to this error.
Solution: Check
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
FIRU_VAT137 Revision Tax Reporting Date in document text is not in DD.MM.YYYY format
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FIRU_VAT136 Revision date in document text is not in DD.MM.YYYY format
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FIRU_VAT139 Revision date will be overwritten in all corrections to this document
What causes this issue?  You are changing the revision date in one document from a chain of related documents.System Response  The system will also ch...
FIRU_VAT140 You can't change external number for document that added to the journal
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.