GSEGA SAP (GSEGA - Extension to the Offsetting Item Segment) Structure details
Description: GSEGA - Extension to the Offsetting Item Segment
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 |
DMSOL | Debit Amount in Local Currency | DMSOL | CURR | 13(2) | WERT7 | ||||
DMHAB | Credit Amount in Local Currency | DMHAB | CURR | 13(2) | WERT7 | ||||
DMSHB | Amount in Local Currency with +/- Signs | DMSHB | CURR | 13(2) | WRTV7 | ||||
WRSOL | Debit Amount in Document Currency | WRSOL | CURR | 13(2) | WERT7 | ||||
WRHAB | Credit Amount in Document Currency | WRHAB | CURR | 13(2) | WERT7 | ||||
WRSHB | Foreign Currency Amount with Signs (+/-) | WRSHB | CURR | 13(2) | WRTV7 | ||||
MDSHB | Tax on Sales/Purchases amount in Local Curr. with +/- Sign | MDSHB | CURR | 13(2) | WRTV7 | ||||
MWSHB | Tax on Sales/Purchases Amount in Foreign Curr. with +/- Sign | MWSHB | CURR | 13(2) | WRTV7 | ||||
FDSHB | Planned Amount in Local Currency with +/- Sign | FDSHB | CURR | 13(2) | WRTV7 | ||||
BLSHB | Base Amount for Preference ( with +/- Signs ) | BLSHB | CURR | 13(2) | WRTV7 | ||||
NETDT | Due Date for Net Payment | NETDT | DATS | 8 | DATUM | ||||
SK1DT | Due Date for Cash Discount 1 | SK1DT | DATS | 8 | DATUM | ||||
SK2DT | Due Date for Cash Discount 2 | SK2DT | DATS | 8 | DATUM | ||||
MENSH | Quantity with +/- Sign | MENSH | QUAN | 13(3) | MENSH | ||||
GKART | Offsetting Account Type | GKART | CHAR | 1 | GKART | ||||
GKONT | Offsetting Account Number | GKONT | CHAR | 10 | ALPHA | GKONT | GKONT |
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 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