How To Fix RA401 - Enter keepqtrs = 0 and keepyrs = 0 when keepmths < 4


SAP Error Message - Details

  • Message type: E = Error

  • Message class: RA - Monitoring structure dialog message

  • Message number: 401

  • Message text: Enter keepqtrs = 0 and keepyrs = 0 when keepmths < 4

  • Show details Hide details
  • What causes this issue?

    This is an error message. You are trying to set the reorganization
    schema for the performance database and have entered invalid data.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    If you want to keep data in the performance database to less than four
    months, set the values for the data to be stored for quarters and years
    to zero.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message RA401 - Enter keepqtrs = 0 and keepyrs = 0 when keepmths < 4 ?

    The SAP error message RA401 indicates an issue with the configuration of the retention periods for the asset accounting module. Specifically, it relates to the settings for how long to keep certain data in the system.

    Cause:

    The error occurs when the configuration for the retention periods is inconsistent. The parameters keepqtrs (keep quarters) and keepyrs (keep years) must be set to 0 when the parameter keepmths (keep months) is less than 4. This is because the system requires that if you are not retaining data for at least 4 months, you should not be retaining it for any quarters or years.

    Solution:

    To resolve this error, you need to adjust the configuration settings in the Asset Accounting module. Here are the steps to do so:

    1. Access the Configuration:

      • Go to the SAP Easy Access screen.
      • Navigate to the following path: SPRO -> SAP Reference IMG -> Financial Accounting -> Asset Accounting -> Asset Accounting Global Settings -> Retention Periods.
    2. Check the Retention Settings:

      • Look for the settings related to keepmths, keepqtrs, and keepyrs.
      • If keepmths is set to a value less than 4, ensure that both keepqtrs and keepyrs are set to 0.
    3. Adjust the Values:

      • If necessary, change the values of keepqtrs and keepyrs to 0.
      • If you want to retain data for quarters or years, you should set keepmths to a value of 4 or more.
    4. Save the Configuration:

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

      • After saving, perform a test to ensure that the error message RA401 no longer appears.

    Related Information:

    • Retention Periods: These settings determine how long the system retains historical data for asset accounting. Proper configuration is essential for compliance and reporting purposes.
    • Impact of Changes: Be cautious when changing retention settings, as it can affect data availability for reporting and historical analysis.
    • Documentation: Always refer to the official SAP documentation or consult with your SAP Basis or Finance team for best practices and compliance with your organization's policies.

    By following these steps, you should be able to resolve the RA401 error and ensure that your asset accounting settings are correctly configured.

    • 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