How To Fix GEF_CUST_MSG021 - Required Business Layer field is missing.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: GEF_CUST_MSG - Message class for GEF customizing

  • Message number: 021

  • Message text: Required Business Layer field is missing.

  • Show details Hide details
  • What causes this issue?

    Mandatory fields for the <LS>Business Layers</> node are:
    All fields defined within the Filters node of the corresponding geo
    object
    Following fields in the structure <NP>GEFS_FRW_ATTR</>
    <NP>GEF_CONTEXT</>
    <NP>GEF_OBJECTID</>
    <NP>GEF_OBJKEY</>
    <NP>GEF_FREESEARCH</>
    If you select <LS>Time Dependent Geom. </>from<LS> Geo Object<(>,<)></>
    as well as <LS>Time Enabled Layer</> from <LS>Business Layers</>, there
    are three additional fields that are mandatory:
    <NP>GEF_DATE_FROM</>
    <NP>GEF_DATE_TO</>
    <NP>GEF_GEOMKEY</>
    Note: The three additional fields are also mandatory if only <LS>Time
    Dependent Geom. </>is selected in the <LS>Geo Object</> node. If only
    <LS>Time Enabled Layer</> is selected from <LS>Business Layers</>, then
    the two mandatory fields are <NP>GEF_DATE_FROM</> and <NP>GEF_DATE_TO
    </>.

    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?

    You need to add all mandatory fields listed above into the <LS>Fields
    </>node under the <LS>Business Layers</> node.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message GEF_CUST_MSG021 - Required Business Layer field is missing. ?

    The SAP error message GEF_CUST_MSG021 indicates that a required field in the Business Layer is missing. This error typically occurs in the context of SAP applications that utilize the Business Layer for data processing, such as SAP BusinessObjects or SAP BW.

    Cause:

    1. Missing Configuration: The error often arises when a required field in the Business Layer configuration is not defined or is incorrectly set up.
    2. Data Model Changes: If there have been recent changes to the data model or the underlying database schema, it may lead to missing fields that are expected by the Business Layer.
    3. Incorrect Mapping: There may be issues with how fields are mapped between the Business Layer and the underlying data sources.
    4. Version Compatibility: Sometimes, compatibility issues between different versions of SAP components can lead to missing fields.

    Solution:

    1. Check Configuration: Review the Business Layer configuration to ensure that all required fields are defined. This may involve checking the metadata and ensuring that all necessary fields are included.
    2. Update Data Model: If there have been changes to the data model, ensure that the Business Layer is updated accordingly. This may involve regenerating the Business Layer or refreshing the metadata.
    3. Field Mapping: Verify the mapping of fields between the Business Layer and the data source. Ensure that all required fields are correctly mapped and available.
    4. Consult Documentation: Refer to the SAP documentation for the specific application you are using to understand the required fields and their configurations.
    5. Check for Updates: Ensure that you are using the latest version of the SAP software, as updates may contain fixes for known issues related to missing fields.
    6. Contact Support: If the issue persists, consider reaching out to SAP support for assistance. They may provide insights specific to your environment and configuration.

    Related Information:

    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.
    • Community Forums: Engage with SAP community forums or user groups where similar issues may have been discussed.
    • Documentation: Review the official SAP documentation for the specific module or application you are working with to understand the requirements for the Business Layer.

    By following these steps, you should be able to identify and resolve the issue related to the missing required Business Layer field.

    • 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