Do you have any question about this error?
Message type: E = Error
Message class: AH - IS-U billing (master data)
Message number: 305
Message text: ERDK counter-document &1 (for &2): STOKZ must not be set
Inconsistency:
The specified ERDK document &v1& is already a counter document for ERDK
document &v2&. The reverse indicator STOKZ must therefore not be set.
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.
AH305
- ERDK counter-document &1 (for &2): STOKZ must not be set ?The SAP error message AH305 indicates an issue related to the handling of counter documents in the context of inventory management or material movements. Specifically, the error message states that the field
STOKZ
(which typically represents the stock type) must not be set for the counter document being processed.Cause:
The error occurs when you are trying to create or process a counter document (like a goods movement or inventory adjustment) and the system detects that the stock type (
STOKZ
) is incorrectly set. This can happen due to:
- Incorrect Configuration: The configuration for the material or movement type may not allow for the stock type to be set in counter documents.
- Data Entry Error: There may be a mistake in the data entry where the stock type is inadvertently set when it should not be.
- Custom Development: If there are custom enhancements or modifications in the system, they might be causing the stock type to be set incorrectly.
Solution:
To resolve the error, you can take the following steps:
Check Movement Type Configuration:
- Go to the configuration settings for the movement type associated with the counter document. Ensure that the settings do not allow for the stock type to be set for counter documents.
- Transaction code:
OMJJ
(for movement type configuration).Review Document Data:
- Check the data being used to create the counter document. Ensure that the stock type (
STOKZ
) is not being set or is set to a valid value that complies with the movement type rules.Consult Documentation:
- Review SAP documentation or notes related to the specific movement type and counter documents to understand the expected behavior and constraints.
Debugging:
- If you have access to development tools, you can debug the process to see where the
STOKZ
field is being set and why it is causing the error.Contact SAP Support:
- If the issue persists and you cannot identify the cause, consider reaching out to SAP support for assistance. They may provide insights based on the specific version and configuration of your SAP system.
Related Information:
MB1A
, MB1B
, MB1C
, etc., which are used for various goods movements.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.
AH304
ERDK doc.no. &1 and ERDK offsett.doc.no. &2 inconsistent due to doc.no.&3
What causes this issue? Inconsistency: The ERDK document &v1& is reversed and refers to the counter-ERDK-document &v2&. The link via ...
AH303
ERCH doc. no. &1 ERDK doc. no. &2: STOKZ not set
What causes this issue? INCONSISTENCY: The invoice document corresponding to billing document &v1& and ERDK document &v2& are reverse...
AH306
Invoicing doc. &1: STBEL &2 does not match INTOPBEL &3 (for &4)
What causes this issue? The specified invoicing document &v1& has &v2& entered as the invoicing offsetting document. This document nu...
AH307
Invoicing offsetting document &1 (for &2) has incorrect STBEL &3
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.