C_MngCustCndnContr
Monitor Customer Condition Contracts
C_MngCustCndnContr is a Consumption CDS View that provides data about "Monitor Customer Condition Contracts" in SAP S/4HANA. It reads from 2 data sources (I_ConditionContract, I_CndnContrType) and exposes 87 fields with key field ConditionContract. It has 4 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_ConditionContract | Contract | from |
| I_CndnContrType | ContractType | inner |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | C_CndnContrMainSystStatus | _MainSystemStatus | $projection.CndnContrUUID = _MainSystemStatus.CndnContrUUID |
| [0..1] | I_CndnContrActSystemStatus | _SettlmtLockStatus | $projection.CndnContrUUID = _SettlmtLockStatus.StatusObjectUUID and _SettlmtLockStatus.SystemStatus = 'ICC08' |
| [0..*] | I_CndnContrSettlmtLockText | _SettlmtLockText | _SettlmtLockText.Language = $session.system_language |
| [1..1] | E_ConditionContract | _Extension | $projection.ConditionContract = _Extension.ConditionContract |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CWCBMNGCUSTCONTR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.representativeKey | ConditionContract | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #NONE | view | |
| Metadata.allowExtensions | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Monitor Customer Condition Contracts | view |
Fields (87)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ConditionContract | I_ConditionContract | ConditionContract | Condition Contract |
| CndnContrType | I_ConditionContract | CndnContrType | Contract Type | |
| CndnContrTypeDesc | ||||
| Customer | I_ConditionContract | Customer | Sold-to Party | |
| CustomerName | ||||
| DocumentReferenceID | I_ConditionContract | DocumentReferenceID | Reference | |
| CndnContrAssgmtRefasAssignmentReference | ||||
| CndnContrAssgmtRef | I_ConditionContract | CndnContrAssgmtRef | ||
| CndnContrExternalPartner | I_ConditionContract | CndnContrExternalPartner | ||
| CreatedByUser | I_ConditionContract | CreatedByUser | User Name | |
| CreatedByUserFullName | ||||
| LastChangedByUser | I_ConditionContract | LastChangedByUser | User Name | |
| LastChangedByUserFullName | ||||
| PurchasingOrganization | I_ConditionContract | PurchasingOrganization | Purchasing Organization | |
| PurchasingGroup | I_ConditionContract | PurchasingGroup | Purchasing Group | |
| SalesOrganization | I_ConditionContract | SalesOrganization | Sales Organization | |
| SalesOrganizationName | ||||
| DistributionChannel | I_ConditionContract | DistributionChannel | RefDistCh-Cust/Mat. | |
| DistributionChannelName | ||||
| Division | I_ConditionContract | Division | Internal Division ID | |
| DivisionName | ||||
| SalesGroup | I_ConditionContract | SalesGroup | Sales Group | |
| SalesOffice | I_ConditionContract | SalesOffice | Sales Office | |
| PaymentTerms | I_ConditionContract | PaymentTerms | Pyt Terms | |
| CashDiscount1Days | I_ConditionContract | CashDiscount1Days | Days from Baseline Date for Payment | |
| CashDiscount1Percent | I_ConditionContract | CashDiscount1Percent | Disc. Percent 1 | |
| CashDiscount2Days | I_ConditionContract | CashDiscount2Days | Days from Baseline Date for Payment | |
| CashDiscount2Percent | I_ConditionContract | CashDiscount2Percent | Disc. Percent 2 | |
| NetPaymentDays | I_ConditionContract | NetPaymentDays | Net Pmt Terms Period | |
| PaymentMethod | I_ConditionContract | PaymentMethod | Pymt Meth. | |
| CndnContrIsInactive | I_ConditionContract | CndnContrIsInactive | ||
| CndnContrIsInactiveName | ||||
| CndnContrValidFrom | I_ConditionContract | CndnContrValidFrom | Valid From | |
| CndnContrValidTo | I_ConditionContract | CndnContrValidTo | Valid To | |
| ExternalDocumentReferenceID | I_ConditionContract | ExternalDocumentReferenceID | Ext. Identifier | |
| CndnContrCurrency | I_ConditionContract | CndnContrCurrency | ||
| SettlmtProduct | I_ConditionContract | SettlmtProduct | ||
| ProductName | ||||
| CompanyCode | I_ConditionContract | CompanyCode | Receiver Company Code | |
| CompanyCodeName | ||||
| CndnContrClassfctnType | I_ConditionContract | CndnContrClassfctnType | Contract Category | |
| CndnContrClassfctnTypeDesc | ||||
| CndnContrPurposeCat | I_ConditionContract | CndnContrPurposeCat | ||
| CndnContrSourceDocCat | I_ConditionContract | CndnContrSourceDocCat | ||
| CndnContrSourceDoc | I_ConditionContract | CndnContrSourceDoc | ||
| CndnContrUnit | I_ConditionContract | CndnContrUnit | ||
| CndnContrWeightUnit | I_ConditionContract | CndnContrWeightUnit | ||
| CndnContrVolumeUnit | I_ConditionContract | CndnContrVolumeUnit | ||
| CndnContrPointsQtyUnit | I_ConditionContract | CndnContrPointsQtyUnit | ||
| AccrualUpdateIsRequired | I_ConditionContract | AccrualUpdateIsRequired | ||
| CreationUTCDateTime | ||||
| LastChangeUTCDateTime | ||||
| Supplier | I_ConditionContract | Supplier | Supplier | |
| PriorSupplier | I_ConditionContract | PriorSupplier | Prior Supplier | |
| CndnContrUUID | I_ConditionContract | CndnContrUUID | ||
| CndnContrSourceUUID | I_ConditionContract | CndnContrSourceUUID | ||
| CndnContrProcVar | I_ConditionContract | CndnContrProcVar | Process Variant | |
| CndnContrProcVarDesc | ||||
| CndnContrChartCounter | ||||
| CndnContrMainSystemStatus | ||||
| CndnContrMainSystemStatusText | ||||
| PersonWorkAgreement | I_ConditionContract | PersonWorkAgreement | Personnel No. | |
| CndnContrWorkerCostCenter | I_ConditionContract | CndnContrWorkerCostCenter | ||
| _CndnContrType | I_ConditionContract | _CndnContrType | ||
| _CndnContrIsInactive | I_ConditionContract | _CndnContrIsInactive | ||
| _CndnContrClassfctnType | I_ConditionContract | _CndnContrClassfctnType | ||
| _Customer | I_ConditionContract | _Customer | ||
| _Supplier | I_ConditionContract | _Supplier | ||
| _PriorSupplier | I_ConditionContract | _PriorSupplier | ||
| _PersonWorkAgreement | I_ConditionContract | _PersonWorkAgreement | ||
| _SalesOrganization | I_ConditionContract | _SalesOrganization | ||
| _DistributionChannel | I_ConditionContract | _DistributionChannel | ||
| _Division | I_ConditionContract | _Division | ||
| _CndnContrCurrency | I_ConditionContract | _CndnContrCurrency | ||
| _SalesGroup | I_ConditionContract | _SalesGroup | ||
| _SalesOffice | I_ConditionContract | _SalesOffice | ||
| _CompanyCode | I_ConditionContract | _CompanyCode | ||
| _PurchasingOrganization | I_ConditionContract | _PurchasingOrganization | ||
| _PurchasingGroup | I_ConditionContract | _PurchasingGroup | ||
| _SettlmtProduct | I_ConditionContract | _SettlmtProduct | ||
| _CndnContrUnit | I_ConditionContract | _CndnContrUnit | ||
| _CndnContrWeightUnit | I_ConditionContract | _CndnContrWeightUnit | ||
| _CndnContrVolumeUnit | I_ConditionContract | _CndnContrVolumeUnit | ||
| _CndnContrPointsQtyUnit | I_ConditionContract | _CndnContrPointsQtyUnit | ||
| _CndnContrProcVar | I_ConditionContract | _CndnContrProcVar | ||
| _CndnContrPurposeCat | I_ConditionContract | _CndnContrPurposeCat | ||
| _CndnContrSourceDocCat | I_ConditionContract | _CndnContrSourceDocCat |
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 C_MngCustCndnContr.
-- 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: CWCBMNGCUSTCONTR
CREATE VIEW C_MngCustCndnContr AS
SELECT
Contract.ConditionContract AS ConditionContract,
Contract.CndnContrType AS CndnContrType,
Contract._CndnContrType._Text[1: Language = $session.system_language ].CndnContrTypeDesc AS CndnContrTypeDesc,
Contract.Customer AS Customer,
Contract._Customer.CustomerName AS CustomerName,
Contract.DocumentReferenceID AS DocumentReferenceID,
, successor: 'CndnContrAssgmtRef' AS CndnContrAssgmtRefasAssignmentReference,
Contract.CndnContrAssgmtRef AS CndnContrAssgmtRef,
Contract.CndnContrExternalPartner AS CndnContrExternalPartner,
Contract.CreatedByUser AS CreatedByUser,
cast( Contract._CreatedByUser.UserDescription as wlf_created_by_fullname preserving type ) AS CreatedByUserFullName,
Contract.LastChangedByUser AS LastChangedByUser,
Contract._LastChangedByUser.UserDescription AS LastChangedByUserFullName,
Contract.PurchasingOrganization AS PurchasingOrganization,
Contract.PurchasingGroup AS PurchasingGroup,
Contract.SalesOrganization AS SalesOrganization,
Contract._SalesOrganization._Text[1: Language = $session.system_language ].SalesOrganizationName AS SalesOrganizationName,
Contract.DistributionChannel AS DistributionChannel,
Contract._DistributionChannel._Text[1: Language = $session.system_language ].DistributionChannelName AS DistributionChannelName,
Contract.Division AS Division,
Contract._Division._Text[1: Language = $session.system_language ].DivisionName AS DivisionName,
Contract.SalesGroup AS SalesGroup,
Contract.SalesOffice AS SalesOffice,
Contract.PaymentTerms AS PaymentTerms,
Contract.CashDiscount1Days AS CashDiscount1Days,
Contract.CashDiscount1Percent AS CashDiscount1Percent,
Contract.CashDiscount2Days AS CashDiscount2Days,
Contract.CashDiscount2Percent AS CashDiscount2Percent,
Contract.NetPaymentDays AS NetPaymentDays,
Contract.PaymentMethod AS PaymentMethod,
Contract.CndnContrIsInactive AS CndnContrIsInactive,
Contract._CndnContrIsInactive._Text[1: Language = $session.system_language ].CndnContrIsInactiveName AS CndnContrIsInactiveName,
Contract.CndnContrValidFrom AS CndnContrValidFrom,
Contract.CndnContrValidTo AS CndnContrValidTo,
Contract.ExternalDocumentReferenceID AS ExternalDocumentReferenceID,
Contract.CndnContrCurrency AS CndnContrCurrency,
Contract.SettlmtProduct AS SettlmtProduct,
Contract._SettlmtProduct._Text[1: Language = $session.system_language ].ProductName AS ProductName,
Contract.CompanyCode AS CompanyCode,
Contract._CompanyCode.CompanyCodeName AS CompanyCodeName,
Contract.CndnContrClassfctnType AS CndnContrClassfctnType,
Contract._CndnContrClassfctnType._Text[1: Language = $session.system_language ].CndnContrClassfctnTypeDesc AS CndnContrClassfctnTypeDesc,
Contract.CndnContrPurposeCat AS CndnContrPurposeCat,
Contract.CndnContrSourceDocCat AS CndnContrSourceDocCat,
Contract.CndnContrSourceDoc AS CndnContrSourceDoc,
Contract.CndnContrUnit AS CndnContrUnit,
Contract.CndnContrWeightUnit AS CndnContrWeightUnit,
Contract.CndnContrVolumeUnit AS CndnContrVolumeUnit,
Contract.CndnContrPointsQtyUnit AS CndnContrPointsQtyUnit,
Contract.AccrualUpdateIsRequired AS AccrualUpdateIsRequired,
cast( Contract.CreationUTCDateTime as wcb_created_on_tstmp preserving type ) AS CreationUTCDateTime,
cast( Contract.LastChangeUTCDateTime as wcb_changed_on_tstmp preserving type ) AS LastChangeUTCDateTime,
Contract.Supplier AS Supplier,
Contract.PriorSupplier AS PriorSupplier,
Contract.CndnContrUUID AS CndnContrUUID,
Contract.CndnContrSourceUUID AS CndnContrSourceUUID,
Contract.CndnContrProcVar AS CndnContrProcVar,
Contract._CndnContrProcVar._Text[1: Language = $session.system_language ].CndnContrProcVarDesc AS CndnContrProcVarDesc,
cast( 1 as wcb_cc_chart_counter ) AS CndnContrChartCounter,
cast( _MainSystemStatus.CndnContrMainSystemStatus as wcb_main_system_status preserving type ) AS CndnContrMainSystemStatus,
_MainSystemStatus._SystemStatus._SystemStatusText[1: Language = $session.system_language ].SystemStatusName AS CndnContrMainSystemStatusText,
Contract.PersonWorkAgreement AS PersonWorkAgreement,
Contract.CndnContrWorkerCostCenter AS CndnContrWorkerCostCenter,
Contract._CndnContrType AS _CndnContrType,
Contract._CndnContrIsInactive AS _CndnContrIsInactive,
Contract._CndnContrClassfctnType AS _CndnContrClassfctnType,
Contract._Customer AS _Customer,
Contract._Supplier AS _Supplier,
Contract._PriorSupplier AS _PriorSupplier,
Contract._PersonWorkAgreement AS _PersonWorkAgreement,
Contract._SalesOrganization AS _SalesOrganization,
Contract._DistributionChannel AS _DistributionChannel,
Contract._Division AS _Division,
Contract._CndnContrCurrency AS _CndnContrCurrency,
Contract._SalesGroup AS _SalesGroup,
Contract._SalesOffice AS _SalesOffice,
Contract._CompanyCode AS _CompanyCode,
Contract._PurchasingOrganization AS _PurchasingOrganization,
Contract._PurchasingGroup AS _PurchasingGroup,
Contract._SettlmtProduct AS _SettlmtProduct,
Contract._CndnContrUnit AS _CndnContrUnit,
Contract._CndnContrWeightUnit AS _CndnContrWeightUnit,
Contract._CndnContrVolumeUnit AS _CndnContrVolumeUnit,
Contract._CndnContrPointsQtyUnit AS _CndnContrPointsQtyUnit,
Contract._CndnContrProcVar AS _CndnContrProcVar,
Contract._CndnContrPurposeCat AS _CndnContrPurposeCat,
Contract._CndnContrSourceDocCat AS _CndnContrSourceDocCat
FROM I_ConditionContract AS Contract
INNER JOIN I_CndnContrType AS ContractType ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN C_CndnContrMainSystStatus AS _MainSystemStatus ON CndnContrUUID = _MainSystemStatus.CndnContrUUID -- association [0..1]
LEFT OUTER JOIN I_CndnContrActSystemStatus AS _SettlmtLockStatus ON CndnContrUUID = _SettlmtLockStatus.StatusObjectUUID AND _SettlmtLockStatus.SystemStatus = 'ICC08' -- association [0..1]
LEFT OUTER JOIN I_CndnContrSettlmtLockText AS _SettlmtLockText ON _SettlmtLockText.Language = $session.system_language -- association [0..*]
LEFT OUTER JOIN E_ConditionContract AS _Extension ON ConditionContract = _Extension.ConditionContract -- association [1..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