SAP Logo

2897864 - Error 'External number assignment is not possible' but number appears to be in range

When creating various objects (Notification, Equipment, Maintenance plan, Task list, etc)  there is a error regecting the entered code/number

Environment

  • SAP ERP Plant Maintenance (PM)
  • SAP R/3 Enterprise
  • SAP ERP Central Component
  • SAP Enhancement package for SAP ERP
  • SAP Enhancement package for SAP ERP, version for SAP HANA
  • SAP S/4HANA, on-premise

IW21, IW51, IL01, IE01, IP01, IA05, IS042, IM430, IM506, CO848, Number range, sort, SNRO , KBA , PM , Plant Maintenance , Problem

About this page

Search for additional results.

Visit SAP Support Portal's SAP Notes and KBA Search .

Privacy | Terms of use | Legal Disclosure | Copyright | Trademark

Listing Simplifications for the Material Master in SAP S/4HANA

After completing this lesson, you will be able to:

  • List some simplifications for the material master in SAP S/4HANA

Changes Related to the Material Master Record

A screenshot of a material master record is shown, showing that its name can consist of 40 characters.

With SAP S/4HANA, the maximum field length of the material number is extended from 18 to 40 characters.

Where required, specific logic is in place and can be executed automatically in case a customer converts their current SAP Business Suite system to SAP S/4HANA, on-premise.

A customer converting their system to SAP S/4HANA needs to be aware of the following related to this specific simplification:

It might be required to adapt custom code as a result of the material number field length extension.

In a multi-system landscape, the customer has to decide if and when to switch on the material number field length extension functionality. This is because the switch impacts compatibility with respect to system communications within a system landscape.

Storage of the Material Number in the Database

Extending the material number field length in the database means that the length of the MATNR field is extended from 18 to 40 characters. This has been done in all tables (and all fields within the tables) in which a material number can be stored and in all print forms where the material number is to be an output.

Although the maximum length of the database field used to store the material number is now 40 characters, the way in which the material number content is stored in the database field has not changed compared to SAP ERP. This means that a data conversion is normally not required when converting from SAP ERP to SAP S/4HANA. This is especially true for pure numeric material numbers. With standard customizing (leading zeroes are not significant, lexicographic flag not set), pure numeric material numbers are still restricted to 18 characters and will be filled up by leading zeroes only up to 18 characters. This is the same behavior as in SAP ERP.

This way of storing material number content in the SAP S/4HANA system that SAP has chosen, avoids data conversions in the database.

Data conversion will be needed when a material number is stored in a field that has concatenated content. Concatenation in the code uses the complete technical length of the field (which now is 40 characters) and is also reflected in the database content.

The Material Number in Released External Interfaces

Usually, a customer has a multi-system landscape; the ERP system is connected to miscellaneous internal and external (SAP or non-SAP) systems. Accordingly, an SAP S/4HANA system with a material number field length of 40 characters needs to consider this multi-system landscape requirement, where not all related systems are able to deal with a 40 character material number. Furthermore, it cannot be assumed that all ERP systems in a customer landscape will be converted to SAP S/4HANA at the same point in time. This means that the external interfaces used for integration have to be able to deal with both material numbers with a field length of 18 characters and also with material numbers with a field length of 40 characters. This is especially relevant for commonly used integration techniques like BAPI, RFC, and IDoc. This is true because these techniques rely on a fixed field length and a fixed order of these fields in the data being integrated. Simply extending the material number field length (or the field length of any other field for that matter) in these interfaces would technically not be enough.

SAP provides a technical version compatibility for released external interfaces in the way that is commonly used and proposed for BAPI interfaces. The existing field keeps its original length and a new field has been added at the end of the structure (or as new parameter) that allows transmitting material numbers with 40 characters.

For these interface scenarios (in a complex multi-system landscape), it must be possible to ensure that no material number (or other extended field) can be maintained by a user in the system with a content length greater than the old length of the field. To enable this and make the field length extension functionality be as non-disruptive for SAP S/4HANA customers as possible, the extended material number functionality must be switched on explicitly. Only after this explicit decision is it possible to maintain more than 18 characters for a material number.

The material master field length extension functionality has also been implemented for all related BAPIs, IDocs, and released remote-enabled function modules. This has been implemented additionally where necessary for remote function calls issued by the SAP S/4HANA system. It is also implemented for unreleased remote-enabled function modules that are used to communicate with other SAP Business Suite products, such as SAP SCM or SAP CRM.

