How To Fix SECAUDIT048 - File name template contains the pattern '######' before '++++++++'


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SECAUDIT - Message class for security audit

  • Message number: 048

  • Message text: File name template contains the pattern '######' before '++++++++'

  • Show details Hide details
  • What causes this issue?

    When checking the profile parameter FN_AUDIT, the system determined that
    the current value is invalid, since it contains the character string
    "######" in the wrong place.

    System Response

    Since the profile parameter FN_AUDIT is instance-specific, the result of
    the parameter check also contains the instance name.
    You cannot save the kernel parameters while there are errors in the
    profile parameters.

    How to fix this error?

    Set the value of the profile parameter FN_AUDIT in such a way that it
    contains the character string "######" after the character string
    "++++++++". You can maintain profile parameters with transaction RZ10.
    Examples: audit_++++++++_###### or AUDIT++++++++_######.AUD

    Procedure for System Administrators

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


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message SECAUDIT048 - File name template contains the pattern '######' before '++++++++' ?

    The SAP error message SECAUDIT048 indicates an issue with the file name template used for audit logs in the SAP system. Specifically, the error arises when the file name template contains the pattern '######' before '++++++++'. This pattern is typically used to define a naming convention for log files, where '######' represents a sequence number and '++++++++' represents a timestamp or other identifier.

    Cause:

    The error occurs because the file name template is not correctly configured. The presence of '######' before '++++++++' suggests that the system is expecting a specific format for the file name, but the current configuration does not meet this requirement. This can happen due to:

    1. Incorrect configuration in the audit log settings.
    2. A misunderstanding of the naming conventions required by the SAP system.
    3. Manual changes made to the file name template that do not conform to the expected format.

    Solution:

    To resolve the SECAUDIT048 error, you need to correct the file name template in the audit log configuration. Here are the steps to do this:

    1. Access the Audit Log Configuration:

      • Go to transaction code SM19 (Security Audit Log) in the SAP GUI.
    2. Check the File Name Template:

      • In the configuration settings, look for the section where the file name template is defined.
      • Ensure that the template follows the correct format. A typical format might look like audit_######_++++++++.log, where '######' is a placeholder for a sequence number and '++++++++' is for a timestamp.
    3. Modify the Template:

      • If the template contains '######' before '++++++++', you may need to rearrange or modify it to ensure it adheres to the expected format.
      • For example, you might change it to audit_++++++++_######.log or another valid format as per your requirements.
    4. Save the Changes:

      • After making the necessary adjustments, save the configuration.
    5. Test the Configuration:

      • Generate a new audit log to ensure that the error no longer occurs and that the logs are being created with the correct file name format.

    Related Information:

    • Documentation: Refer to the SAP documentation for Security Audit Log configuration for detailed guidelines on naming conventions and best practices.
    • SAP Notes: Check for any relevant SAP Notes that may address this specific error or provide additional context on file naming conventions.
    • Support: If the issue persists after making changes, consider reaching out to SAP support for further assistance.

    By following these steps, you should be able to resolve the SECAUDIT048 error and ensure that your audit logs are generated correctly.

    • 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