P_ApplDocType_VH

DDL: P_APPLDOCTYPE_VH SQL: PAPPLDOCTYPEVH Type: view BASIC

P_ApplDocType_VH is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (P_ApplDocType) and exposes 2 fields with key field doc_type. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_ApplDocType P_ApplDocType from

Associations (1)

CardinalityTargetAliasCondition
[0..*] P_ApplDocTypeDesc _ApplDocTypeText $projection.doc_type = _ApplDocTypeText.doc_type

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PAPPLDOCTYPEVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.private true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.resultSet.sizeCategory #XS view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY doc_type doc_type VAT Document Type
ApplDocTypeDescr

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 P_ApplDocType_VH.
-- 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: PAPPLDOCTYPEVH

CREATE VIEW P_ApplDocType_VH AS
SELECT
  doc_type,
  _ApplDocTypeText[1: spras = $session.system_language ].text AS ApplDocTypeDescr
FROM P_ApplDocType
LEFT OUTER JOIN P_ApplDocTypeDesc AS _ApplDocTypeText ON doc_type = _ApplDocTypeText.doc_type  -- association [0..*]
;