Do you have any question about this error?
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 '++++++++'
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.
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.
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
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.
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:
Access the SAP System: Log in to your SAP system with appropriate administrative privileges.
Navigate to the Security Audit Configuration: Use transaction code
SM19
to access the Security Audit Log configuration.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.Save the Changes: After making the necessary changes, save the configuration.
Test the Configuration: You can test the configuration by generating a new audit log and checking if the error persists.
Related Information:
SM19
: Security Audit Log ConfigurationSM20
: Security Audit Log AnalysisBy 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.
Get instant SAP help. Start your 7-day free trial now.
SECAUDIT045
Kernel parameters deleted
What causes this issue? The current kernel parameters were deleted and will no longer be used from the next system start. This means that the followi...
SECAUDIT044
Kernel parameters saved
What causes this issue? The current kernel parameters have been saved and will be used as of the next system start. This means that the following pro...
SECAUDIT047
File name template does not contain the pattern '######'
What causes this issue? When checking the profile parameter FN_AUDIT, the system determined that the current value is invalid, since it does not cont...
SECAUDIT048
File name template contains the pattern '######' before '++++++++'
What causes this issue? When checking the profile parameter FN_AUDIT, the system determined that the current value is invalid, since it contains the ...
Click on this link to search all SAP messages.