Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: WS - Supplier Billing Document
Message number: 663
Message text: Document type &1 can only be set automatically by the system
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.
WS663
- Document type &1 can only be set automatically by the system ?Certainly! Here's a detailed explanation for the SAP error message:
SAP Error Message:
WS663 - Document type &1 can only be set automatically by the system
Cause:
This error occurs when a user tries to manually enter or change a document type in a transaction or document where the system expects the document type to be assigned automatically. Certain document types in SAP are system-controlled and cannot be manually selected or modified by users because they are linked to specific business processes or system logic.
For example, document types related to system-generated documents such as payment documents, clearing documents, or special postings are often set automatically by the system to ensure data consistency and process integrity.
When does it typically occur?
Do not manually enter the document type:
Allow the system to assign the document type automatically. Remove any manual entry of the document type field in the transaction or program.
Check the transaction or program logic:
If you are developing or customizing, ensure that the document type field is not being overwritten or manually set in the code or user input screens.
Review configuration:
Use the correct transaction:
Use the standard SAP transactions or processes that handle the document type assignment automatically.
Consult SAP Notes:
If this error occurs unexpectedly, check for relevant SAP Notes or patches that might address issues with document type assignment.
Error WS663 indicates that the document type you are trying to enter must be assigned by the system automatically and cannot be manually set. To resolve this, avoid manual entry of the document type and let the system handle it based on the transaction or process logic.
If you provide the specific transaction or scenario where this error occurs, I can help with more tailored advice.
Get instant SAP help. Sign up for our Free Essentials Plan.
WS662
Use settlement process types with material reference or w/ logistics data
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
WS661
Not possible to determine partner without partner schema on header level
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
WS664
Mandatory roles cannot be deleted
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
WS665
Cross-application document numbering is not active; CoCode &1, DocType &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.