A_GoodsMvtReasonCode
Goods movement reason code
A_GoodsMvtReasonCode is a Basic CDS View that provides data about "Goods movement reason code" in SAP S/4HANA. It reads from 1 data source (I_PhysInvtryReasonCode) and exposes 3 fields with key fields GoodsMovementType, ReasonForPhysInvtryDifference. It has 1 association to related views. It is exposed through 1 OData service (API_GOODSMVTREASONCODE_SRV). Part of development package ET_COMMON.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PhysInvtryReasonCode | _GoodsMvtReasonCode | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | A_GoodsMvtReasonCodeText | _GoodsMvtReasonCodeText | $projection.GoodsMovementType = _GoodsMvtReasonCodeText.GoodsMovementType and $projection.ReasonForPhysInvtryDifference = _GoodsMvtReasonCodeText.ReasonForPhysInvtryDifference |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | AGMVTRECODE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Goods movement reason code | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.createEnabled | false | view | |
| ObjectModel.updateEnabled | false | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| API_GOODSMVTREASONCODE_SRV | API_GOODSMVTREASONCODE_SRV | V2 | C2 | NOT_RELEASED |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | GoodsMovementType | I_PhysInvtryReasonCode | GoodsMovementType | |
| KEY | ReasonForPhysInvtryDifference | I_PhysInvtryReasonCode | ReasonForPhysInvtryDifference | |
| _GoodsMvtReasonCodeText | _GoodsMvtReasonCodeText |
@AbapCatalog.sqlViewName: 'AGMVTRECODE'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Goods movement reason code'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel: {
usageType: {
sizeCategory: #S,
serviceQuality: #C,
dataClass:#CUSTOMIZING
},
createEnabled: false,
updateEnabled: false
}
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@Metadata.ignorePropagatedAnnotations: true
@AccessControl.personalData.blocking:#NOT_REQUIRED
define view A_GoodsMvtReasonCode as select from I_PhysInvtryReasonCode as _GoodsMvtReasonCode
association [0..*] to A_GoodsMvtReasonCodeText as _GoodsMvtReasonCodeText
on $projection.GoodsMovementType = _GoodsMvtReasonCodeText.GoodsMovementType
and $projection.ReasonForPhysInvtryDifference = _GoodsMvtReasonCodeText.ReasonForPhysInvtryDifference
{
key _GoodsMvtReasonCode.GoodsMovementType,
key _GoodsMvtReasonCode.ReasonForPhysInvtryDifference,
_GoodsMvtReasonCodeText
}
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