C_CePuCoDistrdContrPaytTrmsTP
Payment Terms of a Distri Contr for CCTR
C_CePuCoDistrdContrPaytTrmsTP is a Consumption CDS View that provides data about "Payment Terms of a Distri Contr for CCTR" in SAP S/4HANA. It reads from 1 data source (I_CePuCoDistrdContrPaytTrmsTP) and exposes 21 fields with key fields CentralPurchaseContract, ExtContractForPurg, ProcurementHubSourceSystem, CompanyCode, PurchasingOrganization. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CePuCoDistrdContrPaytTrmsTP | I_CePuCoDistrdContrPaytTrmsTP | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_CentralPurchaseContractTP | _CentralPurchaseContractTP | _CentralPurchaseContractTP.CentralPurchaseContract = $projection.CentralPurchaseContract |
| [1..1] | C_DistrdContrForCntrlPurContr | _DistrdContrForCntrlPurContrTP | _DistrdContrForCntrlPurContrTP.CentralPurchaseContract = $projection.CentralPurchaseContract and _DistrdContrForCntrlPurContrTP.ExtContractForPurg = $projection.ExtContractForPurg and _DistrdContrForCntrlPurContrTP.ProcurementHubSourceSystem = $projection.ProcurementHubSourceSystem and _DistrdContrForCntrlPurContrTP.CompanyCode = $projection.CompanyCode and _DistrdContrForCntrlPurContrTP.PurchasingOrganization = $projection.PurchasingOrganization and _DistrdContrForCntrlPurContrTP.PurchasingGroup = $projection.PurchasingGroup and _DistrdContrForCntrlPurContrTP.DistrResponseMessageUUID = $projection.DistrResponseMessageUUID and _DistrdContrForCntrlPurContrTP.PurchasingDocumentCategory = $projection.PurchasingDocumentCategory and _DistrdContrForCntrlPurContrTP.DistributionKey = $projection.DistributionKey and _DistrdContrForCntrlPurContrTP.CentralPurchaseContractItem = $projection.CentralPurchaseContractItem |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCNTRLPCDISPT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Payment Terms of a Distri Contr for CCTR | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.createEnabled | false | view | |
| ObjectModel.deleteEnabled | false | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CentralPurchaseContract | CentralPurchaseContract | Purchasing Doc. | |
| KEY | ExtContractForPurg | ExtContractForPurg | Contract | |
| KEY | ProcurementHubSourceSystem | ProcurementHubSourceSystem | Connected System ID | |
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | PurchasingOrganization | PurchasingOrganization | Purchasing Organization | |
| KEY | PurchasingGroup | PurchasingGroup | Purchasing Group | |
| KEY | DistrResponseMessageUUID | DistrResponseMessageUUID | GUID | |
| KEY | PurchasingDocumentCategory | PurchasingDocumentCategory | Doc. Category | |
| KEY | DistributionKey | DistributionKey | Distr. Number | |
| KEY | CentralPurchaseContractItem | CentralPurchaseContractItem | Item in Central Purchase Contract | |
| PurchasingGroupForEdit | PurchasingGroupForEdit | Purchasing Group | ||
| Plant | Plant | Valuation Area | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| PaymentTerms | PaymentTerms | Pyt Terms | ||
| NetPaymentDays | NetPaymentDays | Net Pmt Terms Period | ||
| CashDiscount1Days | CashDiscount1Days | Days from Baseline Date for Payment | ||
| CashDiscount1Percent | CashDiscount1Percent | Disc. Percent 1 | ||
| CashDiscount2Days | CashDiscount2Days | Days from Baseline Date for Payment | ||
| CashDiscount2Percent | CashDiscount2Percent | Disc. Percent 2 | ||
| _CentralPurchaseContractTP | _CentralPurchaseContractTP | |||
| _DistrdContrForCntrlPurContrTP | _DistrdContrForCntrlPurContrTP |
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_CePuCoDistrdContrPaytTrmsTP.
-- 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: CCNTRLPCDISPT
CREATE VIEW C_CePuCoDistrdContrPaytTrmsTP AS
SELECT
CentralPurchaseContract,
ExtContractForPurg,
ProcurementHubSourceSystem,
CompanyCode,
PurchasingOrganization,
PurchasingGroup,
DistrResponseMessageUUID,
PurchasingDocumentCategory,
DistributionKey,
CentralPurchaseContractItem,
PurchasingGroupForEdit,
Plant,
StorageLocation,
PaymentTerms,
NetPaymentDays,
CashDiscount1Days,
CashDiscount1Percent,
CashDiscount2Days,
CashDiscount2Percent
FROM I_CePuCoDistrdContrPaytTrmsTP
LEFT OUTER JOIN C_CentralPurchaseContractTP AS _CentralPurchaseContractTP ON _CentralPurchaseContractTP.CentralPurchaseContract = CentralPurchaseContract -- association [1..1]
LEFT OUTER JOIN C_DistrdContrForCntrlPurContr AS _DistrdContrForCntrlPurContrTP ON _DistrdContrForCntrlPurContrTP.CentralPurchaseContract = CentralPurchaseContract AND _DistrdContrForCntrlPurContrTP.ExtContractForPurg = ExtContractForPurg AND _DistrdContrForCntrlPurContrTP.ProcurementHubSourceSystem = ProcurementHubSourceSystem AND _DistrdContrForCntrlPurContrTP.CompanyCode = CompanyCode AND _DistrdContrForCntrlPurContrTP.PurchasingOrganization = PurchasingOrganization AND _DistrdContrForCntrlPurContrTP.PurchasingGroup = PurchasingGroup AND _DistrdContrForCntrlPurContrTP.DistrResponseMessageUUID = DistrResponseMessageUUID AND _DistrdContrForCntrlPurContrTP.PurchasingDocumentCategory = PurchasingDocumentCategory AND _DistrdContrForCntrlPurContrTP.DistributionKey = DistributionKey AND _DistrdContrForCntrlPurContrTP.CentralPurchaseContractItem = CentralPurchaseContractItem -- 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