SAP table STACUST (Customizing for IDoc status (status groups, archive, procg))

SAP table STACUST has 2 primary key fields being MANDT,STATUS.

If you're only analyzing data from a single SAP instance you may omit field MANT in your relationships as it will we the same across the entire dataset. On the other hand, if you're combining data from multiple SAP instances you need to take MANDT into account.

Field Description Data Type Length Decimals Checktable Data Element
MANDT Client CLNT 3 0 * MANDT
STATUS Status of IDoc CHAR 2 0 TEDS1 EDI_STCTRL
EVCODS Process code for inbound statuses CHAR 30 0 TEDE6 EDI_EVCOST
STATVA Status group CHAR 1 0 EDI_STATVA
1 Outbound: IDoc created
2 Outbound: IDoc ready for dispatch
3 Outbound: IDoc in external system
4 Outbound: IDoc dispatched
5 Outbound: Error in IDoc interface
6 Outbound: Error in external system
7 Outbound: IDoc with delete flag
8 Outbound: IDoc processing in target system completed
A Inbound: IDoc created
B Inbound: IDoc passed to application
C Inbound: IDoc passed to dialog
D Inbound: Application document posted
E Inbound: Error in IDoc interface
F Inbound: Error in application
G Inbound: IDoc with delete flag
ARCHFL Archivibility of IDoc status CHAR 1 0 EDI_ARCHFL

STACUST foreign key relationships

Table Field Check Table Check Field
0 STACUST EVCODS TEDE6 IDOC process codes for inbound statuses MANDT
1 STACUST STATUS TEDS1 IDoc status values STATUS