IDGT_S_HEADER2 SAP (VAT Invoice Header) Structure details

Dictionary Type: Structure
Description: VAT Invoice Header




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




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

IDGT_S_HEADER2 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 "VAT Invoice Header" 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_IDGT_S_HEADER2 TYPE IDGT_S_HEADER2.

The IDGT_S_HEADER2 table consists of various fields, each holding specific information or linking keys about VAT Invoice Header data available in SAP. These include COMBINEID (Combine ID), GTSTATUS (Invoice Status in Reference to GT), TLINES (Item Number), SENTDATE (Date: Invoice sent to GT).. 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 IDGT_S_HEADER2 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
REFVBELNGolden Tax Document Number GTREFVBELNCHAR20GTREFVBELN
COMBINEIDCombine ID GTCOMBINEIDCHAR20GTCOMBINEID
GTSTATUSInvoice Status in Reference to GT GTBSTAT_DCHAR12GTBSTAT_D
TLINESItem Number GTPOSNRNUMC6Assigned to domainPOSNR
SENTDATEDate: Invoice sent to GT GTSENTDATEDATS8DATUM
FILETYPEFile Type GTFILETYPCHAR1GTFILETYP
NOTEGT Note GTNOTECHAR160GTNOTE
KUNNRCustomer Number GTKUNNRCHAR10Assigned to domainALPHAKUNNR
KNAME1Customer Name GTNAME1CHAR100GTNAME1
KSTCD5Tax Number 5 STCD5CHAR60CHAR60
KSTRASAddress GTSTRASCHAR80GTSTRAS
KBANKABank Account GTBANKACHAR80GTBANKA
VUSNAMUser name USNAMCHAR12Assigned to domainXUBNAMEUSR
CUSNAMUser name USNAMCHAR12Assigned to domainXUBNAMEUSR
VBANKABank Account GTBANKACHAR80GTBANKA
VSTRASAddress GTSTRASCHAR80GTSTRAS
GTVBELNGT Invoice Number GTVBELNCHAR8ALPHAGTVBELN
INVTYPInvoice Type GTFKARTCHAR1ALPHAGTFKART
TYPCODEGT Invoice Type Code GTFKTYPCHAR10ALPHAGTFKTYP
CANCELINDCancellation Indicator GTCANINDCHAR1GTCANIND
GOODSLISTName of the Goods List GTGDSLISTCHAR30GTGOODSLIST
GLISTINDGoods List Indicator GTLISTINDCHAR1GTLISTIND
KSTCD1Tax Number 1 STCD1CHAR16STCD1
POS_GTVBELNGT Invoice Number GTVBELNCHAR8ALPHAGTVBELN
POS_TYPCODEGT Invoice Type Code GTFKTYPCHAR10ALPHAGTFKTYP
PRINTDATDate: Invoice sent to GT GTSENTDATEDATS8DATUM
NETWR_DOCNet Value in Document Currency NETWRCURR15(2) WERTV8
ITEM_MRG_TYPSingle-Character Indicator CHAR1CHAR1CHAR1

Key field Non-key field



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

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

How to access SAP table IDGT_S_HEADER2

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