Message type: E = Error
Message class:  EK - IS-U Accounts Receivable and Payable 
Message number: 508
Message text: Subtransactions &1 and &2 should have different debit/credit indicators
Subtransactions &V1& and &V2& of main transaction &V3& should have
different debit/credit indicators.
You tried to maintain an aggregated subtransaction as a reversal or
write-off transaction with the same debit/credit indicator as the
original aggregated subtransaction. This is not allowed.
Choose an aggregated subtransaction as a reversal or write-off
transaction with a different debit/credit indicator from the original
aggregated subtransaction.
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 EK508 indicates that there is a conflict in the debit/credit indicators for subtransactions in a financial document. This error typically arises when you are trying to post a transaction that involves multiple subtransactions, and the system detects that they have the same debit/credit indicator, which is not allowed.
Cause: Subtransaction Configuration: The subtransactions involved in the posting may be configured incorrectly in the system. Each subtransaction should have a distinct debit or credit indicator. Data Entry Error: There may be a mistake in the data entry where the same debit/credit indicator is assigned to different subtransactions. Inconsistent Master Data: The master data for the accounts or cost centers involved may not be set up correctly, leading to conflicts in the debit/credit indicators.
Solution: Review Subtransaction Settings: Check the configuration of the subtransactions in the system. Ensure that each subtransaction has the correct debit/credit indicator assigned. Correct Data Entry: If the error is due
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
EK507 Account determination maintained, but transaction for clearing item
What causes this issue?  Checks all entries in posting area 1091 <LS>Reset clearing/reversal: Clearing items</> to determine whether an ad...
EK506 Posting area R001 for deregulation transactions
What causes this issue?  Checks all entries to be posted to the invoicing service provider in posting area R001 <LS>transaction-relevant account...
EK600 The installment plan terminates at the end of the billing period
What causes this issue?  You tried to create an installment plan whose last installment is due on &v1&. However, the billing period already en...
EK800 Messages 800-849 reserved for payment plan
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.