OIH_DM07MG SAP (G/L calculation fields with prefix G (GAIN/LOSS)) Structure details
Description: G/L calculation fields with prefix G (GAIN/LOSS)
Structure field list including key, data, relationships and ABAP select examples
OIH_DM07MG 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 "G/L calculation fields with prefix G (GAIN/LOSS)" 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_DM07MG TYPE OIH_DM07MG.
The OIH_DM07MG table consists of various fields, each holding specific information or linking keys about G/L calculation fields with prefix G (GAIN/LOSS) data available in SAP. These include GMARD (Segment string MARD), GMCHB (Segment string MCHB), GMBPR (Segment string MBPR), GMLIB (Segment string).. 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_DM07MG 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 |
GMARC | Segment string MARC | SMARC_D | CHAR | 3 | SEGST | ||||
GMARD | Segment string MARD | SMARD_D | CHAR | 3 | SEGST | ||||
GMCHB | Segment string MCHB | SMCHB_D | CHAR | 3 | SEGST | ||||
GMBPR | Segment string MBPR | SMBPR | CHAR | 3 | SEGST | ||||
GMLIB | Segment string | SMLIB | CHAR | 3 | SEGST | ||||
GMKOL | Segment string MKOL | SMKOL_D | CHAR | 3 | SEGST | ||||
GMEIK | Segment string MEIK | SMEIK | CHAR | 3 | SEGST | ||||
GMKLK | Segment string MKLK | SMKLK | CHAR | 3 | SEGST | ||||
GMKUB | Segment string MKVB | SMKUB | CHAR | 3 | SEGST | ||||
GMSKU | Segment string MSKU | SMSKU_D | CHAR | 3 | SEGST | ||||
GMSLB | Segment string MSLB | SMSLB_D | CHAR | 3 | SEGST | ||||
GMSSL | Segment string MSSL | SMSSL_D | CHAR | 3 | SEGST | ||||
GMSKA | Segment string MSKA | SMSKA_D | CHAR | 3 | SEGST | ||||
GMSSA | Segment string MSSA | SMSSA_D | CHAR | 3 | SEGST | ||||
GMSPR | Segment string MSPR | SMSPR_D | CHAR | 3 | SEGST | ||||
GMSSP | Segment string MSSP | SMSSP | CHAR | 3 | SEGST | ||||
GMSCA | Segment string MSCA | SMSCA | CHAR | 3 | SEGST | ||||
GMSOA | Segment string MSOA | SMSOA | CHAR | 3 | SEGST | ||||
GMSCP | Segment string MSCP | SMSCP | CHAR | 3 | SEGST | ||||
GMSOP | Segment string MSOP | SMSOP | CHAR | 3 | SEGST | ||||
GEKPO | Segment string EKPO | SEKPO_D | CHAR | 3 | SEGST | ||||
GFAUP | Segment string FAUP | SFAUP_D | CHAR | 3 | SEGST | ||||
GMRES | Segment string MRES | SMRES_D | CHAR | 3 | SEGST | ||||
GISEG | Segment string ISEG | SISEG_D | CHAR | 3 | SEGST | ||||
GEKLA | Segment string EKLA | SEKLA_D | CHAR | 3 | SEGST | ||||
GMLBB | Stock Type of Goods Movement (Primary Posting) | LBBSA | CHAR | 2 | Assigned to domain | LBBSA | |||
GMKBB | Stock Type of Goods Movement (Complementary Posting) | KBBSA | CHAR | 2 | Assigned to domain | LBBSA | |||
GMKZV | +/- sign for consumption update in material master record | KZVBL | CHAR | 1 | KZVBL | ||||
GMXQS | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
GLERF | Quantity in Unit of Entry | ERFMG | QUAN | 13(3) | MENG13 | ||||
GLSKU | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
GLBPR | Quantity in Purchase Order Price Unit | BPMNG | QUAN | 13(3) | MENG13 | ||||
GLBST | Goods receipt quantity in order unit | MB_BSTMG | QUAN | 13(3) | MENG13 | ||||
GLCALC | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG |
Key field | Non-key field |
How do I retrieve data from SAP structure OIH_DM07MG using ABAP code?
As OIH_DM07MG 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_DM07MG as there is no data to select.How to access SAP table OIH_DM07MG
Within an ECC or HANA version of SAP you can also view further information about OIH_DM07MG 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