OIHL SAP (License Master Data) Table details

Dictionary Type: Table
Description: License Master Data




ABAP Code to SELECT data from OIHL
Related tables to OIHL
Access table OIHL




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
MANDTClient MANDTCLNT3T000MANDT
LICINExcise tax internal license number OIH_LICINCHAR10ALPHAOIH_LICINOIHOIHL
LICTPLicense type OIH_LICTPCHAR4OIH20OIH_LICTPOII
CERTF1Excise tax external license number OIH_CERTF1CHAR15OIH_CERTF1
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
LCTXTLicense text OIH_LCTXTCHAR40OIH_LCTXT
KUNNRCustomer Numbers KUNNRCHAR10KNA1ALPHAKUNNRKUNC_KUNNR
KVGR1Customer group 1 KVGR1CHAR3TVV1KVGR1
MVGR2Material group 2 MVGR2CHAR3TVM2MVGR2
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
AUARTSales Document Type AUARTCHAR4TVAKAUARTAUARTAAT
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10LFA1ALPHALIFNRLIFKRED_C
LCOMPCompany-owned license OIH_LCOMPCHAR1X
LCUSTCustomer license OIH_LCUSTCHAR1X
LCJURJurisdiction vendor number OIH_LCJURCHAR10LFA1ALPHALIFNR
LICIALicense inactive OIH_LICIACHAR1X
DATABValid-From Date DATABDATS8DATUM
DATBIValid To Date DATBIDATS8DATUM
LICMQMaximum quantity for license OIH_LICMQQUAN13(3) MENG13
LQUSELicense: Quantity used OIH_LQUSEQUAN13(3) MENG13
MEINSBase Unit of Measure MEINSUNIT3T006CUNITMEINS
LCMOTMode of transport OIH_LCMOTCHAR2TVTRVKTRA
LAND1Country Key LAND1CHAR3T005LAND1LND
REGIOSTATE (State, Province, County) REGIOCHAR3T005SREGIO
COUNCCounty Code COUNCCHAR3T005ECOUNC
CITYCCity Code CITYCCHAR4T005GCITYC
ALTLCTax origin OIC_PORGINCHAR15OIC_PORGIN
HANTPExcise Duty Handling Type OIH_HANTYPCHAR2OIH5OIH_HANTYP
LCFOLFollow-on license for quantity license OIH_LCFOLCHAR10OIHLALPHAOIH_LICIN
LTOPQTop-up quantity OIH_LTOPQQUAN13(3) MENG13
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
ERDATDate on Which Record Was Created ERDATDATS8DATUM
ERTIMTime of creation OI0_ERTIMTIMS6UZEIT
UPNAMName of Person Who Changed Object AENAMCHAR12USNAM
UPDATChanged On AEDATDATS8DATUM
UPTIMTime of day the record was changed OI0_AETIMTIMS6UZEIT
EXEMPExemption license OIH_EXEMPCHAR1X
DEFERDeferred payment (radio button) OIH_DEFERCHAR1X
REFLTReference license type OIH_REFLTCHAR4OIH_REFLT
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
UMWRKReceiving/Issuing Plant UMWRKCHAR4T001WWERKS

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 table
DATA: 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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!