How To Fix SECAUDIT046 - File name template does not contain the patter '++++++++'


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SECAUDIT - Message class for security audit

  • Message number: 046

  • Message text: File name template does not contain the patter '++++++++'

  • 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 does not contain the character
    string "++++++++". The value (file name) must contain exactly eight (8)
    plus signs ('+') in succession, since these are replaced by the system
    with the current date.

    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 "++++++++". 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 SECAUDIT046 - File name template does not contain the patter '++++++++' ?

    The SAP error message SECAUDIT046 indicates that there is an issue with the file name template used for security audit logs. Specifically, the error states that the file name template does not contain the required pattern '++++++++', which is a placeholder for the date and time.

    Cause:

    The error occurs when the file name template for the security audit log is not correctly configured. The '++++++++' pattern is expected to be present in the template to allow for the dynamic generation of file names based on the date and time. If this pattern is missing, SAP cannot create the audit log files correctly, leading to the error.

    Solution:

    To resolve this issue, you need to modify the file name template for the security audit logs to include the '++++++++' pattern. Here are the steps to do this:

    1. Access the SAP System: Log in to your SAP system with appropriate administrative privileges.

    2. Navigate to the Security Audit Configuration: Use transaction code SM19 to access the Security Audit Log configuration.

    3. Edit the File Name Template:

      • In the configuration screen, look for the option to set the file name template for the audit logs.
      • Ensure that the template includes the '++++++++' pattern. For example, a valid template might look like audit_log_++++++++.txt, where '++++++++' will be replaced with the date and time when the log is created.
    4. Save the Changes: After making the necessary changes, save the configuration.

    5. Test the Configuration: You can test the configuration by generating a new audit log and checking if the error persists.

    Related Information:

    • Documentation: Refer to the SAP Help Portal or the official SAP documentation for detailed information on configuring the Security Audit Log.
    • Transaction Codes:
      • SM19: Security Audit Log Configuration
      • SM20: Security Audit Log Analysis
    • SAP Notes: Check for any relevant SAP Notes that may provide additional insights or updates related to this error message.

    By ensuring that the file name template is correctly configured, you should be able to resolve the SECAUDIT046 error and allow the SAP system to generate audit logs without issues.

    • 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 simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant