OIA08 SAP (LIA Document: Item Data) Table details
Dictionary Type: Table
Description: LIA Document: Item Data
Description: LIA Document: Item Data
Table field list including key, data, relationships and ABAP select examples
OIA08 is a standard SAP Table which is used to store LIA Document: Item Data data and is available within R/3 SAP systems depending on the version and release level.
The OIA08 table consists of various fields, each holding specific information or linking keys about LIA Document: Item Data data available in SAP. These include UPENUM (Document number for logical inventory adjustment), MJAHR (Material Document Year), SEGNUM (Document item no. for logical inventory adjustment), ITEM_TYPE (LIA item 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: 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 or numeric)
SAP OIA08 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 | T000 | MANDT | |||
UPENUM | Document number for logical inventory adjustment | OIA_UPENUM | CHAR | 10 | OIA08H | ALPHA | OIA_UPENUM | UPE | |
MJAHR | Material Document Year | MJAHR | NUMC | 4 | GJAHR | GJAHR | MJA | ||
SEGNUM | Document item no. for logical inventory adjustment | OIA_SEGNUM | NUMC | 5 | OIA_SEGNUM | ||||
ITEM_TYPE | LIA item type | OIA_UPEITM | CHAR | 1 | OIA_UPEITM | ||||
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
EXGTYP | Exchange type | OIA_EXGTYP | CHAR | 4 | TOIA2 | OIA_EXGTYP | OI3 | ||
EXGNUM | Exchange agreement number | OIA_EXGNUM | CHAR | 10 | Assigned to domain | ALPHA | OIA_EXGNUM | OI1 | OIAE |
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
MEINS | LIA transaction unit of measure | OIA_TMEINS | UNIT | 3 | T006 | CUNIT | MEINS | ||
MENGE | Quantity in transaction UOM | OIA_MENGE | QUAN | 13(3) | OIA_MENGE | ||||
SKMEINS | Stockkeeping unit of measure | OIA_SKMNS | UNIT | 3 | T006 | CUNIT | MEINS | ||
SKMENGE | Quantity in stockkeeping UoM | OIA_SKMNG | QUAN | 13(3) | MENGE | ||||
BLDAT | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
PYMT | Payment amount for LIA | OIA_PYMT | CURR | 13(2) | OIA_PYMT | ||||
ZTERM | Terms of Payment Key | DZTERM | CHAR | 4 | ZTERM | ||||
ZLSPR | Block Key for Payment | DZAHLS | CHAR | 1 | T008 | ZAHLS | |||
CVIND | Customer / vendor posting indicator | OIA_CVIND | CHAR | 1 | ALPHA | OIA_CVIND | OI2 | ||
VKORG | Sales Organization | VKORG | CHAR | 4 | TVKO | VKORG | VKO | C_VKORG | |
EKORG | Purchasing Organization | EKORG | CHAR | 4 | T024E | EKORG | EKO | ||
TAXCD | Tax on sales/purchases code | MWSKZ | CHAR | 2 | T007A | MWSKZ | |||
SGTXT | Item Text | SGTXT | CHAR | 50 | TEXT50 | ||||
NEGADJ | Negative adjustment indicator for LIA | OIA_NEGADJ | CHAR | 1 | OIA_NEGADJ | ||||
SUBPROD | Sub-product number | OIA_SUBPRD | CHAR | 18 | MARA | MATN1 | MATNR | ||
OICYCLE | Invoice cycle | OIA_INVCYC | NUMC | 1 | TOIA10 | OIA_INVCYC | |||
OID_EXTBOL | External bill of lading | OID_EXTBOL | CHAR | 16 | OID_EXTBOL | ||||
LIA_DMBTR | LIA quantity adjustment value in local currency | OIA_LIA_DMBTR | CURR | 13(2) | WERT7 | ||||
MATPST | Posting rules for material | OIA_MATPST | CHAR | 1 | OIA_MATPST | ||||
KTOSL | Fee accounting process key | OIA_KTOSL | CHAR | 3 | TOIAH | OIA_KTOSL |
Key field | Non-key field |
How do I retrieve data from SAP table OIA08 using ABAP code
The following ABAP code Example will allow you to do a basic selection on OIA08 to SELECT all data from the tableDATA: WA_OIA08 TYPE OIA08.
SELECT SINGLE *
FROM OIA08
INTO CORRESPONDING FIELDS OF WA_OIA08
WHERE...
How to access SAP table OIA08
Within an ECC or HANA version of SAP you can also view further information about OIA08 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