I_CntrlPurchaseContractTP_2
Central Purchase Contract Header - TP
I_CntrlPurchaseContractTP_2 is a Transactional CDS View that provides data about "Central Purchase Contract Header - TP" in SAP S/4HANA. It reads from 1 data source (R_CntrlPurchaseContractTP) and exposes 45 fields with key field CentralPurchaseContract.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_CntrlPurchaseContractTP | R_CntrlPurchaseContractTP | projection |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Central Purchase Contract Header - TP | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| ObjectModel.modelingPattern | #TRANSACTIONAL_INTERFACE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.sapObjectNodeType.name | CentralPurchaseContract | view |
Fields (45)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CentralPurchaseContract | CentralPurchaseContract | Purchasing Doc. | |
| PurchaseContractType | PurchaseContractType | Order Type | ||
| PurchasingDocumentCategory | PurchasingDocumentCategory | Doc. Category | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| CreationDate | CreationDate | Time Stamp | ||
| Supplier | Supplier | Supplier | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| IncotermsClassification | IncotermsClassification | Incoterms | ||
| IncotermsTransferLocation | IncotermsTransferLocation | Incoterms 2 | ||
| PaymentTerms | PaymentTerms | Pyt Terms | ||
| CashDiscount1Days | CashDiscount1Days | Days from Baseline Date for Payment | ||
| CashDiscount2Days | CashDiscount2Days | Days from Baseline Date for Payment | ||
| NetPaymentDays | NetPaymentDays | Net Pmt Terms Period | ||
| CashDiscount1Percent | CashDiscount1Percent | Disc. Percent 1 | ||
| CashDiscount2Percent | CashDiscount2Percent | Disc. Percent 2 | ||
| PurchaseContractTargetAmount | PurchaseContractTargetAmount | Target Value | ||
| ValidityStartDate | ValidityStartDate | Validity Start Date | ||
| ValidityEndDate | ValidityEndDate | ValidTo | ||
| CreatedByUser | CreatedByUser | User Name | ||
| QuotationSubmissionDate | QuotationSubmissionDate | Quotation Date | ||
| SupplierQuotation | SupplierQuotation | RFQ | ||
| CorrespncExternalReference | CorrespncExternalReference | Your Reference | ||
| CorrespncInternalReference | CorrespncInternalReference | Our Reference | ||
| SupplierRespSalesPersonName | SupplierRespSalesPersonName | Salesperson | ||
| SupplierPhoneNumber | SupplierPhoneNumber | Telephone | ||
| IncotermsVersion | IncotermsVersion | Inco. Version | ||
| IncotermsLocation1 | IncotermsLocation1 | Inco. Location1 | ||
| IncotermsLocation2 | IncotermsLocation2 | Inco. Location2 | ||
| PurchasingDocumentName | PurchasingDocumentName | Purch. Doc. Name | ||
| PurchasingProcessingStatus | PurchasingProcessingStatus | Proc. State | ||
| PurgContractIsInPreparation | PurgContractIsInPreparation | Boolean Variable (X = True, - = False, Space = Unknown) | ||
| CntrlPurContrFlxblDistrIsAllwd | CntrlPurContrFlxblDistrIsAllwd | Boolean Variable (X = True, - = False, Space = Unknown) | ||
| IsEndOfPurposeBlocked | IsEndOfPurposeBlocked | Busin. Purp. Cmpltd. | ||
| ActivePurchasingDocument | ActivePurchasingDocument | Active Purchase Doc | ||
| PurchasingDocumentVersion | PurchasingDocumentVersion | Version | ||
| PurchasingDocumentOrigin | PurchasingDocumentOrigin | Status | ||
| PurgDocIsChgVers | PurgDocIsChgVers | Checkbox | ||
| IsCancelled | IsCancelled | Boolean Variable (X = True, - = False, Space = Unknown) | ||
| CntrlPurContrDistributionSts | CntrlPurContrDistributionSts | |||
| PurchasingDocVersionReasonCode | PurchasingDocVersionReasonCode | Reason | ||
| PurchasingDocumentSubtype | PurchasingDocumentSubtype | Control | ||
| ProcmtHubCompanyCodeGroupingID | ProcmtHubCompanyCodeGroupingID | Grouping ID |
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 I_CntrlPurchaseContractTP_2.
-- 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.
CREATE VIEW I_CntrlPurchaseContractTP_2 AS
SELECT
CentralPurchaseContract,
PurchaseContractType,
PurchasingDocumentCategory,
LastChangeDateTime,
CreationDate,
Supplier,
CompanyCode,
PurchasingOrganization,
PurchasingGroup,
DocumentCurrency,
IncotermsClassification,
IncotermsTransferLocation,
PaymentTerms,
CashDiscount1Days,
CashDiscount2Days,
NetPaymentDays,
CashDiscount1Percent,
CashDiscount2Percent,
PurchaseContractTargetAmount,
ValidityStartDate,
ValidityEndDate,
CreatedByUser,
QuotationSubmissionDate,
SupplierQuotation,
CorrespncExternalReference,
CorrespncInternalReference,
SupplierRespSalesPersonName,
SupplierPhoneNumber,
IncotermsVersion,
IncotermsLocation1,
IncotermsLocation2,
PurchasingDocumentName,
PurchasingProcessingStatus,
PurgContractIsInPreparation,
CntrlPurContrFlxblDistrIsAllwd,
IsEndOfPurposeBlocked,
ActivePurchasingDocument,
PurchasingDocumentVersion,
PurchasingDocumentOrigin,
PurgDocIsChgVers,
IsCancelled,
CntrlPurContrDistributionSts,
PurchasingDocVersionReasonCode,
PurchasingDocumentSubtype,
ProcmtHubCompanyCodeGroupingID
FROM R_CntrlPurchaseContractTP
;
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