Message type: E = Error
Message class:  EK - IS-U Accounts Receivable and Payable 
Message number: 501
Message text: No G/L account in account assignment data for main transactions
An account for postings relevant to Bollo is not maintained in the
<ZH>Account assignment data relevant to main transactions
</> posting area.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
If you want to pass on Bollo postings to business partners, you must
maintain account determination data for non-statistical postings in the
<ZH>Account assignment data relevant to main transactions</> posting
area. You also need to define a tax code for <ZH>stamp duties
</>, where you set the <ZH>Pass on tax</> field.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message EK501 ("No G/L account in account assignment data for main transactions") typically occurs when there is an issue with the account assignment in a purchasing document, such as a purchase order or a purchase requisition. This error indicates that the system cannot find a General Ledger (G/L) account associated with the account assignment data for the main transaction.
Causes:
Missing G/L Account: The most common cause is that the G/L account is not maintained in the system for the relevant account assignment category.
Incorrect Account Assignment Category: The account assignment category used in the transaction may not be compatible with the G/L account.
Master Data Issues: The vendor or material master data may not have the necessary account assignment information.
Configuration Issues: There may be configuration issues in the Financial Accounting (FI) or Controlling (CO) modules that prevent the system from determining the correct G/L account.
Document Type Restrictions: Certain document types Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
EK500 The statistics indicator was corrected to &1
What causes this issue?  You can only post security deposits statistically.System Response  The system replaced your entry with &V1&.How to fi...
EK499 Only &1 or &2 can be used as a statistics indicator for this transaction
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
EK502 G/L account &1 is not maintained in the transaction relevant data
What causes this issue?  You defined the general ledger account &V1& in Customizing. However this account is not maintained in the account ass...
EK503 You cannot reverse documents with origin &1
What causes this issue?  The existing industry-specific instance of event 0070 prevents the reversal of reversal documents for documents that were cre...
Click on this link to search all SAP messages.