ESH_B_CNDNCONTR
Enterprise Search for Condition Contracts "Basicview"
ESH_B_CNDNCONTR is a CDS View that provides data about "Enterprise Search for Condition Contracts "Basicview"" in SAP S/4HANA. It reads from 1 data source (I_ConditionContract) and exposes 31 fields. It has 2 associations to related views. Part of development package WCB_CC_PERS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ConditionContract | coco | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Customer | _Customer | $projection.Customer = _Customer.Customer |
| [1..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ESH_B_CC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Enterprise Search for Condition Contracts "Basicview" | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| ConditionContract | ||||
| CreatedByUser | I_ConditionContract | CreatedByUser | User Name | |
| CreationDate | I_ConditionContract | CreationDate | Time Stamp | |
| CndnContrValidFrom | I_ConditionContract | CndnContrValidFrom | Valid From | |
| CndnContrValidTo | I_ConditionContract | CndnContrValidTo | Valid To | |
| ExternalDocumentReferenceID | I_ConditionContract | ExternalDocumentReferenceID | Ext. Identifier | |
| CndnContrType | I_ConditionContract | CndnContrType | Contract Type | |
| Customer | I_ConditionContract | Customer | Sold-to Party | |
| CustomerBpUUID | ||||
| Supplier | I_ConditionContract | Supplier | Supplier | |
| SupplierBpUUID | ||||
| PurchasingOrganization | I_ConditionContract | PurchasingOrganization | Purchasing Organization | |
| PurchasingGroup | I_ConditionContract | PurchasingGroup | Purchasing Group | |
| SalesOrganization | I_ConditionContract | SalesOrganization | Sales Organization | |
| DistributionChannel | I_ConditionContract | DistributionChannel | RefDistCh-Cust/Mat. | |
| Division | I_ConditionContract | Division | Internal Division ID | |
| CndnContrIsInactive | I_ConditionContract | CndnContrIsInactive | ||
| CompanyCode | I_ConditionContract | CompanyCode | Receiver Company Code | |
| PersonWorkAgreement | I_ConditionContract | PersonWorkAgreement | Personnel No. | |
| CndnContrWorkerCostCenter | I_ConditionContract | CndnContrWorkerCostCenter | ||
| _CndnContrType | _CndnContrType | |||
| _Customer | _Customer | |||
| _Supplier | _Supplier | |||
| _CndnContrIsInactive | _CndnContrIsInactive | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _CompanyCode | _CompanyCode | |||
| _PurchasingGroup | _PurchasingGroup | |||
| _SalesOrganization | _SalesOrganization | |||
| _DistributionChannel | _DistributionChannel | |||
| _Division | _Division | |||
| _PersonWorkAgreement | _PersonWorkAgreement |
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 ESH_B_CNDNCONTR.
-- 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: ESH_B_CC
CREATE VIEW ESH_B_CNDNCONTR AS
SELECT
coco.CreatedByUser AS CreatedByUser,
coco.CreationDate AS CreationDate,
coco.CndnContrValidFrom AS CndnContrValidFrom,
coco.CndnContrValidTo AS CndnContrValidTo,
coco.ExternalDocumentReferenceID AS ExternalDocumentReferenceID,
coco.CndnContrType AS CndnContrType,
coco.Customer AS Customer,
_Customer._CustomerToBusinessPartner.BusinessPartnerUUID AS CustomerBpUUID,
coco.Supplier AS Supplier,
_Supplier._SupplierToBusinessPartner.BusinessPartnerUUID AS SupplierBpUUID,
coco.PurchasingOrganization AS PurchasingOrganization,
coco.PurchasingGroup AS PurchasingGroup,
coco.SalesOrganization AS SalesOrganization,
coco.DistributionChannel AS DistributionChannel,
coco.Division AS Division,
coco.CndnContrIsInactive AS CndnContrIsInactive,
coco.CompanyCode AS CompanyCode,
coco.PersonWorkAgreement AS PersonWorkAgreement,
coco.CndnContrWorkerCostCenter AS CndnContrWorkerCostCenter
FROM I_ConditionContract AS coco
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer -- association [1..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [1..1]
;
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