Message type: E = Error
Message class:  /BGLOCS/FI_VAT_MESS -  
Message number: 018
Message text: Missing VAT Margin Accounts for Comp. Code &1 and Service Type &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 /BGLOCS/FI_VAT_MESS018 indicates that there are missing VAT margin accounts for a specific company code and service type. This error typically arises in the context of VAT margin schemes, which are used in certain jurisdictions to calculate VAT on the margin of goods sold rather than on the total sales price.
Cause:
Configuration Issues: The VAT margin accounts may not be properly configured in the system for the specified company code and service type. Missing Master Data: The relevant master data for the service type or company code may not have been set up correctly. Incorrect Service Type: The service type being used may not be valid for the VAT margin scheme. Missing Account Assignment: The account assignment for the VAT margin accounts may not have been defined in the system.
Solution: Check Configuration: Go to the configuration settings for VAT in the SAP system (Transaction code: SPRO). Navigate to the section for defining VAT margin
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
/BGLOCS/FI_VAT_MESS017 Wrong account assignment for tax code &
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/BGLOCS/FI_VAT_MESS016 No data was selected for the Smart Form
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/BGLOCS/FI_VAT_MESS019 Report /BGLOCS/SAPF104 is no more supported.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/BGLOCS/MC01000 Invalid path. The directory does not exist.
 The directory entered in field "Save directory" does not exist. Make sure that this directory exist. Warning: Take in mind that it must exi...
Click on this link to search all SAP messages.