C_DspDocFlwSDContractAttrib

DDL: C_DSPDOCFLWSDCONTRACTATTRIB SQL: CDDFSDCONTRACTAT Type: view CONSUMPTION

SD Contract Attributes for DDF

C_DspDocFlwSDContractAttrib is a Consumption CDS View that provides data about "SD Contract Attributes for DDF" in SAP S/4HANA. It reads from 1 data source (I_SalesDocument) and exposes 9 fields with key field SalesDocument. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_SalesDocument SalesDocument from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_SalesDocument _SalesDocument _SalesDocument.SalesDocument = $projection.SalesDocument

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CDDFSDCONTRACTAT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #CONSUMPTION view
EndUserText.label SD Contract Attributes for DDF view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY SalesDocument SalesDocument SD Document
SalesDocumentDate SalesDocumentDate Document Date
SoldToParty SoldToParty Sold-to Party
AgrmtValdtyStartDate AgrmtValdtyStartDate
AgrmtValdtyEndDate AgrmtValdtyEndDate
TotalNetAmount Total Net Amount
TransactionCurrency TransactionCurrency Transaction Currency
UI5NetworkGraphDescription
_SalesDocument _SalesDocument

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_DspDocFlwSDContractAttrib.
-- 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: CDDFSDCONTRACTAT

CREATE VIEW C_DspDocFlwSDContractAttrib AS
SELECT
  SalesDocument,
  SalesDocumentDate,
  SoldToParty,
  AgrmtValdtyStartDate,
  AgrmtValdtyEndDate,
  cast(TotalNetAmount as fac_ddf_amount ) AS TotalNetAmount,
  TransactionCurrency,
  cast ( _SalesDocumentType._Text[1:Language = $session.system_language].SalesDocumentTypeName as fac_network_graph_description) AS UI5NetworkGraphDescription
FROM I_SalesDocument AS SalesDocument
LEFT OUTER JOIN I_SalesDocument AS _SalesDocument ON _SalesDocument.SalesDocument = SalesDocument  -- association [1..1]
;