Wb2_Cds_Cc_Flow_Tech
Condition Contract: Document Flow
Wb2_Cds_Cc_Flow_Tech is a CDS View that provides data about "Condition Contract: Document Flow" in SAP S/4HANA. It reads from 1 data source (wcocof) and exposes 25 fields with key field ruuid. Part of development package WB2_REBATES.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| wcocof | wcocof | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | WB2_V_CC_FLOW_T | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Condition Contract: Document Flow | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ruuid | wcocof | ruuid | SM Doc Rel UUID |
| knumv | wcocof | knumv | Doc. Condition | |
| kposn | wcocof | kposn | Number | |
| stunr | wcocof | stunr | Step Number | |
| zaehk | wcocof | zaehk | Counter | |
| num | wcocof | num | Total Members | |
| guid | wcocof | guid | UUID 22 char. | |
| doc_type_to | wcocof | doc_type_to | Document Type | |
| docnr_to | wcocof | docnr_to | Follow-On Doc. | |
| doc_year_to | wcocof | doc_year_to | Follow-On Doc Year | |
| knumh | wcocof | knumh | NoCondRec.Batch | |
| kopos | wcocof | kopos | SequNo of Cond. | |
| kappl | wcocof | kappl | Application | |
| kschl | wcocof | kschl | Tax Item Type | |
| flow_type | wcocof | flow_type | Flow Type | |
| kwert | wcocof | kwert | Condition Value | |
| waers | wcocof | waers | Transaction Currency | |
| kwert_hwaers | wcocof | kwert_hwaers | CondValue Local Curr | |
| hwaers | wcocof | hwaers | Local Currency | |
| budat | wcocof | budat | Posting Date | |
| settl_date | wcocof | settl_date | Settlement Date | |
| gjahr | wcocof | gjahr | Settlement Year | |
| werks | wcocof | werks | Receiving Plant | |
| bukrs | wcocof | bukrs | Value | |
| kposn4_tech |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view Wb2_Cds_Cc_Flow_Tech.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: WB2_V_CC_FLOW_T
CREATE VIEW Wb2_Cds_Cc_Flow_Tech AS
SELECT
wcocof.ruuid AS ruuid,
wcocof.knumv AS knumv,
wcocof.kposn AS kposn,
wcocof.stunr AS stunr,
wcocof.zaehk AS zaehk,
wcocof.num AS num,
wcocof.guid AS guid,
wcocof.doc_type_to AS doc_type_to,
wcocof.docnr_to AS docnr_to,
wcocof.doc_year_to AS doc_year_to,
wcocof.knumh AS knumh,
wcocof.kopos AS kopos,
wcocof.kappl AS kappl,
wcocof.kschl AS kschl,
wcocof.flow_type AS flow_type,
wcocof.kwert AS kwert,
wcocof.waers AS waers,
wcocof.kwert_hwaers AS kwert_hwaers,
wcocof.hwaers AS hwaers,
wcocof.budat AS budat,
wcocof.settl_date AS settl_date,
wcocof.gjahr AS gjahr,
wcocof.werks AS werks,
wcocof.bukrs AS bukrs,
cast( substring( wcocof.kposn, 3, 4 ) as abap.numc( 4 )) AS kposn4_tech
FROM wcocof
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- 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
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA