OIH_MSEG SAP (Document segment/material (append structure) TDP) Structure details
Description: Document segment/material (append structure) TDP
Structure field list including key, data, relationships and ABAP select examples
OIH_MSEG 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 "Document segment/material (append structure) TDP" 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_MSEG TYPE OIH_MSEG.
The OIH_MSEG table consists of various fields, each holding specific information or linking keys about Document segment/material (append structure) TDP data available in SAP. These include OITAXTO (Excise duty tax key for 'to' location), OIHANTYP (Excise Duty Handling Type), OITAXGRP (Excise Duty Group), 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_MSEG 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 |
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 | |||
OIHANTYP | Excise Duty Handling Type | OIH_HANTYP | CHAR | 2 | OIH5 | OIH_HANTYP | |||
OITAXGRP | Excise Duty Group | OIH_TAXGRP | CHAR | 2 | OIH2 | OIH_TAXGRP | |||
OIPRICIE | ED pricing: external (indicator) | OIH_PRICIE | CHAR | 1 | X | ||||
OIINVREC | Indicator whether ED pricing is external (not used?) | OIH_INVREC | CHAR | 1 | X | ||||
OIOILCON | Oil content in a material as a percentage | OIH_OILCON | DEC | 5(2) | OIH_OILCON | ||||
OIOILCON2 | Oil content of a material as a percentage (2) | OIH_OILCN2 | DEC | 5(2) | OIH_OILCON | ||||
OIFUTDT | Future tax date | OIH_FUTDT | DATS | 8 | DATUM | ||||
OIFUTDT2 | Future tax date 2 | OIH_FUTDT2 | DATS | 8 | DATUM | ||||
OIUOMQT | Base quantity for excise duty rate (e.g.per 1 or 100 UoM) | OIH_UOMQT | UNIT | 3 | Assigned to domain | 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 | ||||
OIFUTQT2 | Future tax quantity 2 | OIH_FUTQT2 | QUAN | 13(3) | MENGE | ||||
OITAXGRP2 | Excise Duty Group | OIH_TAXGRP | CHAR | 2 | Assigned to domain | OIH_TAXGRP |
Key field | Non-key field |
How do I retrieve data from SAP structure OIH_MSEG using ABAP code?
As OIH_MSEG 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_MSEG as there is no data to select.How to access SAP table OIH_MSEG
Within an ECC or HANA version of SAP you can also view further information about OIH_MSEG 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