Do you have any question about this error?
Message type: E = Error
Message class: F5 - Document Editing
Message number: 167
Message text: Only a customer/vendor is allowed for document type &
This transaction contains the document type '&v1&' and several open
items. Document type '&v1&' has been so configured, however, that only
a customer or vendor is permitted.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Inconsistent transaction.
Go into the financial accounting configuration menu and change the
settings for document type '&v1&'. If the settings are correct, you must
check the calling transaction. To do this, contact your SAP consultant
or SAP directly.
Error message extract from SAP system. Copyright SAP SE.
F5167
- Only a customer/vendor is allowed for document type & ?The SAP error message F5167 ("Only a customer/vendor is allowed for document type &") typically occurs when you are trying to post a financial document (like an invoice or payment) that requires a specific type of business partner (customer or vendor) but the system does not recognize the provided business partner as valid for that document type.
Cause:
- Incorrect Business Partner Type: The business partner you are trying to use is not set up as a customer or vendor in the system.
- Document Type Configuration: The document type you are using may be configured to only allow certain types of business partners (e.g., only customers or only vendors).
- Missing Master Data: The customer or vendor master data may not be fully maintained or activated.
- Transaction Type Restrictions: The transaction type you are using may have restrictions on the types of business partners that can be used.
Solution:
Check Business Partner Master Data:
- Go to the Business Partner transaction (BP) and verify that the business partner you are using is correctly set up as either a customer or a vendor.
- Ensure that the relevant roles (e.g., "Customer" or "Vendor") are assigned to the business partner.
Review Document Type Configuration:
- Check the configuration of the document type you are trying to use. This can be done in the SPRO transaction under Financial Accounting settings.
- Ensure that the document type is set to accept the type of business partner you are trying to post.
Verify Transaction Type:
- If applicable, check the transaction type settings to ensure that it allows the use of the business partner type you are trying to post.
Check for Missing Data:
- Ensure that all required fields in the customer or vendor master data are filled out correctly. This includes payment terms, reconciliation accounts, and other relevant information.
Consult with SAP Support:
- If the issue persists after checking the above points, consider reaching out to your SAP support team or consulting SAP Notes for any known issues related to this error message.
Related Information:
By following these steps, you should be able to identify the cause of the error and implement a solution to resolve it.
Get instant SAP help. Start your 7-day free trial now.
F5166
Last line item of the reference document
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
F5165
Company code & is not defined
What causes this issue? Company code &v1& has not been created in financial accounting.System Response The system issues an error message an...
F5168
Select line items first of all
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
F5169
Search finished - no suitable line items found
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.