I_Purreturnreasontext

DDL: I_PURRETURNREASONTEXT SQL: IPurRetReasonT Type: view BASIC

Return Reasons

I_Purreturnreasontext is a Basic CDS View that provides data about "Return Reasons" in SAP S/4HANA. It reads from 1 data source (t157e) and exposes 4 fields with key fields Language, MovementType, GoodsMovementReasonCode.

Data Sources (1)

SourceAliasJoin Type
t157e t157e from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IPurRetReasonT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
EndUserText.label Return Reasons view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Language t157e spras Off. Language
KEY MovementType t157e bwart Valuation Type
KEY GoodsMovementReasonCode t157e grund Reason for mvt.
GoodsMovementReasonName t157e grtxt Short 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_Purreturnreasontext.
-- 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: IPurRetReasonT

CREATE VIEW I_Purreturnreasontext AS
SELECT
  t157e.spras AS Language,
  t157e.bwart AS MovementType,
  t157e.grund AS GoodsMovementReasonCode,
  t157e.grtxt AS GoodsMovementReasonName
FROM t157e
;