N2MATREF SAP (IS-H*MED: Reference table for material external data (N2FM)) Table details
Description: IS-H*MED: Reference table for material external data (N2FM)
Table field list including key, data, relationships and ABAP select examples
N2MATREF is a standard SAP Table which is used to store IS-H*MED: Reference table for material external data (N2FM) data and is available within R/3 SAP systems depending on the version and release level.
The N2MATREF table consists of various fields, each holding specific information or linking keys about IS-H*MED: Reference table for material external data (N2FM) data available in SAP. These include REFDOK (Document ID of a Referencing Document), REFKEY (Reference Key of a Referenced Object), LFDNRREF (Sequential Assignment Number), LINEREF (Reference Key of a Referenced Object).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)
SAP N2MATREF table fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
REFDOK | Document ID of a Referencing Document | N2_CHAR30 | CHAR | 30 | CHAR30 | ||||
REFKEY | Reference Key of a Referenced Object | N2_REFKEY | CHAR | 20 | CHAR20 | ||||
LFDNRREF | Sequential Assignment Number | N2_LFDNR | NUMC | 4 | NUM04 | ||||
LINEREF | Reference Key of a Referenced Object | N2_REFKEY | CHAR | 20 | CHAR20 | ||||
LNRLS | IS-H: Service Sequence Number | LNRLS | CHAR | 10 | ALPHA | LNRLS | |||
ZULNRLS | IS-H: Service Sequence Number | LNRLS | CHAR | 10 | ALPHA | LNRLS | |||
TALST | Service in Service Catalog | TARLS | CHAR | 10 | Assigned to domain | ALPHA | TARLS | TAL |
Key field | Non-key field |
How do I retrieve data from SAP table N2MATREF using ABAP code
The following ABAP code Example will allow you to do a basic selection on N2MATREF to SELECT all data from the tableDATA: WA_N2MATREF TYPE N2MATREF.
SELECT SINGLE *
FROM N2MATREF
INTO CORRESPONDING FIELDS OF WA_N2MATREF
WHERE...
How to access SAP table N2MATREF
Within an ECC or HANA version of SAP you can also view further information about N2MATREF and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects