WSOL_MATNR SAP (Output list for materials) Structure details
Description: Output list for materials
Structure field list including key, data, relationships and ABAP select examples
WSOL_MATNR is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Output list for materials" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_WSOL_MATNR TYPE WSOL_MATNR.
The WSOL_MATNR table consists of various fields, each holding specific information or linking keys about Output list for materials data available in SAP. These include MANDT (Client), MATNR (Material Number), LIFNR (Account Number of Vendor or Creditor), WERKS (Plant).. 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:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP WSOL_MATNR structure 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 | T000 | MANDT | |||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
LIFNR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | LFA1 | ALPHA | LIFNR | LIF | KRED_C |
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
LOCNR | Customer Number for Plant | LOCNR | CHAR | 10 | KNA1 | ALPHA | KUNNR | KUN | |
MATKL | Material Group | MATKL | CHAR | 9 | T023 | MATKL | MKL | S_WBWG | |
EKORG | Purchasing Organization | EKORG | CHAR | 4 | T024E | EKORG | EKO | ||
VKORG | Sales Organization | VKORG | CHAR | 4 | TVKO | VKORG | VKO | C_VKORG | |
VTWEG | Distribution Channel | VTWEG | CHAR | 2 | TVTW | VTWEG | VTW | C_VTWEG | |
INFNR | Number of Purchasing Info Record | INFNR | CHAR | 10 | EINA | ALPHA | INFNR | INF | MEIN_C |
ALDAT | Discontinuation date | ALDAT | DATS | 8 | DATUM | ||||
BSPER | Ordering block date | BESTSPERR | DATS | 8 | DATUM | ||||
VSPER | Sales block date | VERKSPERR | DATS | 8 | DATUM | ||||
LGORT | Storage Location | LGORT_D | CHAR | 4 | T001L | LGORT | LAG | ||
LGNUM | Warehouse Number / Warehouse Complex | LGNUM | CHAR | 3 | T300 | LGNUM | LGN | ||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | T149D | BWTAR | BWT | ||
KZKORREKT | Indicates whether a material can be discontinued | KZAUSLIST | CHAR | 1 | KZAUSLIST | ||||
MSGNR | Message number | MSGNR | CHAR | 3 | Assigned to domain | MSGNR | |||
TABNA | Table Name | TABNAME | CHAR | 30 | Assigned to domain | AS4TAB | DTB | ||
TABKEY | Internal ABAP/4 text | ITEX | CHAR | 70 | ITEX | ||||
VERFA | Follow-up action after error (material discontinuation) | AUSL_FOLGE | CHAR | 2 | Assigned to domain | AUSL_FOLGE | |||
SELKZ | Selection indicator | ISELK | CHAR | 1 | ESELK | ||||
KZSPERR | Selection ID, material discontinuation | OLSELK | CHAR | 1 | OLSELKZ | ||||
MSGTY_01 | Message Type | MSGTY | CHAR | 1 | MSGAR | ||||
ARBGB_01 | Application Area | ARBGB | CHAR | 20 | Assigned to domain | ARBGB | MAG | ||
MSGV1_01 | Message variable 01 | MSGV1 | CHAR | 50 | CHAR50 | ||||
MSGV2_01 | Message variable 02 | MSGV2 | CHAR | 50 | CHAR50 | ||||
MSGV3_01 | Message variable 03 | MSGV3 | CHAR | 50 | CHAR50 | ||||
MSGV4_01 | Message variable 04 | MSGV4 | CHAR | 50 | CHAR50 | ||||
.INCLU--AP | 0 | ||||||||
MSGTY | Message Type | MSGTY | CHAR | 1 | MSGAR | ||||
ARBGB | Application Area | ARBGB | CHAR | 20 | Assigned to domain | ARBGB | MAG | ||
MSGV1 | Message variable 01 | MSGV1 | CHAR | 50 | CHAR50 | ||||
MSGV2 | Message variable 02 | MSGV2 | CHAR | 50 | CHAR50 | ||||
MSGV3 | Message variable 03 | MSGV3 | CHAR | 50 | CHAR50 | ||||
MSGV4 | Message variable 04 | MSGV4 | CHAR | 50 | CHAR50 | ||||
DUMMY | Dummy function in length 1 | DUMMY | CHAR | 1 | DUMMY |
Key field | Non-key field |
How do I retrieve data from SAP structure WSOL_MATNR using ABAP code?
As WSOL_MATNR is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on WSOL_MATNR as there is no data to select.How to access SAP table WSOL_MATNR
Within an ECC or HANA version of SAP you can also view further information about WSOL_MATNR 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