I_BlockReasonCodeText

DDL: I_BLOCKREASONCODETEXT Type: view BASIC

Block Reason Code - Text

I_BlockReasonCodeText (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Supply Chain

I_BlockReasonCodeText is a Basic CDS View that provides data about "Block Reason Code - Text" in SAP S/4HANA. It reads from 1 data source (/scmtms/c_blrc_t) and exposes 5 fields with key fields BlockReason, Language. It has 2 associations to related views.

SAP API Hub

StateC1
Line of BusinessSupply Chain
Application ComponentTM-CF
CapabilitiesLanguage-Dependent Text, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Data Extraction, Data Source for Search
PackageSupply Chain for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
/scmtms/c_blrc_t /scmtms/c_blrc_t from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_BlockReasonCode _BlockReason $projection.BlockReason = _BlockReason.BlockReason
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (18)

NameValueLevelField
EndUserText.label Block Reason Code - Text view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
ObjectModel.representativeKey BlockReason view
ObjectModel.dataCategory #TEXT view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
VDM.viewType #BASIC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName IBLOCKREASONCDT view
AbapCatalog.preserveKey true view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #FULL view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY BlockReason reason_code Return/Change Reason
KEY Language spras Off. Language
BlockReasonDesc Block Reason Description
_BlockReason _BlockReason
_Language _Language

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_BlockReasonCodeText.
-- 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_BlockReasonCodeText AS
SELECT
  reason_code AS BlockReason,
  spras AS Language,
  cast(description as /scmtms/vdm_block_reason_desc preserving type) AS BlockReasonDesc
FROM /scmtms/c_blrc_t
LEFT OUTER JOIN I_BlockReasonCode AS _BlockReason ON BlockReason = _BlockReason.BlockReason  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;