OIH_MSEG SAP (Document segment/material (append structure) TDP) Structure details

Dictionary Type: Structure
Description: Document segment/material (append structure) TDP




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




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
OITAXFROMExcise duty tax key for 'from' location OIH_TAXFROCHAR2OIH4OIH_TAXKEY
OITAXTOExcise duty tax key for 'to' location OIH_TAXTOCHAR2OIH4OIH_TAXKEY
OIHANTYPExcise Duty Handling Type OIH_HANTYPCHAR2OIH5OIH_HANTYP
OITAXGRPExcise Duty Group OIH_TAXGRPCHAR2OIH2OIH_TAXGRP
OIPRICIEED pricing: external (indicator) OIH_PRICIECHAR1X
OIINVRECIndicator whether ED pricing is external (not used?) OIH_INVRECCHAR1X
OIOILCONOil content in a material as a percentage OIH_OILCONDEC5(2) OIH_OILCON
OIOILCON2Oil content of a material as a percentage (2) OIH_OILCN2DEC5(2) OIH_OILCON
OIFUTDTFuture tax date OIH_FUTDTDATS8DATUM
OIFUTDT2Future tax date 2 OIH_FUTDT2DATS8DATUM
OIUOMQTBase quantity for excise duty rate (e.g.per 1 or 100 UoM) OIH_UOMQTUNIT3Assigned to domainCUNITMEINS
OITAXQTExcise duty tax quantity in STBME OIH_TAXQTQUAN13(3) MENGE
OIFUTQTFuture tax quantity OIH_FUTQTQUAN13(3) MENGE
OIFUTQT2Future tax quantity 2 OIH_FUTQT2QUAN13(3) MENGE
OITAXGRP2Excise Duty Group OIH_TAXGRPCHAR2Assigned to domainOIH_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 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!