How To Fix /CPD/CL_MSG349 - Cannot archive &1 &2; end date is in the future


SAP Error Message - Details

  • Message type: E = Error

  • Message class: /CPD/CL_MSG -

  • Message number: 349

  • Message text: Cannot archive &1 &2; end date is in the future

  • 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 /CPD/CL_MSG349 - Cannot archive &1 &2; end date is in the future ?

    The SAP error message /CPD/CL_MSG349 indicates that there is an attempt to archive a data object (like a document or record) where the end date specified for the archiving process is set in the future. This situation typically arises when the archiving process is trying to archive data that is still considered active or valid based on the defined date parameters.

    Cause:

    1. Future End Date: The end date for the archiving process is set to a date that is later than the current date. This means that the system believes that the data is still relevant and should not be archived yet.
    2. Incorrect Configuration: The archiving object configuration may have incorrect settings that lead to this situation.
    3. Data Selection Criteria: The selection criteria used for archiving may inadvertently include records that are not eligible for archiving due to their future end dates.

    Solution:

    1. Check End Date: Review the end date specified in the archiving job. Ensure that it is set to a date that is not in the future. Adjust the date accordingly.
    2. Adjust Archiving Criteria: If the archiving criteria are too broad, refine them to exclude records with future end dates.
    3. Review Archiving Object Configuration: Check the configuration of the archiving object in transaction SARA. Ensure that the settings align with your archiving strategy and that they do not inadvertently include future-dated records.
    4. Run Archiving Job Again: After making the necessary adjustments, rerun the archiving job to see if the error persists.

    Related Information:

    • Transaction Codes: You can use transaction codes like SARA (Archive Administration) to manage archiving objects and jobs.
    • Documentation: Refer to SAP documentation for specific archiving objects to understand their configuration and requirements.
    • SAP Notes: Check for any relevant SAP Notes that might address known issues or provide additional guidance on this error message.
    • Testing: Before running archiving jobs in a production environment, consider testing in a development or quality assurance environment to ensure that the settings are correct.

    By addressing the future end date and ensuring that the archiving criteria are appropriate, you should be able to resolve the error and successfully archive the desired data.

    • 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
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker