I_PhysInvtryReasonCodeText
Reason Type for Phys Invtry - Text
I_PhysInvtryReasonCodeText is a Basic CDS View that provides data about "Reason Type for Phys Invtry - Text" in SAP S/4HANA. It reads from 1 data source (t157e) and exposes 7 fields with key fields Language, GoodsMovementType, ReasonForPhysInvtryDifference. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| t157e | t157e | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
| [0..1] | I_GoodsMovementType | _GoodsMovementType | $projection.GoodsMovementType = _GoodsMovementType.GoodsMovementType |
| [0..1] | I_PhysInvtryReasonCode | _PhysInvtryReasonCode | $projection.GoodsMovementType = _PhysInvtryReasonCode.GoodsMovementType and $projection.ReasonForPhysInvtryDifference = _PhysInvtryReasonCode.ReasonForPhysInvtryDifference |
Annotations (18)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPIREASONT | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.buffering.status | #ACTIVE | view | |
| AbapCatalog.buffering.type | #GENERIC | view | |
| AbapCatalog.buffering.numberOfKeyFields | 1 | view | |
| EndUserText.label | Reason Type for Phys Invtry - Text | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.representativeKey | ReasonForPhysInvtryDifference | view | |
| ObjectModel.modelingPattern | #LANGUAGE_DEPENDENT_TEXT | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (7)
@AbapCatalog: {
sqlViewName: 'IPIREASONT',
preserveKey: true,
compiler.compareFilter: true,
buffering : { status : #ACTIVE, type: #GENERIC, numberOfKeyFields: 1 }
}
@EndUserText.label: 'Reason Type for Phys Invtry - Text'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel: {
usageType: {
sizeCategory: #S,
serviceQuality: #A,
dataClass:#CUSTOMIZING
},
dataCategory: #TEXT,
representativeKey: 'ReasonForPhysInvtryDifference',
modelingPattern: #LANGUAGE_DEPENDENT_TEXT,
supportedCapabilities: [#LANGUAGE_DEPENDENT_TEXT, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET]
}
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@Metadata: {
ignorePropagatedAnnotations: true
}
define view I_PhysInvtryReasonCodeText
as select from t157e
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
association [0..1] to I_GoodsMovementType as _GoodsMovementType on $projection.GoodsMovementType = _GoodsMovementType.GoodsMovementType
association [0..1] to I_PhysInvtryReasonCode as _PhysInvtryReasonCode on $projection.GoodsMovementType = _PhysInvtryReasonCode.GoodsMovementType
and $projection.ReasonForPhysInvtryDifference = _PhysInvtryReasonCode.ReasonForPhysInvtryDifference
{
@Semantics.language: true
key t157e.spras as Language,
@ObjectModel.foreignKey.association: '_GoodsMovementType'
key t157e.bwart as GoodsMovementType,
key t157e.grund as ReasonForPhysInvtryDifference,
@Semantics.text: true
t157e.grtxt as ReasonForPhysInvtryDiffText,
_Language,
_GoodsMovementType,
_PhysInvtryReasonCode
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"T157E"
],
"ASSOCIATED":
[
"I_GOODSMOVEMENTTYPE",
"I_LANGUAGE",
"I_PHYSINVTRYREASONCODE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA