SAP IMP_REFTAB Interface to Invoice: Reason Code Information Table data and field list

IMP_REFTAB 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 "Interface to Invoice: Reason Code Information" 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_IMP_REFTAB TYPE IMP_REFTAB.

The IMP_REFTAB table consists of various fields, each holding specific information or linking keys about Interface to Invoice: Reason Code Information data available in SAP. These include REASON_CODE_TEXT (Reason Code Text), BLART (Document Type), FLAG (Flag for structure), BELNR (Accounting Document Number)... 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. .

IMP_REFTAB structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)


SAP IMP_REFTAB structure fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the IMP_REFTAB table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
REASON_CODECodes for Invoices FMFG_REASON_CODECHAR2FMFG_BAD_INVOICE_REASON_CODE
REASON_CODE_TEXTReason Code Text FMFG_REASON_CODE_TXTCHAR50RCTXT
BLARTDocument Type BLARTCHAR2Assigned to domainBLARTBAR
FLAGFlag for structure FLG_FELEICHAR1FLG_FELEI
BELNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
INV_DATEDocument Date in Document BLDATDATS8DATUM

Key field Non-key field



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

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

How to access SAP table IMP_REFTAB

Within an ECC or HANA version of SAP you can also view further information about IMP_REFTAB and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).