OIH_DM07MG SAP (G/L calculation fields with prefix G (GAIN/LOSS)) Structure details

Dictionary Type: Structure
Description: G/L calculation fields with prefix G (GAIN/LOSS)




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




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
GMARCSegment string MARC SMARC_DCHAR3SEGST
GMARDSegment string MARD SMARD_DCHAR3SEGST
GMCHBSegment string MCHB SMCHB_DCHAR3SEGST
GMBPRSegment string MBPR SMBPRCHAR3SEGST
GMLIBSegment string SMLIBCHAR3SEGST
GMKOLSegment string MKOL SMKOL_DCHAR3SEGST
GMEIKSegment string MEIK SMEIKCHAR3SEGST
GMKLKSegment string MKLK SMKLKCHAR3SEGST
GMKUBSegment string MKVB SMKUBCHAR3SEGST
GMSKUSegment string MSKU SMSKU_DCHAR3SEGST
GMSLBSegment string MSLB SMSLB_DCHAR3SEGST
GMSSLSegment string MSSL SMSSL_DCHAR3SEGST
GMSKASegment string MSKA SMSKA_DCHAR3SEGST
GMSSASegment string MSSA SMSSA_DCHAR3SEGST
GMSPRSegment string MSPR SMSPR_DCHAR3SEGST
GMSSPSegment string MSSP SMSSPCHAR3SEGST
GMSCASegment string MSCA SMSCACHAR3SEGST
GMSOASegment string MSOA SMSOACHAR3SEGST
GMSCPSegment string MSCP SMSCPCHAR3SEGST
GMSOPSegment string MSOP SMSOPCHAR3SEGST
GEKPOSegment string EKPO SEKPO_DCHAR3SEGST
GFAUPSegment string FAUP SFAUP_DCHAR3SEGST
GMRESSegment string MRES SMRES_DCHAR3SEGST
GISEGSegment string ISEG SISEG_DCHAR3SEGST
GEKLASegment string EKLA SEKLA_DCHAR3SEGST
GMLBBStock Type of Goods Movement (Primary Posting) LBBSACHAR2Assigned to domainLBBSA
GMKBBStock Type of Goods Movement (Complementary Posting) KBBSACHAR2Assigned to domainLBBSA
GMKZV+/- sign for consumption update in material master record KZVBLCHAR1KZVBL
GMXQSCheckbox XFELDCHAR1XFELD
GLERFQuantity in Unit of Entry ERFMGQUAN13(3) MENG13
GLSKUQuantity MENGE_DQUAN13(3) MENG13
GLBPRQuantity in Purchase Order Price Unit BPMNGQUAN13(3) MENG13
GLBSTGoods receipt quantity in order unit MB_BSTMGQUAN13(3) MENG13
GLCALCDebit/Credit Indicator SHKZGCHAR1SHKZG

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 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!