REFH
References between CO object numbers, header table
REFH is an SAP database table in S/4HANA. References between CO object numbers, header table. It contains 10 fields. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_TreasuryReference | view_entity | from | BASIC | Treasury Reference Information |
| TOE_CDS_TRM_DEALS | view_entity | inner | cds view for deal nominals in TOENE |
Fields (10)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | mandt | mandt | Client | |||
| KEY | reftyp | kl_typ | Reference Cat. | |||
| KEY | refnr | kl_nr | Reference | |||
| status | kl_saktiv | Status | ||||
| dzterm | tb_dzterm | Payment Date | ||||
| kontrh | tb_kunnr_new | Partner | ||||
| ext_ref_id | kl_ext_ref | External ID of Reference | ||||
| cfi_code | ftr_cfi_code | CFI Code | ||||
| upi | ftr_upi | Unique Prod. ID | ||||
| isin | ranl_isin | Sec. ID (ISIN) |
Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.
-- References between CO object numbers, header table
-- Category TRANSPARENT · Delivery class A
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE REFH (
MANDT, -- Client [mandt]
REFTYP, -- Reference Cat. [kl_typ]
REFNR, -- Reference [kl_nr]
STATUS, -- Status [kl_saktiv]
DZTERM, -- Payment Date [tb_dzterm]
KONTRH, -- Partner [tb_kunnr_new]
EXT_REF_ID, -- External ID of Reference [kl_ext_ref]
CFI_CODE, -- CFI Code [ftr_cfi_code]
UPI, -- Unique Prod. ID [ftr_upi]
ISIN, -- Sec. ID (ISIN) [ranl_isin]
PRIMARY KEY (MANDT, REFTYP, REFNR)
);
Learn More
- Understanding Data Lineage in SAP S/4HANA
- SAP Tables vs CDS Views — Key Differences
- Understanding the SAP S/4HANA Data Model
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA