The BDSRE2 table in SAP ERP or S/4HANA stores BDS: Relationship Instances data. There are total 10 fields in BDSRE2 table. The BDS: Relationship Instances 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 BDSRE2 table. It is in SAP Knowledge Provider Business Document Service (SBDS) ABAP package and is part of the Business Document Service (BC-SRV-BDS) module.
SAP BDSRE2 Table Fields
Following is the list of fields that are available in SAP BDSRE2 table. The primary key fields of the table are REIO_ID (Relationship between logical and physical documents).
| Field | Description | Data Element | Check Table | Data Type |
|---|---|---|---|---|
| REIO_ID | Relationship between logical and physical documents | SDOK_REID | CHAR (32) | |
| RE_CLASS | Relationship class | SDOK_RECL | SDOKRECL | CHAR (10) |
| REP1_ID | ID for documents and relations | SDOK_DOCID | CHAR (32) | |
| REP1_CLASS | Document class | SDOK_CLASS | SDOKIOCL | CHAR (10) |
| REP2_ID | ID for documents and relations | SDOK_DOCID | CHAR (32) | |
| REP2_CLASS | Document class | SDOK_CLASS | SDOKIOCL | CHAR (10) |
| CREA_USER | Created By | SDOK_CRUSR | CHAR (12) | |
| CREA_TIME | Creation Time (UTC) | SDOK_CRTST | NUMC (14) | |
| CHNG_USER | Last Changed By | SDOK_CHUSR | CHAR (12) | |
| CHNG_TIME | Time of change (UTC) | SDOK_CHTST | NUMC (14) |


