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: WG - Messages for store order and investment buy
Message number: 145
Message text: Document type contains errors. Change document cannot be determined!
Unknown document category
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Enter:
1 for purchase requisition
3 for purchase order
4 for delivery
7 for sales order
Error message extract from SAP system. Copyright SAP SE.
WG145
- Document type contains errors. Change document cannot be determined! ?The SAP error message:
WG145 - Document type contains errors. Change document cannot be determined!
Cause:
This error typically occurs when the system tries to create or change a document (such as a goods movement, delivery, or invoice) and attempts to determine the change document object for logging changes, but the document type configuration is incomplete or incorrect.
Specifically, the error means that the document type used in the transaction does not have a properly assigned change document object or the configuration for change document determination is missing or inconsistent.
Explanation:
Check Document Type Configuration:
OMJJ
(Material Document Types)OVL2
(Delivery Types)VOFA
(Billing Types)Verify Change Document Object Assignment:
MATERIAL_DOCUMENT
.LIKP
or similar.SCDO
to check change document objects and their assigned tables.Maintain or Correct the Assignment:
Check for OSS Notes:
Test the Changes:
Change Documents in SAP:
Change documents are used to track changes to important business objects. They are configured via change document objects (SCDO
), which define which tables and fields are logged.
Relevant Tables:
T159N
- Document types for material documents.T159T
- Texts for document types.T159S
- Change document object assignment (check if applicable).Debugging:
Aspect | Details |
---|---|
Cause | Document type lacks proper change document object assignment or configuration is incorrect. |
Solution | Assign the correct change document object to the document type in customizing. |
Transactions | OMJJ , OVL2 , VOFA , SCDO |
Notes | Check SAP OSS Notes for WG145 and module-specific fixes. |
If you provide the exact document type and module (MM, SD, FI, etc.), I can help you with more precise customizing paths or SAP Notes references.
Get instant SAP help. Sign up for our Free Essentials Plan.
WG144
Document type does not exist. Change document cannot be determined!
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
WG143
Errors occurrred when initializing document &1 of document type &2
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
WG146
Only CHANGE, CANCEL or CREATE can be used for items!
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
WG147
Use action codes '001'. '002' or '003' for order BAPIs
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.