OIH_HTYPE SAP (Import/Export to OIH_VAL_DEF_HANTYP) Structure details

Dictionary Type: Structure
Description: Import/Export to OIH_VAL_DEF_HANTYP




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




Structure field list including key, data, relationships and ABAP select examples

OIH_HTYPE 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 "Import/Export to OIH_VAL_DEF_HANTYP" 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_OIH_HTYPE TYPE OIH_HTYPE.

The OIH_HTYPE table consists of various fields, each holding specific information or linking keys about Import/Export to OIH_VAL_DEF_HANTYP data available in SAP. These include HTSRC (Single-Character Indicator), IESRC (Single-Character Indicator), APPL (Applications programs, function modules, logical databases), 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:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP OIH_HTYPE 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
AKTYPSingle-Character Indicator CHAR1CHAR1CHAR1
HTSRCSingle-Character Indicator CHAR1CHAR1CHAR1
IESRCSingle-Character Indicator CHAR1CHAR1CHAR1
APPLApplications programs, function modules, logical databases PAPPL_DCHAR1Assigned to domainPAPPL
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
BSARTOrder Type (Purchasing) BSARTCHAR4Assigned to domainBSARTBSA
PSTYPItem Category in Purchasing Document PSTYPCHAR1Assigned to domainPSTYP
AUFARTOrder Type AUFARTCHAR4Assigned to domainAUFARTAAT
AUARTSales Document Type AUARTCHAR4Assigned to domainAUARTAUARTAAT
KUNNRCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
KVGR1Customer group 1 KVGR1CHAR3Assigned to domainKVGR1
VKORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
SPARTDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
OIH_TXRTax recipient OIH_TXRCHAR10KNA1ALPHAKUNNR
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10Assigned to domainALPHALIFNRLIFKRED_C
EKORGPurchasing Organization EKORGCHAR4Assigned to domainEKORGEKO
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
MVGR2Material group 2 MVGR2CHAR3Assigned to domainMVGR2
MTARTMaterial Type MTARTCHAR4Assigned to domainMTARTMTA
PRSDTExcise Duty License Valid from Date OIH_DATFM1DATS8DATUM
HANTYPExcise Duty Handling Type OIH_HANTYPCHAR2Assigned to domainOIH_HANTYP
TAXTOExcise duty tax key for 'to' location OIH_TAXTOCHAR2Assigned to domainOIH_TAXKEY
TAXFROMExcise duty tax key for 'from' location OIH_TAXFROCHAR2Assigned to domainOIH_TAXKEY
TAXGRPExcise Duty Group OIH_TAXGRPCHAR2Assigned to domainOIH_TAXGRP
BWTARValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
SPLITVALYes/No (X/ ) OAXCHAR1X
CERTF1Excise tax external license number OIH_CERTF1CHAR15OIH_CERTF1
LICINExcise tax internal license number OIH_LICINCHAR10Assigned to domainALPHAOIH_LICINOIHOIHL
LICTPLicense type OIH_LICTPCHAR4Assigned to domainOIH_LICTPOII
LCFOLFollow-on license for quantity license OIH_LCFOLCHAR10Assigned to domainALPHAOIH_LICIN
DATFM1Excise Duty License Valid from Date OIH_DATFM1DATS8DATUM
DATTO1Valid to date for excise duty tax certificate OIH_DATTO1DATS8DATUM
VDSEQExcise duty default sequence indicator for SD documents OIH_EDDFLTCHAR1OIH_EDDFLT
EDOKExcise duty validation indicator OIH_EDOKCHAR1X
ERRONYes/No (X/ ) OAXCHAR1X
ERRNOError message MESSAGE_DCHAR4CHAR4
EDBALExcise duty balancing is required (indicator) OIH_EDBALCHAR1X
EDBALMExcise duty balancing method indicator OIH_EDBALMCHAR1OIH_EDBALM
INEXCode for internal or external excise duty rate determination OIH_INEXCHAR2Assigned to domainOIH_INEX
PRICIEED pricing: external (indicator) OIH_PRICIECHAR1X
VBAKINEXCode for internal or external excise duty rate determination OIH_INEXCHAR2Assigned to domainOIH_INEX
INEXSDCode for internal or external excise duty rate determination OIH_INEXCHAR2Assigned to domainOIH_INEX
TABIXRow Index of Internal Tables SYTABIXINT410SYST_LONG
COMPLICTPLicense type OIH_LICTPCHAR4Assigned to domainOIH_LICTPOII
ORDQTYOrder quantity in sales units WMENGQUAN13(3) MENG13
BASEUOMBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
BASENUMNumerator (factor) for conversion of sales quantity into SKU UMVKZDEC5UMBSZ
BASEDENDenominator (Divisor) for Conversion of Sales Qty into SKU UMVKNDEC5UMBSN
POSNRItem number of the SD document POSNRNUMC6Assigned to domainPOSNR
BWARTMovement Type (Inventory Management) BWARTCHAR3Assigned to domainBWARTBWA
LICIN_DELYes/No (X/ ) OAXCHAR1X
OIUMBARValuation type of issuing location for two-step transfer OIH_UMBARCHAR10Assigned to domainBWTAR
OIH_CHK_DATEDate from which the tax rule is valid OIH_DATFCHAR8INVDTDATUM_INV
OIH_LAND1Country OIH_LAND1CHAR3T005LAND1
OIH_REGIORegion OIH_REGIOCHAR3T005SREGIO
OIH_COUNCCounty Code OIH_COUNCCHAR3T005ECOUNC
OIH_CITYCCity code OIH_CITYCCHAR4T005GCITYC
FOLQTYExcise Tax Follow-On License Quantity OIH_FOLQTYQUAN13(3) MENG13
WERKS_CCPlant EWERKCHAR4T001WWERKSWRK
LGORT_CCStorage Location LGORT_DCHAR4T001LLGORTLAG
OITAXGRP_CCExcise Duty Group OIH_TAXGRPCHAR2OIH2OIH_TAXGRP
OIHANTYP_CCExcise Duty Handling Type OIH_HANTYPCHAR2OIH5OIH_HANTYP
BWTAR_CCValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
RESWK_CCSupplying (Issuing) Plant in Stock Transport Order RESWKCHAR4T001WWERKS
RESLO_CCIssuing Storage Location for Stock Transport Order RESLOCHAR4T001LLGORT
OITAXGRP_GI_CCExcise Duty Group OIH_TAXGRPCHAR2OIH2OIH_TAXGRP
OIHANTYP_GI_CCExcise Duty Handling Type - Denotes Use of Material OIH_HANTYP_GICHAR2OIH5OIH_HANTYP
OIUMBAR_CCValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
DO_IM_EXCharacter length 2 CHAR_02CHAR2CHAR02
ERRV1Message Variable SYMSGVCHAR50SYCHAR50
ERRV2Message Variable SYMSGVCHAR50SYCHAR50
ERRV3Message Variable SYMSGVCHAR50SYCHAR50
ERRV4Message Variable SYMSGVCHAR50SYCHAR50

Key field Non-key field



How do I retrieve data from SAP structure OIH_HTYPE using ABAP code?

As OIH_HTYPE 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 OIH_HTYPE as there is no data to select.

How to access SAP table OIH_HTYPE

Within an ECC or HANA version of SAP you can also view further information about OIH_HTYPE 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!