C_SalesContractFulfillment

DDL: C_SALESCONTRACTFULFILLMENT Type: view CONSUMPTION

Sales Contract Fulfillment

C_SalesContractFulfillment is a Consumption CDS View that provides data about "Sales Contract Fulfillment" in SAP S/4HANA. It reads from 1 data source (P_SalesContractFulfillment) and exposes 16 fields with key field SalesContract. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_SalesContractFulfillment P_SalesContractFulfillment from

Parameters (1)

NameTypeDefault
P_DisplayCurrency vdm_v_display_currency

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_Customer _Customer $projection.SoldToParty = _Customer.Customer
[0..1] I_UnitOfMeasure _UnitOfMeasure _UnitOfMeasure.UnitOfMeasure = '%'

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CSLSCONFULFMNT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Sales Contract Fulfillment view
Metadata.ignorePropagatedAnnotations true view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY SalesContract SalesContract Sales Document
CustomerName _Customer CustomerName Name of Customer
SalesContractValidityEndDate SalesContractValidityEndDate
DisplayCurrency
TransactionCurrency TransactionCurrency Transaction Currency
TotalNetAmount TotalNetAmount Total Net Amount
UnitOfMeasure _UnitOfMeasure UnitOfMeasure Unit Protected Qty
SalesContractFulfillmentRate
SalesContractType SalesContractType
SoldToParty SoldToParty Sold-to Party
SalesOffice SalesOffice Sales Office
SalesGroup SalesGroup Sales Group
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision OrganizationDivision Org. Division
OverallSDProcessStatus OverallSDProcessStatus

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_SalesContractFulfillment.
-- 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.
-- Parameters: P_DisplayCurrency : vdm_v_display_currency

CREATE VIEW C_SalesContractFulfillment AS
SELECT
  SalesContract,
  _Customer.CustomerName AS CustomerName,
  SalesContractValidityEndDate,
  :P_DisplayCurrency AS DisplayCurrency,
  TransactionCurrency,
  TotalNetAmount,
  _UnitOfMeasure.UnitOfMeasure AS UnitOfMeasure,
  cast( 0 as sd_fulfillment_rate ) AS SalesContractFulfillmentRate,
  SalesContractType,
  SoldToParty,
  SalesOffice,
  SalesGroup,
  SalesOrganization,
  DistributionChannel,
  OrganizationDivision,
  OverallSDProcessStatus
FROM P_SalesContractFulfillment
LEFT OUTER JOIN I_Customer AS _Customer ON SoldToParty = _Customer.Customer  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON _UnitOfMeasure.UnitOfMeasure = '%'  -- association [0..1]
;