The T004R table in SAP ERP or S/4HANA stores Rules index for sample accounts data. There are total 2 fields in T004R table. The Rules index for sample accounts 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 T004R table. It is in G/L Accounts (FBS) ABAP package and is part of the Basic Functions (FI-GL-GL) module.
SAP T004R Table Fields
Following is the list of fields that are available in SAP T004R table. The primary key fields of Rules index for sample accounts table in SAP are MANDT (Client), MREGL (Rules for Copying from the Sample Account for G/L Accounts).
| Field | Description | Data Element | Check Table | Data Type |
|---|---|---|---|---|
| MANDT | Client | MANDT | T000 | CLNT (3) |
| MREGL | Rules for Copying from the Sample Account for G/L Accounts | MREGL | CHAR (4) |


