How To Fix FH216 - Make an entry in the "Cost Element Category" field


SAP Error Message - Details

  • Message type: E = Error

  • Message class: FH - General ledger module messages

  • Message number: 216

  • Message text: Make an entry in the "Cost Element Category" field

  • Show details Hide details
  • What causes this issue?

    You have not specified a cost element category for cost account &V1&/
    &V2&.

    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?

    When you create a new cost account, this is possible if the G/L account
    is locked for posting at the same time.
    In all other cases, the following restrictions apply:
    For G/L accounts of type <ZH>Secondary Costs</>, you must specify a cost
    element category.
    For G/L accounts of type <ZH>Primary Costs or Revenues</>, you can
    configure the system behavior.
    If you leave this system message as an error message, it ensures that
    when a G/L account is created or changed, a cost element category is
    always specified and thus also the data in the controlling area is
    always written. This is the standard SAP configuration.
    If you issue the message as a warning or deactivate it entirely, the
    cost element category does not have to be specified when a G/L account
    is created or changed. This changes the semantics of the G/L account
    type. <ZH>Primary Costs or Revenues</> then means maximum use of the G/L
    account. The account can, however, also be used as a G/L account of type
    <ZH>Nonoperating Expense and Income</> for the controlling
    areas/company codes in which the cost element category was left empty.
    If you want to subsequently maintain the controlling area data (in
    particular, the cost element category) for a larger number of primary
    cost elements, you can do this by using transaction <DS:TRAN.OB_GLACC14>
    G/L Accounts > Collective Processing > Controlling Area Data</>.
    INCLUDE 'CUSTOMIZED_MESSAGE_INFO' OBJECT DOKU ID TX

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message FH216 - Make an entry in the "Cost Element Category" field ?

    The SAP error message FH216, which states "Make an entry in the 'Cost Element Category' field," typically occurs when you are trying to post a transaction that requires a cost element, but the system cannot find a valid cost element category associated with the entry.

    Cause:

    1. Missing Cost Element Category: The cost element category field is not filled in the transaction you are trying to execute. This can happen if the cost element is not defined properly in the system.
    2. Configuration Issues: The cost element may not be configured correctly in the system, or the relevant settings in the controlling area may not be set up.
    3. Transaction Type: The transaction type you are using may require a specific cost element category that is not being provided.

    Solution:

    1. Check Cost Element Configuration:

      • Go to the transaction code KA01 (Create Cost Element) or KA02 (Change Cost Element) to verify if the cost element is defined correctly.
      • Ensure that the cost element has a valid category assigned to it.
    2. Fill in the Cost Element Category:

      • When entering the transaction, make sure to fill in the "Cost Element Category" field if it is not automatically populated.
    3. Review Transaction Settings:

      • Check the settings for the transaction you are trying to execute. Ensure that all required fields, including the cost element category, are filled out correctly.
    4. Consult with Configuration Team:

      • If you are unsure about the configuration or if the cost element category is missing, consult with your SAP configuration team or a functional consultant who specializes in Controlling (CO) to ensure that everything is set up correctly.
    5. Testing:

      • After making the necessary changes, try to execute the transaction again to see if the error persists.

    Related Information:

    • Cost Element Categories: In SAP, cost elements are classified into different categories (e.g., primary, secondary) that determine how they behave in financial accounting and controlling.
    • Transaction Codes: Familiarize yourself with relevant transaction codes such as KA03 (Display Cost Element) and OKB9 (Define Cost Element Categories) for further investigation.
    • Documentation: Refer to SAP Help documentation or your organization's internal documentation for specific guidelines on cost element configuration and usage.

    By following these steps, you should be able to resolve the FH216 error and successfully complete your transaction.

    • 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