Do you have any question about this error?
Message type: E = Error
Message class: WS - Supplier Billing Document
Message number: 161
Message text: Account key not maintained for settlement document type &1
The Customizing settings for settlement process type &V2& and settlement
document type &V1& are inconsistent.
You have entered <AB>X</> <LS>Net</> or <AB>B</> <LS>Gross</> in the
<DS:DE.WVOLP>Post Business Volume in Accounting</> field for the
settlement process type. However, you have not entered a value in the
<DS:DE.KTOSL_VE>Account Key for Clearing Line</> field in the
settlement document type and this is required in this case.
INCLUDE ISR_VERARBEITUNG OBJECT DOKU ID TX
Enter the required account key for settlement document type &V1& or
change the setting for the business volume posting for settlement
process type &V2&.
Error message extract from SAP system. Copyright SAP SE.
WS161
- Account key not maintained for settlement document type &1 ?Certainly! Here's a detailed explanation for the SAP error message:
SAP Error Message:
WS161 - Account key not maintained for settlement document type &1
Cause:
This error occurs because the system is trying to post or settle a document using a settlement document type for which the account key has not been maintained in the configuration. The account key is essential for determining the G/L account to be posted during settlement.
In SAP, settlement document types require an account key to link the settlement transaction to the correct G/L accounts. If this link is missing, the system cannot determine the correct accounts and throws this error.
Where it occurs:
Maintain Account Key for Settlement Document Type:
Go to the IMG path:
SPRO -> Controlling -> Internal Orders -> Settle Internal Orders -> Define Settlement Profile -> Assign Account Key to Settlement Document Type
or for Project System:
SPRO -> Project System -> Costs -> Settlement -> Define Settlement Profile -> Assign Account Key to Settlement Document Type
Find the settlement document type mentioned in the error message (replace &1 with the actual document type).
Assign the appropriate account key to this settlement document type.
Check Settlement Profile:
Verify the settlement profile assigned to the order or WBS element.
Ensure that the settlement profile is correctly configured and linked to the settlement document type.
Verify Account Key Configuration:
SPRO -> Financial Accounting -> General Ledger Accounting -> Business Transactions -> Closing -> Document Types -> Define Account Keys
Re-run the Settlement:
The account key controls the posting to G/L accounts during settlement and is linked to the document type to ensure correct accounting entries.
If you are unsure which account key to assign, consult your FI/CO consultant or check the configuration of similar settlement document types.
Sometimes, this error can also occur if a custom settlement document type was created but not fully configured.
Aspect | Details |
---|---|
Error Message | WS161 - Account key not maintained for settlement document type &1 |
Cause | Missing account key assignment for settlement document type |
Solution | Assign account key to settlement document type in IMG configuration |
Transaction Codes | KO88, CJ88 (Settlement transactions) |
IMG Path | Controlling -> Internal Orders/Project System -> Settlement Profile -> Assign Account Key to Settlement Document Type |
If you need, I can guide you step-by-step through the configuration screens. Just let me know!
Get instant SAP help. Sign up for our Free Essentials Plan.
WS160
Different net values at supplier and customer level
What causes this issue? The current Customizing settings for settlement process type &V1& lead to a balance when the accounting document is c...
WS159
You cannot cancel - accounting document contains settled items
What causes this issue? The accounting document for document &V1& contains cleared amounts.System Response The system does not allow documen...
WS162
You cannot post via the supplier settl. list for settl. process type &1
What causes this issue? Specific Customizing settings are required for settlement process type &V1& if supplier settlement lists have been en...
WS163
Document &1 can only be maintained via the supplier settlement list &2
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.