OIRADBT SAP (Document base table) Table details
Dictionary Type: Table
Description: Document base table
Description: Document base table
Table field list including key, data, relationships and ABAP select examples
OIRADBT is a standard SAP Table which is used to store Document base table data and is available within R/3 SAP systems depending on the version and release level.
The OIRADBT table consists of various fields, each holding specific information or linking keys about Document base table data available in SAP. These include LINKNR (Link number), ITLINKNR (Item link number), LINKYEAR (Document link number year), PBLNR (Business location identifier (IS-Oil MRN)).. 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 OIRADBT 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 | |||
LINKNR | Link number | OIRA_LINKNR | NUMC | 10 | NUMC10 | ||||
ITLINKNR | Item link number | OIRA_ITLINKNR | NUMC | 6 | Assigned to domain | POSNR | |||
LINKYEAR | Document link number year | OIRA_JAHR | NUMC | 4 | GJAHR | GJAHR | |||
PBLNR | Business location identifier (IS-Oil MRN) | OIF_PBLNR | CHAR | 10 | Assigned to domain | ALPHA | OIF_PBLNR | OI0 | OIFB |
DATATYPE | Data type | OIRA_DATATYPE | CHAR | 3 | OIRA_DATATYPE | ||||
SRCETAB | Source table | OIRA_SRCETAB | CHAR | 16 | OIRA_SRCETAB | ||||
RNBT | Business type | OIRA_RNBT | CHAR | 4 | Assigned to domain | OIRA_RNBT | OIRA_0 | ||
PARFN | MRN business partner role / relation type | OIF_PARFN | CHAR | 4 | Assigned to domain | OIF_PARFN | |||
FTMSTM | Start of partner function validity period: time stamp | OIF_FTMSTM | NUMC | 14 | OIF_TMSTM | ||||
PARPOS | Partner counter | OIF_PARPOS | NUMC | 3 | OIF_PARPOS | ||||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
STYP | Service type | OIRA_STYP | CHAR | 4 | Assigned to domain | OIRA_STYP | OIR_ST | ||
VKDAT | SSR PC: Sales date at the service station | OIRE_VKDAT | DATS | 8 | DATS | OIRE_VKDAT | |||
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
LGORT | Storage Location | LGORT_D | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
CHOBJ | SSR PC: Clearing house | OIRE_CHOBJ | CHAR | 6 | Assigned to domain | OIRE_CHOBJ | |||
SSR_CCINS | SSR PC: Payment card type | OIRE_CCINS | CHAR | 4 | Assigned to domain | OIRE_CCINS | OIRE_CCINS | ||
STORNO | SSR PC: Reversal indicator | OIRE_STORNO | CHAR | 1 | CHAR1 | ||||
COMPFL | Complaint indicator for OIRADBT entries | OIRA_COMPFL | CHAR | 1 | CHAR1 | ||||
VRKME | Sales unit | VRKME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
DCIND | Debit/Credit indicator | OIRA_DCIND | CHAR | 1 | OIRE_DCIND | ||||
KBETR | Rate (condition amount or percentage) | KBETR | CURR | 11(2) | WERTV6 | ||||
KONWA | Rate unit (currency or percentage) | KONWA | CUKY | 5 | Assigned to domain | WAERS | |||
KPEIN | Condition pricing unit | KPEIN | DEC | 5 | KPEIN | ||||
KMEIN | Condition unit | KMEIN | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
MENGE | SSR PC: Quantity sold at the business location | OIRE_MENGE | QUAN | 13(3) | MENG13V | ||||
BRTWR | SSR PC: Gross value | OIRE_BRTWR | CURR | 13(2) | WERTV7 | ||||
STPARTPROC | Partially processed indicator for Settlement transmission | OIRE_SETTRANPARTPROC | CHAR | 1 | YESNO | ||||
SEQNR | GMM: Sequence number of meter assigned to customer | OII_GSEQNR | CHAR | 10 | ALPHA | OII_SEQNR | |||
TNKNR | Sequence number of SO assigned to business location | OII_BSEQNR | CHAR | 10 | ALPHA | OII_SEQNR | |||
HDRNR | SSR PC: DTF payment card transaction number (internal) | OIRE_UPLNR | CHAR | 10 | CHAR10 | OIRE_UPLNR | |||
ITMNR | Item number of the SD document | POSNR | NUMC | 6 | Assigned to domain | POSNR | |||
GMMNR | GMM: Number of general meter | OII_GMMNR | CHAR | 20 | Assigned to domain | ALPHA | OII_GMMNR | OIJ | |
ITMSTM | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | TIMESTAMP | DEC | 15 | TZNTSTMPS | ||||
METREV | SSR: Meter event type | OIRC_METREV | CHAR | 2 | Assigned to domain | OIRC_METREV | |||
TRANSYEAR | Document link number year | OIRA_JAHR | NUMC | 4 | GJAHR | GJAHR | |||
SOCNR | SOC: Storage object characteristic segment number | OII_SOCNR | CHAR | 20 | Assigned to domain | OII_SOCNR | |||
ETMSTM | SSR Stocks - Tank dip time stamp | OIRC_TMSTM | DEC | 15 | TZNTSTMPS | ||||
SOCEV | SOC event | OII_SOCEV | CHAR | 2 | Assigned to domain | OII_SOCEV | |||
KWAEH | Condition currency (for cumulation fields) | KWAEH | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
SRCD_DATE | SSR - Source data date | OIRA_SRCD_DATE | DATS | 8 | DATUM | ||||
SRCD_TIME | SSR - Source date time | OIRA_SRCD_TIME | TIMS | 6 | UZEIT | ||||
COUNTER | Transaction counter | OIRA_COUNTER | INT4 | 10 | OIRA_COUNTER | ||||
PROCIND | Processed record indicator | OIRA_PROCIND | CHAR | 1 | OIRA_PROCIND | ||||
OIRA_CUST | Dummy function in length 1 | DUMMY | CHAR | 1 | DUMMY | ||||
IS01 | Subsequent process indicator for document base table | OIRA_IND | CHAR | 1 | CHAR1 | ||||
MM01 | Subsequent process indicator for document base table | OIRA_IND | CHAR | 1 | CHAR1 | ||||
MM02 | Subsequent process indicator for document base table | OIRA_IND | CHAR | 1 | CHAR1 | ||||
PC02 | Subsequent process indicator for document base table | OIRA_IND | CHAR | 1 | CHAR1 |
Key field | Non-key field |
How do I retrieve data from SAP table OIRADBT using ABAP code
The following ABAP code Example will allow you to do a basic selection on OIRADBT to SELECT all data from the tableDATA: WA_OIRADBT TYPE OIRADBT.
SELECT SINGLE *
FROM OIRADBT
INTO CORRESPONDING FIELDS OF WA_OIRADBT
WHERE...
How to access SAP table OIRADBT
Within an ECC or HANA version of SAP you can also view further information about OIRADBT 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