Message type: E = Error
Message class:  HRPIQ00ARCH - Archiving and Deletion Programs 
Message number: 004
Message text: Archiving flag will be set in an update run
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.
The SAP error message HRPIQ00ARCH004 indicates that the archiving flag will be set during an update run. This message typically arises in the context of the SAP Human Resources (HR) module, particularly when dealing with the archiving of infotypes or HR data.
Cause: The error message is generally triggered when the system identifies that certain HR data records are eligible for archiving based on the defined archiving criteria. This can occur due to: Data Retention Policies: The system is configured to archive data that meets specific criteria, such as age or status. Update Runs: During an update run, the system processes records and determines that they should be archived. Configuration Settings: The archiving settings in the SAP system may be configured to automatically set the archiving flag for certain infotypes or records.
Solution: To resolve this issue, you can take the following steps: Review Archiving Configuration: Check the archiving settings in the SAP system to ensure they are configured
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPIQ00ARCH003 Booking of object &1 &2 for object &3 &4 can 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...
HRPIQ00ARCH002 Booking of object &1 &2 for object &3 &4 was deleted
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPIQ00ARCH005 Archiving flag will be set in a test run
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPIQ00ARCH006 Archiving flag will be removed in an update run
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.