Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix T4158 - &1 &2 is not a working day


SAP Error Message - Details

  • Message type: E = Error

  • Message class: T4 - Time deposit processing

  • Message number: 158

  • Message text: &1 &2 is not a working day

  • 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 T4158 - &1 &2 is not a working day ?

    The SAP error message T4158 indicates that a specified date (represented by &1) is not a working day for the specified calendar (represented by &2). This error typically arises in scenarios involving scheduling, planning, or any operations that require date validation against a defined working calendar.

    Cause:

    1. Non-Working Day: The date you are trying to use falls on a weekend or a public holiday that is not defined as a working day in the system.
    2. Calendar Configuration: The factory calendar or the specific calendar assigned to the relevant organizational unit does not include the date in question as a working day.
    3. Date Input Error: There may be a mistake in the date input, such as a typo or incorrect date format.

    Solution:

    1. Check the Date: Verify the date you are trying to use. Ensure it is indeed a working day according to the calendar settings.
    2. Review Calendar Settings:
      • Go to the transaction code SCAL (Maintain Calendar) to check the configuration of the factory calendar or the specific calendar in use.
      • Ensure that the date in question is marked as a working day.
    3. Adjust the Date: If the date is indeed a non-working day, consider adjusting your input to a valid working day.
    4. Consult with Configuration Team: If you believe the calendar settings are incorrect or need adjustment, consult with your SAP configuration team to review and modify the calendar settings as necessary.

    Related Information:

    • Transaction Codes:
      • SCAL: To maintain and view calendar settings.
      • OVZB: To check and maintain public holidays.
    • Documentation: Refer to SAP Help documentation for more details on calendar settings and working days.
    • User Exits and BAdIs: If you have custom developments, check if there are any user exits or BAdIs that might affect date handling in your specific scenario.

    By following these steps, you should be able to resolve the T4158 error and ensure that your date inputs align with the working calendar defined in your SAP system.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


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