How To Fix SAWE_BO_SA158 - No hours per workday defined in customizing for company code &1


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SAWE_BO_SA - Message class for BO Staff Assignment

  • Message number: 158

  • Message text: No hours per workday defined in customizing for company code &1

  • 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 SAWE_BO_SA158 - No hours per workday defined in customizing for company code &1 ?

    The SAP error message SAWE_BO_SA158 indicates that there are no hours per workday defined in the customizing settings for a specific company code. This error typically arises in the context of time management or payroll processing when the system requires information about the standard working hours for employees.

    Cause:

    The primary cause of this error is that the configuration for the work schedule or the workday hours has not been set up correctly in the SAP system for the specified company code. This can happen if:

    • The work schedule rules have not been defined.
    • The company code has not been assigned a valid work schedule.
    • The configuration settings for the workday hours are missing or incorrect.

    Solution:

    To resolve this error, you need to define the hours per workday in the customizing settings for the relevant company code. Here are the steps to do this:

    1. Access the Customizing Settings:

      • Go to the SAP Easy Access screen.
      • Navigate to the following path:
        SPRO -> SAP Reference IMG -> Personnel Management -> Personnel Administration -> Customizing Procedures -> Work Schedule -> Define Work Schedule
    2. Define Work Schedule:

      • In the work schedule configuration, ensure that you have defined the work schedule rules that include the hours per workday.
      • You may need to create a new work schedule or modify an existing one to include the necessary details.
    3. Assign Work Schedule to Company Code:

      • Ensure that the defined work schedule is assigned to the relevant company code.
      • You can do this by navigating to:
        SPRO -> SAP Reference IMG -> Personnel Management -> Personnel Administration -> Customizing Procedures -> Work Schedule -> Assign Work Schedule to Company Code
    4. Check Employee Master Data:

      • Verify that the employee master data is correctly set up to reference the appropriate work schedule.
    5. Testing:

      • After making the necessary changes, test the functionality to ensure that the error no longer appears.

    Related Information:

    • Transaction Codes: You may use transaction codes like PA30 (Maintain HR Master Data) to check employee records and PA03 (Maintain HR Master Data Infotypes) to review specific infotypes related to work schedules.
    • Documentation: Refer to SAP Help documentation for detailed guidance on configuring work schedules and related settings.
    • Support: If you continue to experience issues, consider reaching out to your SAP support team or consulting with an SAP expert for further assistance.

    By following these steps, you should be able to resolve the SAWE_BO_SA158 error and ensure that the hours per workday are correctly defined for your company code.

    • 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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author