C_DplSlsDocTypeVH

DDL: C_DPLSLSDOCTYPEVH SQL: CDPLSLSDOCTYPEVH Type: view CONSUMPTION

Type of Duplicate Sales Document

C_DplSlsDocTypeVH is a Consumption CDS View that provides data about "Type of Duplicate Sales Document" in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentType) and exposes 5 fields with key fields SDDocumentCategory, SalesDocumentType. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_SalesDocumentType I_SalesDocumentType from

Associations (2)

CardinalityTargetAliasCondition
[0..1] C_DplSlsDocCatVH _SalesDocumentCategory $projection.SDDocumentCategory = _SalesDocumentCategory.SDDocumentCategory
[0..*] I_SalesDocumentTypeText _Text $projection.SalesDocumentType = _Text.SalesDocumentType

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName CDPLSLSDOCTYPEVH view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Consumption.ranked true view
EndUserText.label Type of Duplicate Sales Document view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey SalesDocumentType view
VDM.viewType #CONSUMPTION view
Search.searchable true view
UI.headerInfo.typeName Sales Document Type view
UI.headerInfo.typeNamePlural Sales Document Types view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY SDDocumentCategory SDDocumentCategory Document Cat.
KEY SalesDocumentType SalesDocumentType Sales Doc. Type
SalesDocumentTypeLangDepdnt
_SalesDocumentCategory _SalesDocumentCategory
_Text _Text

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_DplSlsDocTypeVH.
-- 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: CDPLSLSDOCTYPEVH

CREATE VIEW C_DplSlsDocTypeVH AS
SELECT
  SDDocumentCategory,
  SalesDocumentType,
  _SalesDocumentTypeLangDepdnt[1:Language=$session.system_language].SalesDocumentTypeLangDepdnt AS SalesDocumentTypeLangDepdnt
FROM I_SalesDocumentType
LEFT OUTER JOIN C_DplSlsDocCatVH AS _SalesDocumentCategory ON SDDocumentCategory = _SalesDocumentCategory.SDDocumentCategory  -- association [0..1]
LEFT OUTER JOIN I_SalesDocumentTypeText AS _Text ON SalesDocumentType = _Text.SalesDocumentType  -- association [0..*]
;