/APE/C_ArchiveDocType_VH

DDL: /APE/C_ARCHIVEDOCTYPE_VH SQL: /APE/C_ARCDTPUI Type: view CONSUMPTION

Archived Document Types

/APE/C_ArchiveDocType_VH is a Consumption CDS View that provides data about "Archived Document Types" in SAP S/4HANA. It reads from 1 data source (/APE/C_BOType) and exposes 2 fields with key field DocumentType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
/APE/C_BOType BusinessObjectType from

Associations (1)

CardinalityTargetAliasCondition
[0..*] /APE/C_BusObjTypeText _Text _Text.ape_parent_key = $projection.config_key

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName /APE/C_ARCDTPUI view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Archived Document Types view
ObjectModel.resultSet.sizeCategory #XS view
ObjectModel.representativeKey DocumentType view
ObjectModel.dataCategory #TEXT view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY DocumentType /APE/C_BOType bo_type SOT Name
config_key /APE/C_BOType config_key Char

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 /APE/C_ArchiveDocType_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: /APE/C_ARCDTPUI

CREATE VIEW /APE/C_ArchiveDocType_VH AS
SELECT
  BusinessObjectType.bo_type AS DocumentType,
  BusinessObjectType.config_key AS config_key
FROM /APE/C_BOType AS BusinessObjectType
LEFT OUTER JOIN /APE/C_BusObjTypeText AS _Text ON _Text.ape_parent_key = config_key  -- association [0..*]
;