Do you have any question about this error?
Message type: E = Error
Message class: AJ - Billing program
Message number: 371
Message text: Previous document &1 for document &2 is in archiving index
The previous document &v1& for document &v2& is in the archiving index
(archivng status &v3&).
In this case, document &v2& can no longer be reversed since the
previous document is required for determining the new start of billing
correctly.
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.
AJ371
- Previous document &1 for document &2 is in archiving index ?The SAP error message AJ371 indicates that there is an issue related to document archiving. Specifically, it means that the previous document (identified by &1) for the current document (identified by &2) is stored in the archiving index. This typically occurs when you are trying to access or process a document that has a predecessor document that has already been archived.
Cause:
- Document Archiving: The predecessor document has been archived, which means it is no longer available in the active database but is instead stored in an archive.
- Document Flow: The system is trying to establish a relationship or flow between documents, and since the previous document is archived, it cannot retrieve the necessary information.
- Data Integrity: The system enforces data integrity by ensuring that all related documents are accessible before proceeding with operations.
Solution:
- Check Archiving Status: Verify the archiving status of the previous document. You can do this by using transaction codes like SARA (Archive Administration) to check if the document is indeed archived.
- Access Archived Documents: If you need to access the information from the archived document, you may need to restore it from the archive. This can be done using the appropriate transaction or program designed for restoring archived documents.
- Review Document Flow: Ensure that the document flow is correctly set up and that all necessary documents are available in the active database.
- Consult Documentation: Refer to SAP documentation or consult with your SAP Basis or functional team for specific procedures related to document archiving and retrieval.
- Adjust Configuration: If this is a recurring issue, consider reviewing the archiving configuration to ensure it aligns with your business processes.
Related Information:
If the problem persists after following these steps, it may be beneficial to reach out to SAP support or your internal SAP team for further assistance.
Get instant SAP help. Start your 7-day free trial now.
AJ370
Document &1 is already in archiving index
What causes this issue? Billing document &v1& is already in the ERCHARCH archiving index (archiving status &v2&). In this case, a rev...
AJ369
Billing document &1 is in archiving index &2
What causes this issue? Billing document &v1& can no longer be found in the ERCH file. Document &v1& is in archiving index &v2&am...
AJ372
Previous document &1 for billing document &2 cannot be determined
What causes this issue? The previous document &v1& for billing document &v2& cannot be determined in the ERCH file. Billing document ...
AJ373
Temperature extra indic. only poss. for thermal gas billing 01 and 02
What causes this issue? The <LS>Temp. extra</> (Temperature extra) field is required in those cases when <ZH>no</> temperatur...
Click on this link to search all SAP messages.