back to top

SAP EDFI2 Table – EDI: Last processed document in file

The EDFI2 table in SAP ERP or S/4HANA stores EDI: Last processed document in file data. There are total 7 fields in EDFI2 table. The EDI: Last processed document in file table is available in all major SAP S/4HANA versions, is implemented as a Column Store table within the SAP HANA database. Additionally we provide an overview of the structure and fields of EDFI2 table. It is in IDoc Interface (Processing, Administration, Definition) (SED) ABAP package and is part of the ALE Integration Technology (BC-MID-ALE) module.

SAP EDFI2 Table Fields

Following is the list of fields that are available in SAP EDFI2 table. The primary key fields of the table are PTHNAM (Path name (including file name)).

Field Description Data Element Check Table Data Type
PTHNAM Path name (including file name) EDI_PTHNAM CHAR (100)
LSTREC Last record processed when a file was processed EDI_LSTREC NUMC (8)
DOCNUM Last IDoc processed when a file was processed EDI_PVDOCN NUMC (16)
DELETEFLAG Flag: Delete IDoc file EDI_FILDEL CHAR (1)
LSTDAT Date of Last Processing EDI_LSTDAT DATS (8)
LSTTIM Time of last processing EDI_LSTTIM TIMS (6)
REPID ABAP Program: Current Master Program SYREPID * CHAR (40)