WCOCOF
Usage of Condition Contract Conditions
WCOCOF is an SAP database table in S/4HANA. Usage of Condition Contract Conditions. It contains 32 fields. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| P_CndnContrConditionUsage | view | from | BASIC | |
| Wb2_Cds_Cc_Flow_Tech | view | from | Condition Contract: Document Flow |
Fields (32)
| 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 | ||||
| werks | WERKS_D | Plant | ||||
| bukrs | BUKRS | Company Code |
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]
WERKS, -- Plant [WERKS_D]
BUKRS, -- Company Code [BUKRS]
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