How To Fix /SCTM/ARCHIVING005 - Residence time must not be zero (document type &1)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: /SCTM/ARCHIVING -

  • Message number: 005

  • Message text: Residence time must not be zero (document type &1)

  • Show details Hide details


  • Self-Explanatory Message

    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.



    What else can you do?

    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.


Smart SAP Assistant

  • What is the cause and solution for SAP error message /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:

    1. 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.
    2. Locate the Document Type:

      • Find the document type that corresponds to the error message (the one indicated by &1).
    3. 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.
    4. Save Changes:

      • After making the necessary changes, save your configuration.
    5. Test the Changes:

      • Try to perform the action that previously triggered the error to ensure that the issue has been resolved.

    Related Information:

    • Documentation: Refer to SAP Help documentation for more details on archiving and document management.
    • Transaction Codes: You may use transaction codes like SPRO for configuration or SARA for archiving administration.
    • Support: If the issue persists after making the changes, consider reaching out to your SAP Basis or functional team for further assistance, or consult SAP support for more specific guidance.

    By ensuring that all document types have a valid residence time set, you can prevent this error from occurring in the future.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author