I_PHYSINVTRYREASONCODE
Physical Inventory Reason Type
I_PHYSINVTRYREASONCODE is a CDS View in S/4HANA. Physical Inventory Reason Type. It contains 2 fields. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| A_GoodsMvtReasonCode | view | from | BASIC | Goods movement reason code |
| C_PhysInvtryReasonCode | view_entity | from | CONSUMPTION | Consumption for Phys Invtr Reason Type |
Fields (2)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | GoodsMovementType | GoodsMovementType | 1 |
| KEY | ReasonForPhysInvtryDifference | ReasonForPhysInvtryDifference | 1 |
@AbapCatalog.entityBuffer.definitionAllowed: true
@EndUserText.label: 'Physical Inventory Reason Type'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel: {
usageType: {
sizeCategory: #S,
serviceQuality: #A,
dataClass:#CUSTOMIZING
},
representativeKey: 'ReasonForPhysInvtryDifference',
modelingPattern: #ANALYTICAL_DIMENSION,
supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #EXTRACTION_DATA_SOURCE],
sapObjectNodeType.name: 'ReasonForPhysicalInventoryDiff'
}
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@Metadata: {
ignorePropagatedAnnotations: true
}
@Analytics.technicalName: 'IPIREASON'
@Analytics.dataExtraction.enabled: true
define view entity I_PhysInvtryReasonCode
as select from t157d
association [0..1] to I_GoodsMovementType as _GoodsMovementType on $projection.GoodsMovementType = _GoodsMovementType.GoodsMovementType
association [0..*] to I_PhysInvtryReasonCodeText as _PhysInvtryReasonCodeText on $projection.GoodsMovementType = _PhysInvtryReasonCodeText.GoodsMovementType
and $projection.ReasonForPhysInvtryDifference = _PhysInvtryReasonCodeText.ReasonForPhysInvtryDifference
{
@ObjectModel.foreignKey.association: '_GoodsMovementType'
key bwart as GoodsMovementType,
@ObjectModel.text.association: '_PhysInvtryReasonCodeText'
key grund as ReasonForPhysInvtryDifference,
_PhysInvtryReasonCodeText,
_GoodsMovementType
}