How To Fix HRPSGB_HER138 - Field 'Activity Code' or "Cost centre' contains a default value for &3


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HRPSGB_HER - HR PS GB Higher Education Messages (USS, HESA etc)

  • Message number: 138

  • Message text: Field 'Activity Code' or "Cost centre' contains a default value for &3

  • Show details Hide details
  • What causes this issue?

    At least one of the fields 'Activity Code' (&V1&) and 'Cost centre'(
    &V2&) contains a default value.
    This will lead to error during generation of HESA NISR return as
    default values are not allowed for 'Activity Code 01' and 'Cost centre
    01'.

    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?

    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 HRPSGB_HER138 - Field 'Activity Code' or "Cost centre' contains a default value for &3 ?

    The SAP error message HRPSGB_HER138 indicates that there is an issue with the "Activity Code" or "Cost Centre" fields in the context of a specific operation or transaction. This error typically arises in the Human Resources (HR) module, particularly when dealing with personnel actions, time management, or payroll processing.

    Cause:

    1. Default Values: The error suggests that the system is trying to use a default value for either the "Activity Code" or "Cost Centre" fields, which may not be valid or applicable in the current context.
    2. Configuration Issues: There may be configuration settings in the system that are not properly set up, leading to the use of default values that do not meet the required criteria.
    3. Missing Data: The required data for the "Activity Code" or "Cost Centre" may be missing or incorrectly entered in the relevant infotypes or master data records.
    4. Authorization Issues: Sometimes, the user may not have the necessary authorizations to access or modify the relevant fields, leading to the system defaulting to a value that is not valid.

    Solution:

    1. Check Configuration: Review the configuration settings for the relevant infotypes and ensure that the "Activity Code" and "Cost Centre" fields are correctly defined. This may involve checking the settings in the IMG (Implementation Guide).
    2. Validate Data: Ensure that the data entered in the relevant infotypes (e.g., IT0001, IT0007, etc.) is complete and accurate. Check for any missing or incorrect entries.
    3. Review Default Values: If default values are being used, verify that they are appropriate for the current transaction. You may need to adjust the default settings in the configuration.
    4. User Authorizations: Check the user’s authorizations to ensure they have the necessary permissions to access and modify the fields in question.
    5. Consult Documentation: Refer to SAP documentation or notes related to this specific error message for additional guidance and troubleshooting steps.

    Related Information:

    • Transaction Codes: You may need to use transaction codes like PA30 (Maintain HR Master Data) or PA20 (Display HR Master Data) to check the relevant infotypes.
    • SAP Notes: Look for SAP Notes that may address this specific error message or provide patches or updates that resolve the issue.
    • Support: If the issue persists, consider reaching out to your SAP support team or consulting with SAP experts who can provide more tailored assistance based on your system configuration.

    By following these steps, you should be able to identify the root cause of the error and implement a solution to resolve it.

    • 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's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker