WCOCOF
Usage of Condition Contract Conditions
WCOCOF is an SAP database table in S/4HANA. Usage of Condition Contract Conditions. It contains 30 fields. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| P_CndnContrConditionUsage | view_entity | from | BASIC | Condition Contract Condition Usage |
| Wb2_Cds_Cc_Flow_Tech | view | from | Condition Contract: Document Flow |
Fields (30)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | client | mandt | Client | |||
| KEY | ruuid | wlf_doc_rel_uuid | SM Doc Rel UUID | |||
| knumv | knumv | Doc. Condition | ||||
| kposn | kposn | Item | ||||
| stunr | stunr | Step Number | ||||
| zaehk | dzaehk | Counter | ||||
| num | wcb_coco_num | Condition Contract | ||||
| guid | wcb_guid | ConContr. GUID | ||||
| doc_type_to | wcb_doc_type | Document Type | ||||
| docnr_to | wcb_docnr_to | Follow-On Doc. | ||||
| doc_year_to | wcb_doc_year_to | Follow-On Doc Year | ||||
| doc_item_seq_id | wcb_doc_item_seq_id | Sequential Number | ||||
| knumh | knumh | Cond.Record No. | ||||
| kopos | kopos | Sequent. No. of Cond | ||||
| kappl | kappl | Application | ||||
| kschl | kscha | Condition Type | ||||
| logical_deleted | wcb_logical_deleted | Logically Del. | ||||
| flow_type | wcb_flow_type | Doc. Flow Type | ||||
| kwert | kwert | Condition Value | ||||
| waers | waers | Currency | ||||
| kwert_hwaers | wb2_kwert_hwaers | CondValue Local Curr | ||||
| hwaers | wb2_wcocof_hwaers | Local Currency | ||||
| budat | wcb_wcocof_budat | Accruals Index Date | ||||
| accr_rev_status | wb2_accruals_reversal_status | Accr. Rev. Status | ||||
| settl_date | wb2_settlement_date_accr_rev | Settlement Date | ||||
| settl_date_seq_id | wb2_settlement_date_seq_id | Settlement Date ID | ||||
| ref_settl_date | wb2_ref_settlement_date | Reference Date | ||||
| ref_settl_date_seq_id | wb2_ref_settlement_date_seq_id | Ref Settl Date ID | ||||
| gjahr | gjahr | Fiscal Year | ||||
| _dataaging | data_temperature | Data Aging |
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.
-- Usage of Condition Contract Conditions
-- Category TRANSPARENT · Delivery class A
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE WCOCOF (
CLIENT, -- Client [mandt]
RUUID, -- SM Doc Rel UUID [wlf_doc_rel_uuid]
KNUMV, -- Doc. Condition [knumv]
KPOSN, -- Item [kposn]
STUNR, -- Step Number [stunr]
ZAEHK, -- Counter [dzaehk]
NUM, -- Condition Contract [wcb_coco_num]
GUID, -- ConContr. GUID [wcb_guid]
DOC_TYPE_TO, -- Document Type [wcb_doc_type]
DOCNR_TO, -- Follow-On Doc. [wcb_docnr_to]
DOC_YEAR_TO, -- Follow-On Doc Year [wcb_doc_year_to]
DOC_ITEM_SEQ_ID, -- Sequential Number [wcb_doc_item_seq_id]
KNUMH, -- Cond.Record No. [knumh]
KOPOS, -- Sequent. No. of Cond [kopos]
KAPPL, -- Application [kappl]
KSCHL, -- Condition Type [kscha]
LOGICAL_DELETED, -- Logically Del. [wcb_logical_deleted]
FLOW_TYPE, -- Doc. Flow Type [wcb_flow_type]
KWERT, -- Condition Value [kwert]
WAERS, -- Currency [waers]
KWERT_HWAERS, -- CondValue Local Curr [wb2_kwert_hwaers]
HWAERS, -- Local Currency [wb2_wcocof_hwaers]
BUDAT, -- Accruals Index Date [wcb_wcocof_budat]
ACCR_REV_STATUS, -- Accr. Rev. Status [wb2_accruals_reversal_status]
SETTL_DATE, -- Settlement Date [wb2_settlement_date_accr_rev]
SETTL_DATE_SEQ_ID, -- Settlement Date ID [wb2_settlement_date_seq_id]
REF_SETTL_DATE, -- Reference Date [wb2_ref_settlement_date]
REF_SETTL_DATE_SEQ_ID, -- Ref Settl Date ID [wb2_ref_settlement_date_seq_id]
GJAHR, -- Fiscal Year [gjahr]
_DATAAGING, -- Data Aging [data_temperature]
PRIMARY KEY (CLIENT, RUUID)
);
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