P_WCOCOH_Settle_ValueHelp
Search Help for Settle Condition Contract
P_WCOCOH_Settle_ValueHelp is a Basic CDS View that provides data about "Search Help for Settle Condition Contract" in SAP S/4HANA. It reads from 1 data source (wcocoh) and exposes 31 fields with key field num. It has 5 associations to related views. Part of development package WCB_CC_PERS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| wcocoh | wcocoh | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | R_CndnContrType | _ContractType | $projection.contract_type = _ContractType.CndnContrType |
| [0..1] | P_WLF_CDS_LFA1_BG | _Supplier | $projection.vend_owner = _Supplier.vendor_account |
| [0..1] | P_WLF_CDS_KNA1_BG | _Customer | $projection.cust_owner = _Customer.customer_account |
| [0..1] | P_WLF_CDS_LFA1_BG | _PriorSupplier | $projection.kolif = _PriorSupplier.vendor_account |
| [0..1] | P_WLF_CDS_PERNR_BEGRU | _PersonWorkAgreement | $projection.person_owner = _PersonWorkAgreement.Pernr |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PWCBCOCOSETTLVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | num | Total Members | ||
| vend_owner | vend_owner | Supplier | ||
| cust_owner | cust_owner | Customer | ||
| reference | reference | Value | ||
| assignment | assignment | Assignment | ||
| ext_partner | ext_partner | External Number | ||
| created_by | created_by | Version Created By | ||
| created_on | created_on | Variant created on | ||
| rec_time | rec_time | Start Time | ||
| ekorg | ekorg | Purchasing Org. | ||
| ekgrp | ekgrp | Sub. purchasing grp | ||
| vkorg | vkorg | SD Sales Org. | ||
| vtweg | vtweg | RefDistCh-Cust/Mat. | ||
| spart | spart | Source supplier | ||
| deact | deact | Inactive | ||
| date_from | date_from | Validity Start Date | ||
| date_to | date_to | Validity End Date | ||
| ext_num | ext_num | Use External Number | ||
| vkgrp | vkgrp | Sales Group | ||
| vkbur | vkbur | Sales Office | ||
| owner_type | _ContractType | CndnContrPartnerCat | ||
| no_condition | _ContractType | CndnContrHasNoConditions | ||
| name1_kna1 | _Customer | customer_name | Name 1 | |
| name1_lfa1 | _Supplier | supplier_name | Supplier Name | |
| category | category | Violation Category | ||
| kolif | kolif | Prior Supplier | ||
| bukrs | bukrs | Value | ||
| pers_kostl | pers_kostl | Worker Cost Center | ||
| person_owner | person_owner | Personnel Number | ||
| rebate_type | ||||
| kolif_begru | _PriorSupplier | vendor_begru |
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 P_WCOCOH_Settle_ValueHelp.
-- 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: PWCBCOCOSETTLVH
CREATE VIEW P_WCOCOH_Settle_ValueHelp AS
SELECT
cast( num as wcb_coco_num preserving type ) AS num,
vend_owner,
cust_owner,
reference,
assignment,
ext_partner,
created_by,
created_on,
rec_time,
ekorg,
ekgrp,
vkorg,
vtweg,
spart,
deact,
date_from,
date_to,
ext_num,
vkgrp,
vkbur,
_ContractType.CndnContrPartnerCat AS owner_type,
_ContractType.CndnContrHasNoConditions AS no_condition,
_Customer.customer_name AS name1_kna1,
_Supplier.supplier_name AS name1_lfa1,
category,
kolif,
bukrs,
pers_kostl,
person_owner,
cast( _ContractType.CndnContrSettlmtType as wb2_rebate_type preserving type ) AS rebate_type,
_PriorSupplier.vendor_begru AS kolif_begru
FROM wcocoh
LEFT OUTER JOIN R_CndnContrType AS _ContractType ON contract_type = _ContractType.CndnContrType -- association [0..1]
LEFT OUTER JOIN P_WLF_CDS_LFA1_BG AS _Supplier ON vend_owner = _Supplier.vendor_account -- association [0..1]
LEFT OUTER JOIN P_WLF_CDS_KNA1_BG AS _Customer ON cust_owner = _Customer.customer_account -- association [0..1]
LEFT OUTER JOIN P_WLF_CDS_LFA1_BG AS _PriorSupplier ON kolif = _PriorSupplier.vendor_account -- association [0..1]
LEFT OUTER JOIN P_WLF_CDS_PERNR_BEGRU AS _PersonWorkAgreement ON person_owner = _PersonWorkAgreement.Pernr -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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