How To Fix PG042 - Only Display or Change can be used for infotype &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: PG - Error Messages for Master Data Programs

  • Message number: 042

  • Message text: Only Display or Change can be used for infotype &

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message PG042 - Only Display or Change can be used for infotype & ?

    The SAP error message PG042 "Only Display or Change can be used for infotype &" typically occurs when you are trying to perform an action that is not allowed for a specific infotype in the SAP Human Capital Management (HCM) module. This message indicates that the infotype you are trying to access is in a status that does not permit the action you are attempting (e.g., creating a new record).

    Cause:

    1. Infotype Status: The infotype you are trying to modify may be in a status that only allows display or change operations. For example, if the infotype is locked or if it is a historical record, you may not be able to create a new entry.
    2. Authorization Issues: The user may not have the necessary authorizations to perform the action on that infotype.
    3. Configuration Settings: The infotype may be configured in such a way that it restricts certain operations based on the employee's status or other criteria.

    Solution:

    1. Check Infotype Status: Verify the status of the infotype you are trying to access. If it is a historical record or locked, you may need to create a new record or unlock it if appropriate.
    2. Use Correct Transaction: Ensure you are using the correct transaction code for the action you want to perform. For example, if you want to change an infotype, use the appropriate transaction (e.g., PA30 for infotype maintenance).
    3. Authorization Check: Ensure that you have the necessary authorizations to perform the action. You may need to contact your SAP security administrator to check your roles and permissions.
    4. Consult Configuration: If you have access to configuration settings, check the infotype configuration to see if there are any restrictions in place that prevent the action you are trying to perform.
    5. Use Display or Change Mode: If you only need to view or modify existing data, switch to display or change mode as indicated by the error message.

    Related Information:

    • Infotypes: Infotypes are data structures in SAP HCM that store employee-related information. Each infotype has a specific purpose and can have different statuses.
    • Transaction Codes: Common transaction codes related to infotypes include:
      • PA30: Maintain HR Master Data
      • PA20: Display HR Master Data
      • PA40: Personnel Actions
    • SAP Notes: Check SAP Notes for any known issues or updates related to the specific infotype you are working with.

    If the issue persists after checking the above points, it may be helpful to consult with your SAP support team or refer to SAP documentation for further assistance.

    • 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