A complete list of relevant function modules, IDocs, and structures that have been extended so that they are compatible with the extended material master field length can be found in the piece lists in the simplification database.

For released Web Services (SOA), adding a new field or extending the material number field length is not necessary. This is because these services usually already allow material numbers with up to 60 characters in their interfaces.

System Settings to Activate the Extended Material Number Field Length Functionality

The default setting, both after an upgrade to SAP S/4HANA and also for new installations, is that the extended material number field length functionality is NOT activated. To use a material number with 40 characters, the functionality needs to be activated explicitly. The following settings are required to activate the functionality:

Activation of the extended material number field length functionality:

The activation is realized via a client-dependent customizing table.

Navigate to: SAP Customizing Implementation Guide → Cross-Application Components → General Application Functions → Field length Extension → Activate extended fields .

Alternatively, use transaction code FLETS .

Changing the Material Number Format:

Transaction OMSL allows for customer-specific settings regarding the material number field length. Here, the settings need to be adapted to allow a field length of more than 18 characters.

Define Output Format of Material Number can be accessed via the SAP Customizing Implementation Guide (via Logistics General → Material Master → Basic Settings ).

Material Master in SAP S/4HANA

In SAP S/4HANA the following changes apply to the tabs in the Create/Change/Display Material transactions (MM01, MM02 and MM03):

In the screen area called Other data on the Purchasing tab: The Quota Arrangements Usage indicator field is switched off. This is because quota arrangements are always considered.

Foreign trade data on the Intl Trade: Import tab: The commodity code can no longer be maintained in the material master record. The SAP Fiori app Classify Product needs to be used instead.

Lot size data on the MRP 1 tab: The unit of measure group is switched off, because it is only considered in an SAP retail system.

Procurement data on the MRP 2 tab: Quota arrangements usage is switched off because it is always considered.

Storage Location MRP data on the MRP 4 tab: The fields for storage location MRP have been removed because this functionality is no longer supported. Customers have to use MRP areas instead.

Prices and values on the Accounting 1 tab: Using the material ledger is mandatory in SAP S/4HANA. The prices for all shown currencies need to be maintained. In the General Valuation Data area on this tab, there is a link to the material price analysis (that is, a button called Mat. Price Analysis ). This analysis displays the price history for the moving average price on a transactional level. This helps a customer to easily identify the reason for variances in the moving average price.

Material Type SERV: Lean Services

Procurement of a service using the lean services functionality.

In summary: there is a lot of functionality available for lean services created using material type SERV. Examples are limit items and the creation of service entry sheets.

Material Type SERV

A screenshot is shown of the configuration of a material type. And in particular the field Product Group Type which is set to 2 (Services) for material type SERV.

In the configuration details for a material type, there is now an SAP S/4HANA specific field available, which is called Product Type Group . For a material type, the product type group defines whether the material type represents a material (blank entry or 1) or a service (2).

In SAP S/4HANA (all deployment methods) lean services are available as a way to model services.

When using material type SERV , some fields and departments that are irrelevant in SAP S/4HANA are configured as hidden by default. This provides all transactions related to material master maintenance for a SERV (services) material (like MM01, MM02, and MM03) with a leaner and simplified look and feel.

Supported user departments for a SERV material are:

Classification

The following fields and tabs are for examples not available for the material type SERV in SAP S/4HANA:

Basic data 1 -

Fields: EAN/ UPC, EAN Category, Product Allocation, Assign Effected Vals, Matl Grp Package Matls

Basic data 2

Sales General/Plant -

Fields: Replacement Part, Availability Check, Material Freight grp, Shipping Data, Packaging Material Data, General Plant Parameter

Purchasing -

Fields: Material Freight grp, Other Data

Accounting 1 -

Fields: Valuation Class for Sales Order Stock, Valuation Class for Project Stock, Price control - Value S (Standard Price), Periodic Unit Price, Total Stock, Inventory Value, Valuation based on the batch-specific unit of measure

Accounting 2

Sales: Sales Org. 1 -

Fields: X-distr. Chain Status, Valid From, Dchain-spec status, Valid From, Min. dely qty., Delivery Unit

Sales: Sales Org 2 -

Fields: Matl statistics grp, Product attributes

Create Material Master Data in SAP S/4HANA

Create material master data in sap s/4hana 2023 - part 2.

Log in to track your progress & complete quizzes

