I_BlockReasonCode

DDL: I_BLOCKREASONCODE Type: view BASIC

Block Reason Code

I_BlockReasonCode (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_BlockReasonCode is a Basic CDS View (Dimension) that provides data about "Block Reason Code" in SAP S/4HANA. It reads from 1 data source (/scmtms/c_blrc) and exposes 2 fields with key field BlockReason. It has 1 association to related views.

SAP API Hub

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

Documentation

Data Sources (1)

SourceAliasJoin Type
/scmtms/c_blrc /scmtms/c_blrc from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_BlockReasonCodeText _Text $projection.BlockReason = _Text.BlockReason

Annotations (21)

NameValueLevelField
EndUserText.label Block Reason Code view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
ObjectModel.representativeKey BlockReason view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IBLOCKREASONCODE view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #FULL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable false view
ObjectModel.resultSet.sizeCategory #XS view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY BlockReason reason_code Return/Change Reason
_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 I_BlockReasonCode.
-- 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_BlockReasonCode AS
SELECT
  reason_code AS BlockReason
FROM /scmtms/c_blrc
LEFT OUTER JOIN I_BlockReasonCodeText AS _Text ON BlockReason = _Text.BlockReason  -- association [0..*]
;