GSEGA SAP (GSEGA - Extension to the Offsetting Item Segment) Structure details

Dictionary Type: Structure
Description: GSEGA - Extension to the Offsetting Item Segment




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




Structure field list including key, data, relationships and ABAP select examples

GSEGA 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 "GSEGA - Extension to the Offsetting Item Segment" 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_GSEGA TYPE GSEGA.

The GSEGA table consists of various fields, each holding specific information or linking keys about GSEGA - Extension to the Offsetting Item Segment data available in SAP. These include DMSOL (Debit Amount in Local Currency), DMHAB (Credit Amount in Local Currency), DMSHB (Amount in Local Currency with +/- Signs), WRSOL (Debit Amount in Document Currency).. 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: Not classified


SAP GSEGA 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
DMSOLDebit Amount in Local Currency DMSOLCURR13(2) WERT7
DMHABCredit Amount in Local Currency DMHABCURR13(2) WERT7
DMSHBAmount in Local Currency with +/- Signs DMSHBCURR13(2) WRTV7
WRSOLDebit Amount in Document Currency WRSOLCURR13(2) WERT7
WRHABCredit Amount in Document Currency WRHABCURR13(2) WERT7
WRSHBForeign Currency Amount with Signs (+/-) WRSHBCURR13(2) WRTV7
MDSHBTax on Sales/Purchases amount in Local Curr. with +/- Sign MDSHBCURR13(2) WRTV7
MWSHBTax on Sales/Purchases Amount in Foreign Curr. with +/- Sign MWSHBCURR13(2) WRTV7
FDSHBPlanned Amount in Local Currency with +/- Sign FDSHBCURR13(2) WRTV7
BLSHBBase Amount for Preference ( with +/- Signs ) BLSHBCURR13(2) WRTV7
NETDTDue Date for Net Payment NETDTDATS8DATUM
SK1DTDue Date for Cash Discount 1 SK1DTDATS8DATUM
SK2DTDue Date for Cash Discount 2 SK2DTDATS8DATUM
MENSHQuantity with +/- Sign MENSHQUAN13(3) MENSH
GKARTOffsetting Account Type GKARTCHAR1GKART
GKONTOffsetting Account Number GKONTCHAR10ALPHAGKONTGKONT

Key field Non-key field



How do I retrieve data from SAP structure GSEGA using ABAP code?

As GSEGA 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 GSEGA as there is no data to select.

How to access SAP table GSEGA

Within an ECC or HANA version of SAP you can also view further information about GSEGA 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!