OIHL SAP (License Master Data) Table details
Dictionary Type: Table
Description: License Master Data
Description: License Master Data
Table field list including key, data, relationships and ABAP select examples
OIHL is a standard SAP Table which is used to store License Master Data data and is available within R/3 SAP systems depending on the version and release level.
The OIHL table consists of various fields, each holding specific information or linking keys about License Master Data data available in SAP. These include LICIN (Excise tax internal license number), LICTP (License type), CERTF1 (Excise tax external license number), BUKRS (Company Code).. 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 OIHL 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 | |||
LICIN | Excise tax internal license number | OIH_LICIN | CHAR | 10 | ALPHA | OIH_LICIN | OIH | OIHL | |
LICTP | License type | OIH_LICTP | CHAR | 4 | OIH20 | OIH_LICTP | OII | ||
CERTF1 | Excise tax external license number | OIH_CERTF1 | CHAR | 15 | OIH_CERTF1 | ||||
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
LCTXT | License text | OIH_LCTXT | CHAR | 40 | OIH_LCTXT | ||||
KUNNR | Customer Numbers | KUNNR | CHAR | 10 | KNA1 | ALPHA | KUNNR | KUN | C_KUNNR |
KVGR1 | Customer group 1 | KVGR1 | CHAR | 3 | TVV1 | KVGR1 | |||
MVGR2 | Material group 2 | MVGR2 | CHAR | 3 | TVM2 | MVGR2 | |||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
AUART | Sales Document Type | AUART | CHAR | 4 | TVAK | AUART | AUART | AAT | |
LIFNR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | LFA1 | ALPHA | LIFNR | LIF | KRED_C |
LCOMP | Company-owned license | OIH_LCOMP | CHAR | 1 | X | ||||
LCUST | Customer license | OIH_LCUST | CHAR | 1 | X | ||||
LCJUR | Jurisdiction vendor number | OIH_LCJUR | CHAR | 10 | LFA1 | ALPHA | LIFNR | ||
LICIA | License inactive | OIH_LICIA | CHAR | 1 | X | ||||
DATAB | Valid-From Date | DATAB | DATS | 8 | DATUM | ||||
DATBI | Valid To Date | DATBI | DATS | 8 | DATUM | ||||
LICMQ | Maximum quantity for license | OIH_LICMQ | QUAN | 13(3) | MENG13 | ||||
LQUSE | License: Quantity used | OIH_LQUSE | QUAN | 13(3) | MENG13 | ||||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | T006 | CUNIT | MEINS | ||
LCMOT | Mode of transport | OIH_LCMOT | CHAR | 2 | TVTR | VKTRA | |||
LAND1 | Country Key | LAND1 | CHAR | 3 | T005 | LAND1 | LND | ||
REGIO | STATE (State, Province, County) | REGIO | CHAR | 3 | T005S | REGIO | |||
COUNC | County Code | COUNC | CHAR | 3 | T005E | COUNC | |||
CITYC | City Code | CITYC | CHAR | 4 | T005G | CITYC | |||
ALTLC | Tax origin | OIC_PORGIN | CHAR | 15 | OIC_PORGIN | ||||
HANTP | Excise Duty Handling Type | OIH_HANTYP | CHAR | 2 | OIH5 | OIH_HANTYP | |||
LCFOL | Follow-on license for quantity license | OIH_LCFOL | CHAR | 10 | OIHL | ALPHA | OIH_LICIN | ||
LTOPQ | Top-up quantity | OIH_LTOPQ | QUAN | 13(3) | MENG13 | ||||
ERNAM | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
ERDAT | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
ERTIM | Time of creation | OI0_ERTIM | TIMS | 6 | UZEIT | ||||
UPNAM | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
UPDAT | Changed On | AEDAT | DATS | 8 | DATUM | ||||
UPTIM | Time of day the record was changed | OI0_AETIM | TIMS | 6 | UZEIT | ||||
EXEMP | Exemption license | OIH_EXEMP | CHAR | 1 | X | ||||
DEFER | Deferred payment (radio button) | OIH_DEFER | CHAR | 1 | X | ||||
REFLT | Reference license type | OIH_REFLT | CHAR | 4 | OIH_REFLT | ||||
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
UMWRK | Receiving/Issuing Plant | UMWRK | CHAR | 4 | T001W | WERKS |
Key field | Non-key field |
How do I retrieve data from SAP table OIHL using ABAP code
The following ABAP code Example will allow you to do a basic selection on OIHL to SELECT all data from the tableDATA: WA_OIHL TYPE OIHL.
SELECT SINGLE *
FROM OIHL
INTO CORRESPONDING FIELDS OF WA_OIHL
WHERE...
How to access SAP table OIHL
Within an ECC or HANA version of SAP you can also view further information about OIHL 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