DETAIL_LINV_STRUC SAP (Inventory Detail for BADI) Structure details
Description: Inventory Detail for BADI
Related tables to DETAIL_LINV_STRUC
Access table DETAIL_LINV_STRUC
Structure field list including key, data, relationships and ABAP select examples
DETAIL_LINV_STRUC 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 "Inventory Detail for BADI" 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_DETAIL_LINV_STRUC TYPE DETAIL_LINV_STRUC.
The DETAIL_LINV_STRUC table consists of various fields, each holding specific information or linking keys about Inventory Detail for BADI data available in SAP. These include LGNUM (Warehouse Number / Warehouse Complex), IVNUM (Number of system inventory record), IVPOS (Physical inventory item), LGTYP (Storage Type).. 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: Not classified
SAP DETAIL_LINV_STRUC 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 |
LGNUM | Warehouse Number / Warehouse Complex | LGNUM | CHAR | 3 | Assigned to domain | LGNUM | LGN | ||
IVNUM | Number of system inventory record | LVS_IVNUM | CHAR | 10 | ALPHA | BELNR | IVN | ||
IVPOS | Physical inventory item | LIDO_IVPOS | CHAR | 4 | CHAR4 | ||||
LGTYP | Storage Type | LGTYP | CHAR | 3 | Assigned to domain | LGTYP | LGT | H_T301 | |
LGPLA | Storage Bin | LGPLA | CHAR | 10 | Assigned to domain | LGPLA | LGP | LAG1 | |
PLPOS | Position in storage bin | LVS_PLPOS | CHAR | 2 | LVS_PLPOS | ||||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
CHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | Assigned to domain | SOBKZ | |||
LSONR | Special Stock Number | LVS_LSONR | CHAR | 24 | LVS_LSONR | ||||
BESTQ | Stock Category in the Warehouse Management System | BESTQ | CHAR | 1 | BESTQ | ||||
WDATU | Date of goods receipt | LIDO_WDATU | CHAR | 8 | CHAR8 | ||||
LENUM | Storage Unit Number | LENUM | CHAR | 20 | Assigned to domain | LENUM | LENUM | LEN | |
MENGA | Quantity for counting result entry | LIDO_MENGA | CHAR | 15 | CHAR15 | ||||
ALTME | Unit of measure | EDI6411_E | CHAR | 3 | EDIF6411 | ||||
LQNUM | Quant number | LIDO_LQNUM | CHAR | 10 | CHAR10 | ||||
NANUM | Inventory recount number | LIDO_NANUM | CHAR | 2 | CHAR2 | ||||
NVERS | Inventory recount version | LIDO_NVERS | CHAR | 2 | CHAR2 | ||||
ISTAT | Item status of inventory at quant level | LINV_ISTAT | CHAR | 1 | LVS_ISTAT | ||||
IDATU | Date of physical inventory | LIDO_IDATU | CHAR | 8 | CHAR8 | ||||
KZINV | Inventory method | LVS_KZINV | CHAR | 2 | LVS_KZINV | ||||
IRNUM | Inventory reference number | LVS_IRNUM | CHAR | 10 | LVS_IRNUM | ||||
MAKTX | Material Description (Short Text) | MAKTX | CHAR | 40 | TEXT40 | ||||
ISEIT | Inventory page | LIDO_ISEIT | CHAR | 4 | CHAR4 | ||||
LETYP | Storage Unit Type | LVS_LETYP | CHAR | 3 | Assigned to domain | LVS_LETYP | |||
KZNUL | Indicator: storage bin empty or quant does not exist | RL04IKZNUL | CHAR | 1 | XFELD | ||||
VFDAT | Expiration Date or Best-Before Date (IDoc) | LIDO_VFDAT | CHAR | 8 | CHAR8 | ||||
LGORT | 0 | ||||||||
UNAME | 0 | ||||||||
MATNR_EXTERNAL | 0 | ||||||||
MATNR_VERSION | 0 | ||||||||
MATNR_GUID | 0 | ||||||||
PROCESSED | Inventory item processed | LVS_PROCESSED | CHAR | 1 | LVS_PROCESSED | ||||
MSGID | Message Class | SYMSGID | CHAR | 20 | Assigned to domain | ARBGB | |||
MSGNO | Message Number | SYMSGNO | NUMC | 3 | SYMSGNO | ||||
MSGTY | Message Type | SYMSGTY | CHAR | 1 | SYCHAR01 | ||||
MSGV1 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGV2 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGV3 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGV4 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 |
Key field | Non-key field |
How do I retrieve data from SAP structure DETAIL_LINV_STRUC using ABAP code?
As DETAIL_LINV_STRUC 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 DETAIL_LINV_STRUC as there is no data to select.How to access SAP table DETAIL_LINV_STRUC
Within an ECC or HANA version of SAP you can also view further information about DETAIL_LINV_STRUC 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