OIH_HTYPE SAP (Import/Export to OIH_VAL_DEF_HANTYP) Structure details
Description: Import/Export to OIH_VAL_DEF_HANTYP
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 |
AKTYP | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
HTSRC | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
IESRC | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
APPL | Applications programs, function modules, logical databases | PAPPL_D | CHAR | 1 | Assigned to domain | PAPPL | |||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
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 | ||
CHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
BSART | Order Type (Purchasing) | BSART | CHAR | 4 | Assigned to domain | BSART | BSA | ||
PSTYP | Item Category in Purchasing Document | PSTYP | CHAR | 1 | Assigned to domain | PSTYP | |||
AUFART | Order Type | AUFART | CHAR | 4 | Assigned to domain | AUFART | AAT | ||
AUART | Sales Document Type | AUART | CHAR | 4 | Assigned to domain | AUART | AUART | AAT | |
KUNNR | Customer Numbers | KUNNR | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | C_KUNNR |
KVGR1 | Customer group 1 | KVGR1 | CHAR | 3 | Assigned to domain | KVGR1 | |||
VKORG | Sales Organization | VKORG | CHAR | 4 | Assigned to domain | VKORG | VKO | C_VKORG | |
VTWEG | Distribution Channel | VTWEG | CHAR | 2 | Assigned to domain | VTWEG | VTW | C_VTWEG | |
SPART | Division | SPART | CHAR | 2 | Assigned to domain | SPART | SPA | C_SPART | |
OIH_TXR | Tax recipient | OIH_TXR | CHAR | 10 | KNA1 | ALPHA | KUNNR | ||
LIFNR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
EKORG | Purchasing Organization | EKORG | CHAR | 4 | Assigned to domain | EKORG | EKO | ||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
MVGR2 | Material group 2 | MVGR2 | CHAR | 3 | Assigned to domain | MVGR2 | |||
MTART | Material Type | MTART | CHAR | 4 | Assigned to domain | MTART | MTA | ||
PRSDT | Excise Duty License Valid from Date | OIH_DATFM1 | DATS | 8 | DATUM | ||||
HANTYP | Excise Duty Handling Type | OIH_HANTYP | CHAR | 2 | Assigned to domain | OIH_HANTYP | |||
TAXTO | Excise duty tax key for 'to' location | OIH_TAXTO | CHAR | 2 | Assigned to domain | OIH_TAXKEY | |||
TAXFROM | Excise duty tax key for 'from' location | OIH_TAXFRO | CHAR | 2 | Assigned to domain | OIH_TAXKEY | |||
TAXGRP | Excise Duty Group | OIH_TAXGRP | CHAR | 2 | Assigned to domain | OIH_TAXGRP | |||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
SPLITVAL | Yes/No (X/ ) | OAX | CHAR | 1 | X | ||||
CERTF1 | Excise tax external license number | OIH_CERTF1 | CHAR | 15 | OIH_CERTF1 | ||||
LICIN | Excise tax internal license number | OIH_LICIN | CHAR | 10 | Assigned to domain | ALPHA | OIH_LICIN | OIH | OIHL |
LICTP | License type | OIH_LICTP | CHAR | 4 | Assigned to domain | OIH_LICTP | OII | ||
LCFOL | Follow-on license for quantity license | OIH_LCFOL | CHAR | 10 | Assigned to domain | ALPHA | OIH_LICIN | ||
DATFM1 | Excise Duty License Valid from Date | OIH_DATFM1 | DATS | 8 | DATUM | ||||
DATTO1 | Valid to date for excise duty tax certificate | OIH_DATTO1 | DATS | 8 | DATUM | ||||
VDSEQ | Excise duty default sequence indicator for SD documents | OIH_EDDFLT | CHAR | 1 | OIH_EDDFLT | ||||
EDOK | Excise duty validation indicator | OIH_EDOK | CHAR | 1 | X | ||||
ERRON | Yes/No (X/ ) | OAX | CHAR | 1 | X | ||||
ERRNO | Error message | MESSAGE_D | CHAR | 4 | CHAR4 | ||||
EDBAL | Excise duty balancing is required (indicator) | OIH_EDBAL | CHAR | 1 | X | ||||
EDBALM | Excise duty balancing method indicator | OIH_EDBALM | CHAR | 1 | OIH_EDBALM | ||||
INEX | Code for internal or external excise duty rate determination | OIH_INEX | CHAR | 2 | Assigned to domain | OIH_INEX | |||
PRICIE | ED pricing: external (indicator) | OIH_PRICIE | CHAR | 1 | X | ||||
VBAKINEX | Code for internal or external excise duty rate determination | OIH_INEX | CHAR | 2 | Assigned to domain | OIH_INEX | |||
INEXSD | Code for internal or external excise duty rate determination | OIH_INEX | CHAR | 2 | Assigned to domain | OIH_INEX | |||
TABIX | Row Index of Internal Tables | SYTABIX | INT4 | 10 | SYST_LONG | ||||
COMPLICTP | License type | OIH_LICTP | CHAR | 4 | Assigned to domain | OIH_LICTP | OII | ||
ORDQTY | Order quantity in sales units | WMENG | QUAN | 13(3) | MENG13 | ||||
BASEUOM | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
BASENUM | Numerator (factor) for conversion of sales quantity into SKU | UMVKZ | DEC | 5 | UMBSZ | ||||
BASEDEN | Denominator (Divisor) for Conversion of Sales Qty into SKU | UMVKN | DEC | 5 | UMBSN | ||||
POSNR | Item number of the SD document | POSNR | NUMC | 6 | Assigned to domain | POSNR | |||
BWART | Movement Type (Inventory Management) | BWART | CHAR | 3 | Assigned to domain | BWART | BWA | ||
LICIN_DEL | Yes/No (X/ ) | OAX | CHAR | 1 | X | ||||
OIUMBAR | Valuation type of issuing location for two-step transfer | OIH_UMBAR | CHAR | 10 | Assigned to domain | BWTAR | |||
OIH_CHK_DATE | Date from which the tax rule is valid | OIH_DATF | CHAR | 8 | INVDT | DATUM_INV | |||
OIH_LAND1 | Country | OIH_LAND1 | CHAR | 3 | T005 | LAND1 | |||
OIH_REGIO | Region | OIH_REGIO | CHAR | 3 | T005S | REGIO | |||
OIH_COUNC | County Code | OIH_COUNC | CHAR | 3 | T005E | COUNC | |||
OIH_CITYC | City code | OIH_CITYC | CHAR | 4 | T005G | CITYC | |||
FOLQTY | Excise Tax Follow-On License Quantity | OIH_FOLQTY | QUAN | 13(3) | MENG13 | ||||
WERKS_CC | Plant | EWERK | CHAR | 4 | T001W | WERKS | WRK | ||
LGORT_CC | Storage Location | LGORT_D | CHAR | 4 | T001L | LGORT | LAG | ||
OITAXGRP_CC | Excise Duty Group | OIH_TAXGRP | CHAR | 2 | OIH2 | OIH_TAXGRP | |||
OIHANTYP_CC | Excise Duty Handling Type | OIH_HANTYP | CHAR | 2 | OIH5 | OIH_HANTYP | |||
BWTAR_CC | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
RESWK_CC | Supplying (Issuing) Plant in Stock Transport Order | RESWK | CHAR | 4 | T001W | WERKS | |||
RESLO_CC | Issuing Storage Location for Stock Transport Order | RESLO | CHAR | 4 | T001L | LGORT | |||
OITAXGRP_GI_CC | Excise Duty Group | OIH_TAXGRP | CHAR | 2 | OIH2 | OIH_TAXGRP | |||
OIHANTYP_GI_CC | Excise Duty Handling Type - Denotes Use of Material | OIH_HANTYP_GI | CHAR | 2 | OIH5 | OIH_HANTYP | |||
OIUMBAR_CC | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
DO_IM_EX | Character length 2 | CHAR_02 | CHAR | 2 | CHAR02 | ||||
ERRV1 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
ERRV2 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
ERRV3 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
ERRV4 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 |
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 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