OIH_ACC SAP (TDP LEDGER FIELDS) Structure details
Description: TDP LEDGER FIELDS
Structure field list including key, data, relationships and ABAP select examples
OIH_ACC 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 "TDP LEDGER FIELDS" 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_ACC TYPE OIH_ACC.
The OIH_ACC table consists of various fields, each holding specific information or linking keys about TDP LEDGER FIELDS data available in SAP. These include OIHANTYP (Excise Duty Handling Type), OITAXFROM (Excise duty tax key for 'from' location), OITAXTO (Excise duty tax key for 'to' location), OIPRICIE (ED pricing: external (indicator)).. 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_ACC 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 |
OITAXGRP | Excise Duty Group | OIH_TAXGRP | CHAR | 2 | OIH2 | OIH_TAXGRP | |||
OIHANTYP | Excise Duty Handling Type | OIH_HANTYP | CHAR | 2 | OIH5 | OIH_HANTYP | |||
OITAXFROM | Excise duty tax key for 'from' location | OIH_TAXFRO | CHAR | 2 | OIH4 | OIH_TAXKEY | |||
OITAXTO | Excise duty tax key for 'to' location | OIH_TAXTO | CHAR | 2 | OIH4 | OIH_TAXKEY | |||
OIPRICIE | ED pricing: external (indicator) | OIH_PRICIE | CHAR | 1 | X | ||||
OIFULTAX | Excise duty tax value at the full rate | OIH_FULTAX | CURR | 13(2) | OIH_TXVAL | ||||
OITXVAL0 | Excise duty tax value 0 | OIH_TXVAL0 | CURR | 13(2) | OIH_TXVAL | ||||
OITXVAL1 | Excise duty tax value 1 | OIH_TXVAL1 | CURR | 13(2) | OIH_TXVAL | ||||
OITXVAL2 | Excise duty tax value 2 | OIH_TXVAL2 | CURR | 13(2) | OIH_TXVAL | ||||
OITXVAL3 | Excise duty tax value 3 | OIH_TXVAL3 | CURR | 13(2) | OIH_TXVAL | ||||
OITXVAL4 | Excise duty tax value 4 | OIH_TXVAL4 | CURR | 13(2) | OIH_TXVAL | ||||
OITXVAL5 | Excise duty tax value 5 | OIH_TXVAL5 | CURR | 13(2) | OIH_TXVAL | ||||
OITXVAL6 | Excise duty tax value 6 | OIH_TXVAL6 | CURR | 13(2) | OIH_TXVAL | ||||
OIOILCON | Oil content in a material as a percentage | OIH_OILCON | DEC | 5(2) | OIH_OILCON | ||||
OITAXCON | Excise duty tax from pricing conditions | OIH_TAXCON | CURR | 13(2) | OIH_TAXCON | ||||
OITAXVAL | Excise duty value in material inventory account | OIH_TAXVAL | CURR | 13(2) | OIH_TXVAL | ||||
OIOILCON2 | Oil content of a material as a percentage (2) | OIH_OILCN2 | DEC | 5(2) | OIH_OILCON | ||||
OIUOMQT | Base quantity for excise duty rate (e.g.per 1 or 100 UoM) | OIH_UOMQT | UNIT | 3 | T006 | CUNIT | MEINS | ||
OITAXQT | Excise duty tax quantity in STBME | OIH_TAXQT | QUAN | 13(3) | MENGE | ||||
OIFUTQT | Future tax quantity | OIH_FUTQT | QUAN | 13(3) | MENGE | ||||
OIFUTTX | Future tax value | OIH_FUTTX | CURR | 13(2) | OIH_TXVAL | ||||
OIFUTDT | Future tax date | OIH_FUTDT | DATS | 8 | DATUM | ||||
OIFUTQT2 | Future tax quantity 2 | OIH_FUTQT2 | QUAN | 13(3) | MENGE | ||||
OIFUTTX2 | Future tax value 2 | OIH_FUTTX2 | CURR | 13(2) | OIH_TXVAL | ||||
OIFUTDT2 | Future tax date 2 | OIH_FUTDT2 | DATS | 8 | DATUM | ||||
OITAXGRP2 | Excise Duty Group | OIH_TAXGRP | CHAR | 2 | OIH2 | OIH_TAXGRP | |||
OIPOSTZERO | Post zero amounts | OIH_PSTZRO | CHAR | 1 | XFELD | ||||
OIH_LICTP | License type | OIH_LICTP | CHAR | 4 | OIH20 | OIH_LICTP | OII | ||
OIH_LICIN | Excise tax internal license number | OIH_LICIN | CHAR | 10 | OIHL | ALPHA | OIH_LICIN | OIH | OIHL |
OICERTF1 | Excise tax external license number | OIH_CERTF1 | CHAR | 15 | OIH_CERTF1 |
Key field | Non-key field |
How do I retrieve data from SAP structure OIH_ACC using ABAP code?
As OIH_ACC 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_ACC as there is no data to select.How to access SAP table OIH_ACC
Within an ECC or HANA version of SAP you can also view further information about OIH_ACC 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