C_DspDocFlwSalesDocAttrib

DDL: C_DSPDOCFLWSALESDOCATTRIB SQL: CDDFSALESDOCAT Type: view CONSUMPTION

Sales Documents Attributes for DDF

C_DspDocFlwSalesDocAttrib is a Consumption CDS View that provides data about "Sales Documents Attributes for DDF" in SAP S/4HANA. It reads from 1 data source (I_SalesDocument) and exposes 10 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 CDDFSALESDOCAT 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 Sales Documents Attributes for DDF view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY SalesDocument SalesDocument SD Document
CompanyCode _BillingCompanyCode CompanyCode Receiver Company Code
SoldToParty SoldToParty Sold-to Party
SalesDocumentDate SalesDocumentDate Document Date
SalesDocumentType SalesDocumentType Sales Doc. Type
TotalNetAmount Total Net Amount
TransactionCurrency TransactionCurrency Transaction Currency
UI5NetworkGraphDescription
_SalesDocument _SalesDocument
_TransactionCurrency _TransactionCurrency

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_DspDocFlwSalesDocAttrib.
-- 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: CDDFSALESDOCAT

CREATE VIEW C_DspDocFlwSalesDocAttrib AS
SELECT
  SalesDocument,
  _BillingCompanyCode.CompanyCode AS CompanyCode,
  SoldToParty,
  SalesDocumentDate,
  SalesDocumentType,
  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]
;