P_PurchaseContractMassUpdt

DDL: P_PURCHASECONTRACTMASSUPDT SQL: PCTRMASSCHNG Type: view CONSUMPTION

Purchase Contract Header

P_PurchaseContractMassUpdt is a Consumption CDS View that provides data about "Purchase Contract Header" in SAP S/4HANA. It reads from 1 data source (P_PurContrMassUpdt) and exposes 44 fields with key field PurchaseContract.

Data Sources (1)

SourceAliasJoin Type
P_PurContrMassUpdt P_PurContrMassUpdt from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PCTRMASSCHNG view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
VDM.private true view
EndUserText.label Purchase Contract Header view

Fields (44)

KeyFieldSource TableSource FieldDescription
KEY PurchaseContract PurchaseContract Purchasing Doc.
PurchasingContractCategory PurchasingContractCategory Doc. Category
PurchaseContractType PurchaseContractType Order Type
ExchangeRate ExchangeRate Exchange rate
ExchangeRateIsFixed ExchangeRateIsFixed Fixed Exch.Rate
CreationDate CreationDate Time Stamp
Supplier Supplier Supplier
DocumentCurrency DocumentCurrency Document Currency
PaymentTerms PaymentTerms Pyt Terms
PurchaseContractTargetAmount PurchaseContractTargetAmount Target Value
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
CreatedByUser CreatedByUser User Name
CashDiscount1Percent CashDiscount1Percent Disc. Percent 1
CashDiscount1Days CashDiscount1Days Days from Baseline Date for Payment
CashDiscount2Percent CashDiscount2Percent Disc. Percent 2
CashDiscount2Days CashDiscount2Days Days from Baseline Date for Payment
NetPaymentDays NetPaymentDays Net Pmt Terms Period
SupplierQuotation SupplierQuotation RFQ
QuotationSubmissionDate QuotationSubmissionDate Quotation Date
InvoicingParty InvoicingParty Supplier
SupplyingSupplier SupplyingSupplier Goods Supplier
IsEndOfPurposeBlocked IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
PurchasingDocumentDeletionCode PurchasingDocumentDeletionCode Del. Indicator
CompanyCode CompanyCode Receiver Company Code
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
IncotermsClassification IncotermsClassification Incoterms
CorrespncExternalReference CorrespncExternalReference Your Reference
CorrespncInternalReference CorrespncInternalReference Our Reference
SupplierRespSalesPersonName SupplierRespSalesPersonName Salesperson
SupplierPhoneNumber SupplierPhoneNumber Telephone
PurchasingDocumentName PurchasingDocumentName Purch. Doc. Name
IncotermsVersion IncotermsVersion Inco. Version
IncotermsLocation1 IncotermsLocation1 Inco. Location1
IncotermsLocation2 IncotermsLocation2 Inco. Location2
_Supplier _Supplier
_CompanyCode _CompanyCode
_PurchasingOrganization _PurchasingOrganization
_PurchasingGroup _PurchasingGroup
_IncotermsClassification _IncotermsClassification
_IncotermsVersion _IncotermsVersion
_PaymentTerms _PaymentTerms
_PurchasingDocumentType _PurchasingDocumentType

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_PurchaseContractMassUpdt.
-- 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: PCTRMASSCHNG

CREATE VIEW P_PurchaseContractMassUpdt AS
SELECT
  PurchaseContract,
  PurchasingContractCategory,
  PurchaseContractType,
  ExchangeRate,
  ExchangeRateIsFixed,
  CreationDate,
  Supplier,
  DocumentCurrency,
  PaymentTerms,
  PurchaseContractTargetAmount,
  ValidityStartDate,
  ValidityEndDate,
  CreatedByUser,
  CashDiscount1Percent,
  CashDiscount1Days,
  CashDiscount2Percent,
  CashDiscount2Days,
  NetPaymentDays,
  SupplierQuotation,
  QuotationSubmissionDate,
  InvoicingParty,
  SupplyingSupplier,
  IsEndOfPurposeBlocked,
  PurchasingDocumentDeletionCode,
  CompanyCode,
  PurchasingOrganization,
  PurchasingGroup,
  IncotermsClassification,
  CorrespncExternalReference,
  CorrespncInternalReference,
  SupplierRespSalesPersonName,
  SupplierPhoneNumber,
  PurchasingDocumentName,
  IncotermsVersion,
  IncotermsLocation1,
  IncotermsLocation2
FROM P_PurContrMassUpdt
;