How To Fix P2358 - Only one entry possible per leave type, leave year, and object ID


SAP Error Message - Details

  • Message type: E = Error

  • Message class: P2 - Messages for HR Time Management

  • Message number: 358

  • Message text: Only one entry possible per leave type, leave year, and object ID

  • 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 P2358 - Only one entry possible per leave type, leave year, and object ID ?

    The SAP error message P2358, which states "Only one entry possible per leave type, leave year, and object ID," typically occurs in the context of leave management within the SAP system. This error indicates that there is an attempt to create or modify a leave request that conflicts with existing entries for the same leave type, year, and object ID (usually the employee's ID).

    Cause:

    1. Duplicate Entries: The most common cause of this error is that there is already an existing leave request for the same employee (object ID) for the same leave type and year. SAP allows only one entry per leave type for a given year to avoid conflicts in leave balances and reporting.

    2. Incorrect Data Entry: Sometimes, the error can arise from incorrect data entry, where the system is unable to recognize the leave request due to discrepancies in the data.

    3. Configuration Issues: There may be configuration settings in the SAP system that enforce this rule, which could be set up incorrectly or not aligned with the organization's leave policies.

    Solution:

    1. Check Existing Leave Requests: Review the existing leave requests for the employee in question. You can do this by navigating to the relevant transaction (e.g., PA30 for infotype 2001) and checking for any existing entries for the same leave type and year.

    2. Modify or Delete Existing Entry: If you find an existing entry that conflicts with the new request, you may need to either modify or delete the existing leave request before creating a new one.

    3. Consult with HR or Payroll: If you are unsure about how to proceed, consult with your HR or payroll department. They can provide guidance on the organization's leave policies and help resolve any conflicts.

    4. Check Configuration: If you believe there should be multiple entries allowed, or if the error seems incorrect, it may be necessary to review the configuration settings in the SAP system. This typically requires access to the SAP configuration (SPRO) and may need the involvement of an SAP HR consultant.

    5. Error Handling in Custom Programs: If this error arises in a custom program or report, ensure that the logic correctly handles existing entries and does not attempt to create duplicates.

    Related Information:

    • Infotype 2001 (Absences): This is the infotype where leave requests are stored. You can check this infotype to see existing leave records.
    • Leave Types: Each leave type can have specific rules and configurations that dictate how they are processed in the system.
    • SAP Notes: Check SAP Notes for any known issues or updates related to this error message. SAP frequently releases notes that address specific error messages and provide solutions or workarounds.

    By following these steps, you should be able to identify the cause of the error and take appropriate action 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