How To Fix EI796 - Maintain length of commodity code / import code number in Customizing


SAP Error Message - Details

  • Message type: E = Error

  • Message class: EI - Foreign Trade: Gen. Output

  • Message number: 796

  • Message text: Maintain length of commodity code / import code number in Customizing

  • Show details Hide details
  • What causes this issue?

    In Customizing, neither the length of the commodidy code nor the length
    of the import code number is maintained.
    If you maintain the field for additional info with 'blank', this means
    that:
    the specified number can be used both as the commodity code as well as
    the import code number.
    If you use a number for both goods directions, the length for both
    should be the same.

    How to fix this error?

    Maintain the length of the commodity code and the import code number
    using the IMG activity:
    <ZH>R/3 Customizing Implementation Guide - Sales and distribution -
    Foreign trade - Basic data for foreign trade - Length of commodity
    code/Import code numbery</>

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message EI796 - Maintain length of commodity code / import code number in Customizing ?

    The SAP error message EI796, which states "Maintain length of commodity code / import code number in Customizing," typically occurs when there is an issue with the configuration of commodity codes or import codes in the SAP system. This error is often related to the settings in the Global Trade Services (GTS) module or the Foreign Trade settings in the SAP system.

    Cause:

    1. Incorrect Configuration: The length of the commodity code or import code number is not properly defined in the system settings. This can happen if the system expects a certain length for these codes, but the configuration does not match that expectation.
    2. Data Entry Issues: The commodity code or import code being entered may exceed the allowed length or may not conform to the expected format.
    3. Missing Customizing Settings: The necessary customizing settings for commodity codes or import codes may not have been maintained in the system.

    Solution:

    To resolve the EI796 error, you can follow these steps:

    1. Check Customizing Settings:

      • Go to the SAP Customizing Implementation Guide (IMG) by using transaction code SPRO.
      • Navigate to Logistics > Global Trade > Basic Settings > Define Commodity Codes or Define Import Codes.
      • Ensure that the length of the commodity code or import code is correctly defined according to your business requirements.
    2. Adjust Code Length:

      • If the length is not set correctly, adjust it to match the expected length for your business processes. This may involve changing the settings to accommodate longer or shorter codes as necessary.
    3. Validate Data Entry:

      • Ensure that the commodity codes or import codes being entered in transactions conform to the defined length and format. Check for any typos or incorrect entries.
    4. Test Changes:

      • After making the necessary adjustments, test the changes by attempting to enter the commodity code or import code again to see if the error persists.
    5. Consult Documentation:

      • Review SAP documentation or help resources for any additional guidelines or requirements related to commodity codes and import codes.
    6. Seek Support:

      • If the issue persists after checking the above settings, consider reaching out to your SAP support team or consulting with an SAP expert for further assistance.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as SPRO for customizing, SE11 for data dictionary, and SE16 for table display, which may help in troubleshooting.
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.
    • Training and Documentation: Ensure that users involved in data entry are trained on the correct formats and lengths for commodity codes and import codes.

    By following these steps, you should be able to resolve the EI796 error and ensure that your commodity and import code configurations are correctly set up in SAP.

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