Do you have any question about this error?
Message type: E = Error
Message class: /SCTM/ARCHIVING -
Message number: 005
Message text: Residence time must not be zero (document type &1)
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.
/SCTM/ARCHIVING005
- Residence time must not be zero (document type &1) ?The SAP error message
/SCTM/ARCHIVING005 Residence time must not be zero (document type &1)
typically occurs in the context of archiving or data retention settings within the SAP system, particularly when dealing with the Supply Chain Management (SCM) module or similar areas where document types are managed.Cause:
The error indicates that the residence time for a specific document type (denoted by
&1
) has been set to zero. Residence time refers to the duration that a document is retained in the system before it can be archived or deleted. A residence time of zero is not valid because it implies that the document should be immediately archived or deleted, which is not permissible.Solution:
To resolve this error, you need to set a valid residence time for the document type in question. Here are the steps to do this:
Access the Configuration:
- Go to the SAP Easy Access screen.
- Navigate to the relevant configuration area for document types. This is usually found under the path:
SPRO -> SAP Reference IMG -> Logistics -> Logistics Execution -> Warehouse Management -> Archiving -> Define Document Types
.Locate the Document Type:
- Find the document type that corresponds to the error message (the one indicated by
&1
).Set the Residence Time:
- Edit the document type settings and specify a valid residence time. This is typically defined in days and should reflect the business requirements for how long documents should be retained before archiving.
Save Changes:
- After making the necessary changes, save your configuration.
Test the Changes:
- Try to perform the action that previously triggered the error to ensure that the issue has been resolved.
Related Information:
SPRO
for configuration or SARA
for archiving administration.By ensuring that all document types have a valid residence time set, you can prevent this error from occurring in the future.
Get instant SAP help. Start your 7-day free trial now.
/SCTM/ARCHIVING004
&1 is not a valid time unit (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...
/SCTM/ARCHIVING003
A critical system error has occurred
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/SCTM/ARCHIVING006
Residence time is less than &1 months (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...
/SCTM/ARCHIVING007
&1 cannot be converted to SI unit &2 (document type &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.