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

Close

How To Fix WS796 - No entry defined for company code &1


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 796

  • Message text: No entry defined 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 WS796 - No entry defined for company code &1 ?

    Certainly! Here's a detailed explanation for the SAP error message WS796 No entry defined for company code &1:


    Error Message

    WS796 No entry defined for company code &1

    • &1 is a placeholder for the company code in question.

    Cause

    This error occurs when the system tries to find a configuration or master data entry related to a specific company code, but no such entry exists in the relevant customizing table or master data.

    Common scenarios include:

    • Missing configuration in Financial Accounting (FI) customizing for the company code.
    • Missing assignment or entry in tables related to company code-specific settings, such as:
      • Payment program settings
      • House bank assignments
      • Posting period variants
      • Tax codes or tax procedure assignments
    • Attempting to process a transaction or run a program that requires company code-specific data that has not been maintained.

    Typical Areas Where This Error Occurs

    • Payment program (transaction F110)
    • Automatic payment runs
    • Bank determination
    • Tax determination
    • Posting period checks
    • Document processing where company code-specific parameters are required

    Solution

    1. Check Company Code Master Data:

      • Verify that the company code exists in the system (transaction OX02).
      • Ensure the company code is active and correctly maintained.
    2. Check Customizing Settings:

      • Go to the relevant IMG activity depending on the process:
        • For payment program: Check Financial Accounting ? Accounts Payable ? Automatic Payment ? Payment Program ? Set Up Payment Methods per Company Code (transaction FBZP).
        • For bank assignments: Check Financial Accounting ? Bank Accounting ? Bank Accounts ? Define House Banks (transaction FI12).
        • For posting periods: Check Financial Accounting ? Financial Accounting Global Settings ? Document ? Posting Periods ? Define Posting Period Variants (transaction OB52).
      • Ensure that the company code has entries in these customizing tables.
    3. Maintain Missing Entries:

      • If the company code is missing in any required customizing table, create the necessary entries.
      • For example, in FBZP, assign payment methods to the company code.
      • In bank master data, assign house banks to the company code.
    4. Check Program or Transaction Parameters:

      • If the error occurs during a specific transaction or program, verify that the company code parameter is correctly passed and that the company code is valid.
    5. Transport and System Consistency:

      • If the system was recently updated or transported, check if the customizing for the company code was included and imported correctly.

    Additional Information

    • Transaction Codes to Check:
      • OX02 – Define Company Codes
      • FBZP – Payment Program Configuration
      • FI12 – House Banks
      • OB52 – Posting Period Variants
    • Tables to Check:
      • T001 – Company Codes
      • T042Z – Payment Methods per Company Code
      • T012 – House Banks
    • SAP Notes:
      • Check SAP Notes related to the specific module or process where the error occurs.
    • Debugging:
      • If the error is not clear, debugging the program or transaction can help identify which table or configuration is missing the company code entry.

    Summary

    The error WS796 No entry defined for company code &1 means that the system expects a configuration or master data entry for the specified company code but cannot find it. The solution is to identify the missing entry in the relevant customizing or master data tables and maintain it accordingly.


    If you provide the exact transaction or process where this error occurs, I can give more targeted advice.

    • 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
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