I_AdjmtPostingMovementType
PI Stock Adjustment Movement Type
I_AdjmtPostingMovementType is a Basic CDS View that provides data about "PI Stock Adjustment Movement Type" in SAP S/4HANA. It reads from 1 data source (t150) and exposes 8 fields with key fields PhysicalInventoryStockType, InventorySpecialStockType. It has 4 associations to related views. Part of development package MM_IM_VDM_PI.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| t150 | t150 | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_InventorySpecialStockType | _InventorySpecialStockType | $projection.InventorySpecialStockType = _InventorySpecialStockType.InventorySpecialStockType |
| [0..1] | I_PhysInvtryStockType | _PhysicalInventoryStockType | $projection.PhysicalInventoryStockType = _PhysicalInventoryStockType.PhysicalInventoryStockType |
| [0..1] | I_GoodsMovementType | _GoodsIssueMovementType | $projection.PhysInvtryDecreasingQtyMvtType = _GoodsIssueMovementType.GoodsMovementType |
| [0..1] | I_GoodsMovementType | _GoodsReceiptMovementType | $projection.PhysInvtryIncreasingQtyMvtType = _GoodsReceiptMovementType.GoodsMovementType |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.entityBuffer.definitionAllowed | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | PI Stock Adjustment Movement Type | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| VDM.private | false | view | |
| VDM.viewType | #BASIC | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PhysicalInventoryStockType | bstar | Stock Type | |
| KEY | InventorySpecialStockType | sobkz | Special Stock | |
| PhysInvtryDecreasingQtyMvtType | bwarh | Movement Type | ||
| PhysInvtryIncreasingQtyMvtType | bwars | Movement Type | ||
| _InventorySpecialStockType | _InventorySpecialStockType | |||
| _PhysicalInventoryStockType | _PhysicalInventoryStockType | |||
| _GoodsIssueMovementType | _GoodsIssueMovementType | |||
| _GoodsReceiptMovementType | _GoodsReceiptMovementType |
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_AdjmtPostingMovementType.
-- 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_AdjmtPostingMovementType AS
SELECT
bstar AS PhysicalInventoryStockType,
sobkz AS InventorySpecialStockType,
bwarh AS PhysInvtryDecreasingQtyMvtType,
bwars AS PhysInvtryIncreasingQtyMvtType
FROM t150
LEFT OUTER JOIN I_InventorySpecialStockType AS _InventorySpecialStockType ON InventorySpecialStockType = _InventorySpecialStockType.InventorySpecialStockType -- association [0..1]
LEFT OUTER JOIN I_PhysInvtryStockType AS _PhysicalInventoryStockType ON PhysicalInventoryStockType = _PhysicalInventoryStockType.PhysicalInventoryStockType -- association [0..1]
LEFT OUTER JOIN I_GoodsMovementType AS _GoodsIssueMovementType ON PhysInvtryDecreasingQtyMvtType = _GoodsIssueMovementType.GoodsMovementType -- association [0..1]
LEFT OUTER JOIN I_GoodsMovementType AS _GoodsReceiptMovementType ON PhysInvtryIncreasingQtyMvtType = _GoodsReceiptMovementType.GoodsMovementType -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA