I_ObjValDetnUsage

DDL: I_OBJVALDETNUSAGE Type: view_entity BASIC

OVD - Usage

I_ObjValDetnUsage is a Basic CDS View that provides data about "OVD - Usage" in SAP S/4HANA. It reads from 2 data sources (ovd_usage, ovdusage) and exposes 8 fields with key field ObjValDetnUsage. It has 3 associations to related views.

Data Sources (2)

SourceAliasJoin Type
ovd_usage ovd_usage union
ovdusage ovdusage from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_ObjValDetnUsageText _Text $projection.ObjValDetnUsage = _Text.ObjValDetnUsage
[1..1] I_ProdAllocCharcCtlgUseType _CatalogUseType $projection.ProdAllocCharcCatalogUseType = _CatalogUseType.ProdAllocCharcCatalogUseType
[0..*] I_ObjValDetnUsageType _UsageType $projection.ObjValDetnUsage = _UsageType.ObjValDetnUsage

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label OVD - Usage view
AbapCatalog.entityBuffer.definitionAllowed true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey ObjValDetnUsage view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ObjValDetnUsage usage_id UUID
ProdAllocCharcCatalogUseType catalogusetype Catalog Use Type
_Text _Text
_CatalogUseType _CatalogUseType
ProdAllocCharcCatalogUseType catalogusetype Catalog Use Type
_Text _Text
_CatalogUseType _CatalogUseType
_UsageType _UsageType

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 I_ObjValDetnUsage.
-- 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 I_ObjValDetnUsage AS
SELECT
  usage_id AS ObjValDetnUsage,
  catalogusetype AS ProdAllocCharcCatalogUseType
FROM ovdusage
LEFT OUTER JOIN I_ObjValDetnUsageText AS _Text ON ObjValDetnUsage = _Text.ObjValDetnUsage  -- association [0..*]
LEFT OUTER JOIN I_ProdAllocCharcCtlgUseType AS _CatalogUseType ON ProdAllocCharcCatalogUseType = _CatalogUseType.ProdAllocCharcCatalogUseType  -- association [1..1]
LEFT OUTER JOIN I_ObjValDetnUsageType AS _UsageType ON ObjValDetnUsage = _UsageType.ObjValDetnUsage  -- association [0..*]
-- UNION with additional select branch(es): ovd_usage
;