Do you have any question about this error?
Message type: E = Error
Message class: GX - Archiving/Reorganization
Message number: 021
Message text: The system is determining which documents are to be archived
The archiving program is now determining which documents (ACCTHD
entries) meet your selection conditions and are to be archived.
The larger the ACCTIT table is and the more documents meet your
selection conditions, the longer this process will last.
If the process lasts too long, you can restrict the number of documents
to be archived. The analysis program RGUANAM1 and RGUANAM2 helps you to
specify the selection criteria.
If the process terminates with an error that is connected to storage
problems in an internal table, you should increase the maximum size for
an internal table (system settings) or restrict the number of documents
to be archived.
Error message extract from SAP system. Copyright SAP SE.
GX021
- The system is determining which documents are to be archived ?The SAP error message GX021, which states "The system is determining which documents are to be archived," typically occurs during the archiving process when the system is unable to determine the documents that need to be archived. This can happen for several reasons, and understanding the cause is essential for finding a solution.
Causes of GX021 Error
Configuration Issues: The archiving object may not be properly configured. This includes missing or incorrect settings in the archiving object definition.
Selection Criteria: The selection criteria defined for archiving may be too broad or incorrectly specified, leading to the system being unable to identify specific documents.
Authorization Issues: The user executing the archiving process may not have the necessary authorizations to access the documents or perform the archiving.
Database Issues: There may be issues with the database, such as locks or performance problems, that prevent the system from retrieving the necessary documents.
Program Errors: There could be bugs or errors in the archiving program or related function modules.
Document Status: The documents that are supposed to be archived may not be in a status that allows them to be archived.
Solutions
Check Configuration: Review the configuration of the archiving object in transaction SARA. Ensure that all necessary settings are correctly defined.
Review Selection Criteria: Check the selection criteria used for archiving. Make sure they are specific enough to identify the documents you want to archive.
User Authorizations: Verify that the user has the necessary authorizations to perform archiving. This can be checked in transaction SU53 or by consulting with your security team.
Database Performance: Monitor the database performance and check for any locks or issues that might be affecting the archiving process. You can use transaction SM12 to check for locks.
Check for Program Errors: Look for any known issues or notes related to the archiving program in the SAP Notes database. You can use transaction SNOTE to apply any relevant corrections.
Document Status: Ensure that the documents you are trying to archive are in a status that allows them to be archived. You may need to change the status of certain documents before archiving.
Run in Background: If the archiving process is taking too long, consider running it in the background to avoid timeouts or performance issues.
Related Information
SAP Notes: Check SAP Notes for any specific issues related to the GX021 error. You can search for relevant notes using the error message or archiving object name.
Transaction Codes: Familiarize yourself with relevant transaction codes such as SARA (Archive Administration), SARI (Archive Information System), and SCDO (Customizing Object).
Documentation: Review SAP documentation on archiving processes for best practices and troubleshooting steps.
If the issue persists after trying the above solutions, it may be beneficial to consult with your SAP Basis or technical team for further investigation.
Get instant SAP help. Start your 7-day free trial now.
GX020
From fiscal year must be less than or equal to the "To fiscal year"
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
GX019
From entry must be smaller than "To" entry
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
GX022
&1 of &2 documents archived / &3 of &2 documents cannot be archived
What causes this issue? This message informs you of how archiving is progressing. &v2& documents meet your selection conditions and are to be...
GX023
Enter a 'to-period'
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.