Message type: E = Error
Message class: FH - General ledger module messages
Message number: 218
Message text: You are not authorized to lock secondary cost elements in CO area &1
You are not authorized to lock secondary cost elements in controlling
area &V1&.
INCLUDE NA_AUTH_K_CSKB OBJECT DOKU ID TX LANGUAGE E
Error message extract from SAP system. Copyright SAP SE.
The SAP error message FH218 indicates that a user is attempting to lock secondary cost elements in a controlling (CO) area for which they do not have the necessary authorization. This typically occurs when a user tries to perform actions related to cost element accounting that require specific permissions.
Cause:
The error is caused by a lack of authorization for the user to lock secondary cost elements in the specified controlling area. This can happen due to:
- Missing Authorization Object: The user’s role may not include the necessary authorization object for locking secondary cost elements.
- Incorrect User Role Assignment: The user may not be assigned to the correct role that includes the required permissions.
- Configuration Issues: There may be configuration settings in the authorization profiles that restrict access to certain cost elements.
Solution:
To resolve the FH218 error, you can take the following steps:
Check User Authorizations:
- Use transaction code
SU53
immediately after the error occurs to see which authorization check failed.- Review the user’s roles and authorizations in transaction
SU01
orPFCG
.Modify User Roles:
- If the user lacks the necessary authorization, you may need to modify their role to include the required authorization objects. The relevant authorization object for locking secondary cost elements is typically
K_CCA
(Cost Center Accounting) orK_CELEM
(Cost Element Accounting).- Ensure that the user has the appropriate activity (e.g.,
01
for create,02
for change) for the cost elements in question.Consult with Security Team:
- If you do not have the necessary permissions to change roles or authorizations, contact your SAP security team or administrator to request the required access.
Testing:
- After making changes to the user’s roles or authorizations, have the user log out and log back in to ensure that the changes take effect.
- Attempt the action again to verify that the error has been resolved.
Related Information:
SU01
- User MaintenancePFCG
- Role MaintenanceSU53
- Display Authorization CheckBy following these steps, you should be able to resolve the FH218 error and ensure that the user has the necessary permissions to lock secondary cost elements in the specified controlling area.
FH217 You are not authorized to lock primary cost elements in CO area &1
What causes this issue? You are not authorized to lock primary cost elements in...
FH216 Make an entry in the "Cost Element Category" field
What causes this issue? You have not specified a cost element category for cost...
FH219 Results analysis for orders/projects only possible without CoCd data (&3)
What causes this issue? For account &V2& in controlling area &V1&am...
FH220 Account &1 already exists up to &2 in controlling area &3
What causes this issue? You attempted to create the controlling-area-specific a...
SAP messages fall into 3 different categories: Error messages
(message type = E), Warnings (W) or Informational (I) messages.
An error message will prevent you from continuing your work - it is a hard stop and you need to fix the error before you can proceed. A warning message will stop your work, however, you can then bypass the warning by pressing the Enter key on your keyboard. That said, it is still good practice to investigate the cause of the warning message and address it. An information message will not stop your work and is truly just for informational purposes.
Click on this link to search all SAP messages.