C_DspDocFlwSalesDocVH

DDL: C_DSPDOCFLWSALESDOCVH Type: view_entity CONSUMPTION Package: ODATA_GL_DSP_DOC_FLW

Sales Documents VH for DDF

C_DspDocFlwSalesDocVH is a Consumption CDS View that provides data about "Sales Documents VH for DDF" in SAP S/4HANA. It reads from 1 data source (I_SalesDocument) and exposes 14 fields with key field SalesDocument. It is exposed through 2 OData services (ASQL_F3665, ASQL_F4095). Part of development package ODATA_GL_DSP_DOC_FLW.

Data Sources (1)

SourceAliasJoin Type
I_SalesDocument SalesDocument from

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #CONSUMPTION view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Sales Documents VH for DDF view
Search.searchable true view
Consumption.ranked true view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F3665 ASQL_F3665 C2 NOT_RELEASED
ASQL_F4095 ASQL_F4095 C2 NOT_RELEASED

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY SalesDocument SalesDocument SD Document
SalesDocumentTypeName
BillingCompanyCode BillingCompanyCode CCodeToBeBilled
SoldToParty SoldToParty Sold-to Party
SalesDocumentDate SalesDocumentDate Document Date
SalesOrganization SalesOrganization Sales Organization
AnchorDocument SD Document
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision OrganizationDivision Org. Division
CreatedByUser CreatedByUser User Name
SalesDocumentType SalesDocumentType Sales Doc. Type
AuthorizationGroup
CustomerAccountGroup
IsBusinessPurposeCompleted

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_DspDocFlwSalesDocVH.
-- 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 C_DspDocFlwSalesDocVH AS
SELECT
  SalesDocument,
  _SalesDocumentType._Text[1:Language = $session.system_language].SalesDocumentTypeName AS SalesDocumentTypeName,
  BillingCompanyCode,
  SoldToParty,
  SalesDocumentDate,
  SalesOrganization,
  cast( SalesDocument as fac_ddf_anchor_document ) AS AnchorDocument,
  DistributionChannel,
  OrganizationDivision,
  CreatedByUser,
  SalesDocumentType,
  SalesDocument._SoldToParty.AuthorizationGroup AS AuthorizationGroup,
  SalesDocument._SoldToParty.CustomerAccountGroup AS CustomerAccountGroup,
  SalesDocument._SoldToParty.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted
FROM I_SalesDocument AS SalesDocument
;