IMAGES

  1. External IDs and Internal Customer Numbers in SAP SD Sales Orders

    internal and external number assignment in sap

  2. SAP MM

    internal and external number assignment in sap

  3. SAP Personnel Number Assignment Tutorial

    internal and external number assignment in sap

  4. Want to learn about Number Ranges?

    internal and external number assignment in sap

  5. Number Ranges

    internal and external number assignment in sap

  6. SAP Batch Number Assignment

    internal and external number assignment in sap

VIDEO

  1. SAP S/4 HANA: How SAP Interfaces to External Systems?

  2. 40- Number Ranges

  3. Video 36 SAP S 4HANA Materials Management MM training Number Assignment

  4. SAP S/4 HANA Complete tutorial for beginners and Experienced|Day 22|SAP S/4 HANA Day 22 part 2

  5. Document Types and Number Ranges |SAP S4 Hana FI-Financial Accounting

  6. Method CRM Customer Number Assignment

COMMENTS

  1. Solved: External number assignment

    06-02-2014. Generally, external number range is not used in FI posting documents.. Its used in Master data and Purchasing document in MM module.. The external number range means You will tell system that the document number will be XXXXXXXX.. In used of external number range, you have to input the number range at the time of document creation.

  2. External Number in SAP

    We need to assign an External Number range for production order which we did, but now that External Number range should generate new production order number automatically using assigned External Number range, as soon as the production order is saved (similar to standard functionality of SAP in which it generates internal number range as soon as ...

  3. SAP Library

    Number Assignment . Use. The asset number uniquely identifies a fixed asset. It always consists of the main asset number and the asset sub-number. There are two ways of carrying out number assignment in the system: External number assignment; Internal number assignment; In the case of external number assignment, the user directly assigns the ...

  4. SAP Help Portal

    This site uses cookies and related technologies, as described in our privacy statement, for purposes that may include site operation, analytics, enhanced user experience, or advertising.You may choose to manage your own preferences.

  5. Number assignment

    Number assignment; Asset Accounting (FI-AA) 2020 FPS01 (Feb 2021) Available Versions: 2023 Latest ; 2023 (Oct 2023) 2022 Latest ; 2022 FPS02 (May 2023) 2022 FPS01 (Feb 2023) ... To mark this page as a favorite, you need to log in with your SAP ID. If you do not have an SAP ID, you can create one for free from the login page. ...

  6. 3059925

    If the number range should be internal then change the Number Range from exteranl to internal in the SSCUI 102296 'Define Number Ranges' Then open the SSCUI 102241 'Define Groupings and Assign Number Ranges' and set the radio button for "Int.Std.Grping" and save

  7. Solved: Internal batch number assignment..

    Internal batch number assignment.. Hi Experts; There are 9 plants under one company code and one plant required to use internal batch numbers for all materials ( Finished, semi finished, raw materials). Currently company use external batch numbering under batch level "Material". As per my knowledge conversion is at client level.

  8. 2809250

    R1091, migrate your data, supplier, Grouping xxxx has external number assignment, enter a number, The business partner needs a key to identify it, This key was not specified, supplier migration, LTMC, migration cockpit, migration template, S/4HANA cloud, S4_PC, CA-GTF-MIG, external grouping, internal grouping, BP, external number assignment. , KBA , CA-GTF-MIG , SAP S/4HANA Data Migration ...

  9. 2897864

    This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required). Search for additional results. Visit SAP Support Portal's SAP Notes and KBA Search.

  10. SAP Help Portal

    Document Number; Internal Number Assignment; Document Management. 6.0 EHP4 SP20. Available Versions: 6.0 EHP8 SP20 ; 6.0 EHP8 SP19 ; 6.0 EHP8 SP18 ; 6.0 EHP8 SP17 ; 6.0 EHP8 SP16 ; 6.0 EHP8 SP15 ; 6.0 EHP8 SP14 ; ... If you do not have an SAP ID, you can create one for free from the login page.

  11. Internal Number Assignment

    Internal number assignment in Material Master provides automatic generation of material numbers by the system, avoiding the need for manual entry. It ensures that each material has a unique identifier, reducing the chances of duplicate numbers. This feature is particularly useful for companies with a large number of materials or those that ...

  12. Listing Simplifications for the Material Master in SAP S/4HANA

    Usually, a customer has a multi-system landscape; the ERP system is connected to miscellaneous internal and external (SAP or non-SAP) systems. Accordingly, an SAP S/4HANA system with a material number field length of 40 characters needs to consider this multi-system landscape requirement, where not all related systems are able to deal with a 40 ...