OIL_IMSEG SAP (IS-Oil Downstream fields of structure IMSEG) Structure details
Description: IS-Oil Downstream fields of structure IMSEG
Structure field list including key, data, relationships and ABAP select examples
OIL_IMSEG 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 "IS-Oil Downstream fields of structure IMSEG" 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_OIL_IMSEG TYPE OIL_IMSEG.
The OIL_IMSEG table consists of various fields, each holding specific information or linking keys about IS-Oil Downstream fields of structure IMSEG data available in SAP. These include OILFKNUM (Delivery note reference for fee doc. conditions), OILFPOS (Reference delivery note item), OIMATREF (Material group reference for exchange balance reporting), OISBREL (Sub product/ base product relevence 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 OIL_IMSEG 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 |
OIEXGNUM | Exchange agreement number | OIA_EXGNUM | CHAR | 10 | Assigned to domain | ALPHA | OIA_EXGNUM | OI1 | OIAE |
OILFKNUM | Delivery note reference for fee doc. conditions | OIA_LFKNUM | CHAR | 10 | KNUMV | ||||
OILFPOS | Reference delivery note item | OIA_LFPOS | NUMC | 6 | Assigned to domain | POSNR | |||
OIMATREF | Material group reference for exchange balance reporting | OIA_MATREF | CHAR | 20 | ALPHA | OIA_MATREF | |||
OISBREL | Sub product/ base product relevence indicator | OIA_SBREL | NUMC | 3 | OIA_SBREL | ||||
OIBASPROD | Base product number | OIA_SBMAT | CHAR | 18 | Assigned to domain | MATN1 | MATNR | ||
OIBOMHEAD | BoM header material number | OIA_BOMHM | CHAR | 18 | Assigned to domain | MATN1 | MATNR | ||
OINETCYC | Netting cycle (FI blocking indicator) | OIA_NETCYC | CHAR | 1 | Assigned to domain | ZAHLS | NTG | ||
OIA_ZEILE | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
OITRKNR | Tracking number | OIH_TRKNR | CHAR | 10 | ALPHA | OIH_TRKNR | OIH_TRKNR | ||
OITRKJR | Tracking number year | OIH_TRKJR | NUMC | 4 | NUMC4 | OIH_TRKJR | |||
OIEXTNR | External tracking number | OIH_EXTNR | CHAR | 18 | OIH_EXTNR | ||||
OIITMNR | Tracking number item line | OIH_ITMNR | NUMC | 5 | OIH_ITMNR | ||||
OIFTIND | Final transfer indicator | OIH_FTIND | CHAR | 1 | OIH_FTIND | ||||
OIPRIOP | Price options for gain calculation | OIH_PRIOP | CHAR | 1 | OIH_PRIOP | ||||
OITRIND | Transfer sign for plant-to-plant transfers | OIH_TRIND | CHAR | 1 | OIH_TRIND | ||||
OIGHNDL | Gain handling | OIH_GHNDL | CHAR | 1 | OIH_GHNDL | ||||
OIUMBAR | Valuation type of issuing location for two-step transfer | OIH_UMBAR | CHAR | 10 | T149D | BWTAR | |||
OIB_ZEILE | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
OIB_ZEILE_CHECK | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
OIPIPEVAL | Validation indicator for pipeline fields (X=ON, blank=OFF) | OID_PIPEV | CHAR | 1 | X | ||||
OIC_LIFNR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | LFA1 | ALPHA | LIFNR | LIF | KRED_C |
OIC_DCITYC | Destination city code | OIC_DCITYC | CHAR | 4 | T005G | CITYC | |||
OIC_DCOUNC | Destination county code | OIC_DCOUNC | CHAR | 3 | T005E | COUNC | |||
OIC_DREGIO | Destination region | OIC_DREGIO | CHAR | 3 | T005S | REGIO | |||
OIC_DLAND1 | Destination country | OIC_DLAND1 | CHAR | 3 | T005 | LAND1 | |||
OIC_OCITYC | Origin city code | OIC_OCITYC | CHAR | 4 | T005G | CITYC | |||
OIC_OCOUNC | Origin county code | OIC_OCOUNC | CHAR | 3 | T005E | COUNC | |||
OIC_OREGIO | Origin region | OIC_OREGIO | CHAR | 3 | T005S | REGIO | |||
OIC_OLAND1 | Origin country | OIC_OLAND1 | CHAR | 3 | T005 | LAND1 | |||
OIC_PORGIN | Tax origin | OIC_PORGIN | CHAR | 15 | OIC_PORGIN | ||||
OIC_PDESTN | Tax destination | OIC_PDESTN | CHAR | 15 | OIC_PDESTN | ||||
OIC_PTRIP | Pipeline trip number (external) | OIC_PTRIP | CHAR | 16 | OIC_PTRIP | ||||
OIC_PBATCH | Pipeline operatorĀ“s external batch number | OIC_PBATCH | CHAR | 16 | OIC_PBATCH | ||||
OIC_MOT | IS-OIL MAP external details mode of transport | OIC_MOT | CHAR | 2 | TVTR | VKTRA | |||
OIC_AORGIN | Alternate origin | OIC_AORGIN | CHAR | 15 | OIC_PORGIN | ||||
OIC_ADESTN | Alternate destination | OIC_ADESTN | CHAR | 15 | OIC_PDESTN | ||||
OIC_TRUCKN | Truck number | OIC_TRUCKN | CHAR | 10 | OIC_TRUCKN | ||||
OIA_BASELO | Base location | OIA_BASELO | CHAR | 15 | OIA_BASELO | ||||
OID_EXTBOL | External bill of lading | OID_EXTBOL | CHAR | 16 | OID_EXTBOL | ||||
OID_MISCDL | Miscellaneous delivery number | OID_MISCDL | CHAR | 16 | OID_MISCDL | ||||
OITAXGRP | Excise Duty Group | OIH_TAXGRP | CHAR | 2 | Assigned to domain | OIH_TAXGRP | |||
OIHANTYP | Excise Duty Handling Type | OIH_HANTYP | CHAR | 2 | Assigned to domain | OIH_HANTYP | |||
OITAXFROM | Excise duty tax key for 'from' location | OIH_TAXFRO | CHAR | 2 | Assigned to domain | OIH_TAXKEY | |||
OITAXTO | Excise duty tax key for 'to' location | OIH_TAXTO | CHAR | 2 | Assigned to domain | 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 | 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 | ||||
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 | ||||
OICERTF1 | Excise tax external license number | OIH_CERTF1 | CHAR | 15 | OIH_CERTF1 | ||||
OIDATFM1 | Excise Duty License Valid from Date | OIH_DATFM1 | DATS | 8 | DATUM | ||||
OIDATTO1 | Valid to date for excise duty tax certificate | OIH_DATTO1 | DATS | 8 | DATUM | ||||
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 |
OIH_LCFOL | Follow-on license for quantity license | OIH_LCFOL | CHAR | 10 | OIHL | ALPHA | OIH_LICIN | ||
OIH_FOLQTY | Excise Tax Follow-On License Quantity | OIH_FOLQTY | QUAN | 13(3) | MENG13 |
Key field | Non-key field |
How do I retrieve data from SAP structure OIL_IMSEG using ABAP code?
As OIL_IMSEG 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 OIL_IMSEG as there is no data to select.How to access SAP table OIL_IMSEG
Within an ECC or HANA version of SAP you can also view further information about OIL_IMSEG 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