C_SSPGoodsMovementDocument
SSP PR Goods Movement
C_SSPGoodsMovementDocument is a Consumption CDS View that provides data about "SSP PR Goods Movement" in SAP S/4HANA. It reads from 1 data source (I_GoodsMovementDocument) and exposes 158 fields with key fields MaterialDocumentYear, MaterialDocument, MaterialDocumentItem, MaterialDocumentRecordType. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_GoodsMovementDocument | I_GoodsMovementDocument | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_GoodsMovementTypeT | _GoodsMovementTypeT | $projection.GoodsMovementType = _GoodsMovementTypeT.GoodsMovementType and _GoodsMovementTypeT.Language = $session.system_language |
| [1..1] | C_POItmOpnQty | _POItmOpnQty | $projection.PurchaseOrder = _POItmOpnQty.PurchasingDocument and PurchaseOrderItem = _POItmOpnQty.PurchasingDocumentItem |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSSPGOODSMVMT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | SSP PR Goods Movement | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (158)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaterialDocumentYear | MaterialDocumentYear | Material Document Year | |
| KEY | MaterialDocument | MaterialDocument | Material Doc. | |
| KEY | MaterialDocumentItem | MaterialDocumentItem | Material Document Item | |
| KEY | MaterialDocumentRecordType | MaterialDocumentRecordType | ||
| Plant | Plant | Valuation Area | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| Material | Material | Vehicle Model | ||
| Batch | Batch | Lot No. | ||
| InventorySpecialStockType | InventorySpecialStockType | Special Stock Type | ||
| InventoryStockType | InventoryStockType | Stock Type | ||
| StockOwner | StockOwner | Owner of stock | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| InventorySpecialStockValnType | InventorySpecialStockValnType | Valuation | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| MaterialBaseUnit | MaterialBaseUnit | Valuation Unit | ||
| EntryUnit | EntryUnit | Unit of Entry | ||
| IsReversalMovementType | IsReversalMovementType | |||
| InventoryTransactionType | InventoryTransactionType | Trans. Ev. Type | ||
| IssuingOrReceivingPlant | IssuingOrReceivingPlant | Transfer Plant | ||
| IssuingOrReceivingStorageLoc | IssuingOrReceivingStorageLoc | Receiving SLoc. | ||
| IssgOrRcvgMaterial | IssgOrRcvgMaterial | Transfer Material | ||
| IssgOrRcvgBatch | IssgOrRcvgBatch | Transfer Batch | ||
| IssgOrRcvgSpclStockInd | IssgOrRcvgSpclStockInd | Special Stock | ||
| IssuingOrReceivingStockType | IssuingOrReceivingStockType | |||
| IssuingOrReceivingValType | IssuingOrReceivingValType | Val. Type Tfr. | ||
| GoodsMovementIsCancelled | GoodsMovementIsCancelled | Is Item Cancelled | ||
| ReversedMaterialDocument | ReversedMaterialDocument | Reversed Mat Doc | ||
| ReversedMaterialDocumentItem | ReversedMaterialDocumentItem | Reversed Doc Item | ||
| ReversedMaterialDocumentYear | ReversedMaterialDocumentYear | Reversed Doc Year | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| CreationDate | CreationDate | Time Stamp | ||
| CreationTime | CreationTime | Time of Change | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| FiscalYearVariant | FiscalYearVariant | FY Variant | ||
| FiscalYear | FiscalYear | G/L Fiscal Year | ||
| FiscalYearPeriod | FiscalYearPeriod | Period/Year | ||
| YearDay | YearDay | Day of the year | ||
| YearWeek | YearWeek | Year and Calendar Week | ||
| YearMonth | YearMonth | Year Month | ||
| YearQuarter | YearQuarter | Year Quarter | ||
| CalendarQuarter | CalendarQuarter | Calendar Quarter | ||
| CalendarMonth | CalendarMonth | Calendar Month | ||
| CalendarWeek | CalendarWeek | Calendar Week | ||
| CalendarDay | CalendarDay | Occur Day in a Month | ||
| WeekDay | WeekDay | Weekdays | ||
| SalesOrder | SalesOrder | SD Document | ||
| SalesOrderItem | SalesOrderItem | Sales Order Item | ||
| SalesOrderScheduleLine | SalesOrderScheduleLine | SOrder schedule | ||
| PurchaseOrder | PurchaseOrder | Purchasing Document | ||
| PurchaseOrderItem | PurchaseOrderItem | Purchasing Document Item | ||
| ProjectNetwork | ProjectNetwork | Order | ||
| DeliveryDocument | DeliveryDocument | Outbound Delivery | ||
| DeliveryDocumentItem | DeliveryDocumentItem | Outb. Delivery Item | ||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| ManufacturingOrder | ManufacturingOrder | Order | ||
| ManufacturingOrderItem | ManufacturingOrderItem | Manufacturing Order Item | ||
| SpecialStockIdfgSalesOrder | SpecialStockIdfgSalesOrder | Stock Ident Header | ||
| SpecialStockIdfgSalesOrderItem | SpecialStockIdfgSalesOrderItem | Stock Ident Item | ||
| SpecialStockIdfgWBSElement | SpecialStockIdfgWBSElement | WBS Internal ID | ||
| ReferenceDocument | ReferenceDocument | Reference Document | ||
| GoodsMovementType | I_GoodsMovementDocument | GoodsMovementType | Movement Type | |
| ProcessFlowDynamicNodeTitle | _GoodsMovementTypeT | GoodsMovementTypeName | ||
| ProcessFlowNodeShortTitle | _GoodsMovementTypeT | GoodsMovementTypeName | ||
| InventoryValuationType | InventoryValuationType | Valuation Type | ||
| CreatedByUser | CreatedByUser | User Name | ||
| Supplier | Supplier | Supplier | ||
| Customer | Customer | Sold-to Party | ||
| IsMaterialDocumentHeader | IsMaterialDocumentHeader | |||
| MaterialDocumentHeaderText | MaterialDocumentHeaderText | |||
| MaterialDocumentItemText | MaterialDocumentItemText | Text | ||
| IsCompletelyDelivered | IsCompletelyDelivered | Is completely delivered | ||
| GoodsRecipientName | GoodsRecipientName | Recipient Name | ||
| UnloadingPointName | UnloadingPointName | Unloading Point Name | ||
| GoodsMovementRefDocType | GoodsMovementRefDocType | Reference Doc. Type | ||
| GoodsMovementReasonCode | GoodsMovementReasonCode | Reason for Mvmt | ||
| ShelfLifeExpirationDate | ShelfLifeExpirationDate | SLED/BBD | ||
| ManufactureDate | ManufactureDate | Date of Manuf. | ||
| AccountAssignmentCategory | AccountAssignmentCategory | Acct Assgmt Cat | ||
| CostCenter | CostCenter | Cost Center | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| CostObject | CostObject | Cost Object | ||
| GLAccount | GLAccount | General Ledger | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| ProfitabilitySegment | ProfitabilitySegment_2 | Profit. segment | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| MasterFixedAsset | MasterFixedAsset | Fixed Asset | ||
| FixedAsset | FixedAsset | Sub-number | ||
| FundsCenter | FundsCenter | Funds Center | ||
| Fund | Fund | Sender Fund | ||
| CommitmentItem | Commitment Item Short ID | |||
| GrantID | GrantID | Sender Grant | ||
| Reservation | Reservation | Reservation | ||
| ReservationItem | ReservationItem | Reservation Item | ||
| ReservationIsFinallyIssued | ReservationIsFinallyIssued | Res Final Issue | ||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| GoodsMovementStkAmtInCCCrcy | GoodsMovementStkAmtInCCCrcy | |||
| GoodsMvtCnsmpnAmtInCCCrcy | GoodsMvtCnsmpnAmtInCCCrcy | |||
| GdsMvtExtAmtInCoCodeCrcy | GdsMvtExtAmtInCoCodeCrcy | Ext. Amount LC | ||
| SlsPrcAmtInclVATInCoCodeCrcy | SlsPrcAmtInclVATInCoCodeCrcy | SalVal inc. VAT | ||
| EnteredSlsAmtInCoCodeCrcy | EnteredSlsAmtInCoCodeCrcy | Sales Price Counted Value | ||
| MatlStkChangeQtyInBaseUnit | MatlStkChangeQtyInBaseUnit | |||
| MatlCnsmpnQtyInMatlBaseUnit | MatlCnsmpnQtyInMatlBaseUnit | |||
| QuantityInBaseUnit | QuantityInBaseUnit | Quantity | ||
| QuantityInEntryUnit | QuantityInEntryUnit | Quantity in Unit of Entry | ||
| TransactionCode | TransactionCode | Transaction Code | ||
| IsAutomaticallyCreated | IsAutomaticallyCreated | Is Automatically Created | ||
| MaterialDocumentLine | MaterialDocumentLine | Line ID | ||
| MaterialDocumentParentLine | MaterialDocumentParentLine | Parent ID | ||
| HierarchyNodeLevel | HierarchyNodeLevel | Hierarchy Node Level | ||
| StockChangeCategory | StockChangeCategory | |||
| IsEffectiveGoodsMovement | IsEffectiveGoodsMovement | |||
| IsConsumptionMovement | IsConsumptionMovement | |||
| IsCrossPlantTransfer | IsCrossPlantTransfer | |||
| IsStorageLocChangeByTransf | IsStorageLocChangeByTransf | |||
| IsMaterialChangeByTransf | IsMaterialChangeByTransf | |||
| IsBatchChangeByTransf | IsBatchChangeByTransf | |||
| IsSpclStkTypeChangeByTransf | IsSpclStkTypeChangeByTransf | |||
| IsStockTypeChangeByTransf | IsStockTypeChangeByTransf | |||
| _SupplierCompanyByPlant | _SupplierCompanyByPlant | |||
| _CustomerCompanyByPlant | _CustomerCompanyByPlant | |||
| _AccountAssignmentCategory | _AccountAssignmentCategory | |||
| _BPStockOwner | _BPStockOwner | |||
| _CompanyCode | _CompanyCode | |||
| _ControllingArea | _ControllingArea | |||
| _CostCenter | _CostCenter | |||
| _Currency | _Currency | |||
| _Customer | _Customer | |||
| _DeliveryDocument | _DeliveryDocument | |||
| _DeliveryDocumentItem | _DeliveryDocumentItem | |||
| _FunctionalArea | _FunctionalArea | |||
| _GLAccount | _GLAccount | |||
| _GoodsMovementReasonCode | _GoodsMovementReasonCode | |||
| _GoodsMovementType | _GoodsMovementType | |||
| _InventorySpecialStockType | _InventorySpecialStockType | |||
| _InventoryStockType | _InventoryStockType | |||
| _InventoryValuationType | _InventoryValuationType | |||
| _IssgOrRcvgMaterial | _IssgOrRcvgMaterial | |||
| _IssgOrRcvgSpclStockInd | _IssgOrRcvgSpclStockInd | |||
| _IssuingOrReceivingPlant | _IssuingOrReceivingPlant | |||
| _IssuingOrReceivingStockType | _IssuingOrReceivingStockType | |||
| _IssuingOrReceivingStorageLoc | _IssuingOrReceivingStorageLoc | |||
| _Material | _Material | |||
| _MaterialBaseUnit | _MaterialBaseUnit | |||
| _MfgOrder | _MfgOrder | |||
| _MfgOrderItem | _MfgOrderItem | |||
| _Plant | _Plant | |||
| _ProfitCenter | _ProfitCenter | |||
| _PurchaseOrder | _PurchaseOrder | |||
| _PurchaseOrderItem | _PurchaseOrderItem | |||
| _SalesOrder | _SalesOrder | |||
| _SalesOrderItem | _SalesOrderItem | |||
| _SalesOrderScheduleLine | _SalesOrderScheduleLine | |||
| _SpecialStockIdfgWBSElement | _SpecialStockIdfgWBSElement | |||
| _StockChangeCategory | _StockChangeCategory | |||
| _StorageLocation | _StorageLocation | |||
| _Supplier | _Supplier | |||
| _WBSElement | _WBSElement | |||
| _POItmOpnQty | _POItmOpnQty |
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 C_SSPGoodsMovementDocument.
-- 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: CSSPGOODSMVMT
CREATE VIEW C_SSPGoodsMovementDocument AS
SELECT
MaterialDocumentYear,
MaterialDocument,
MaterialDocumentItem,
MaterialDocumentRecordType,
Plant,
StorageLocation,
Material,
Batch,
InventorySpecialStockType,
InventoryStockType,
StockOwner,
CompanyCode,
InventorySpecialStockValnType,
CompanyCodeCurrency,
MaterialBaseUnit,
EntryUnit,
IsReversalMovementType,
InventoryTransactionType,
IssuingOrReceivingPlant,
IssuingOrReceivingStorageLoc,
IssgOrRcvgMaterial,
IssgOrRcvgBatch,
IssgOrRcvgSpclStockInd,
IssuingOrReceivingStockType,
IssuingOrReceivingValType,
GoodsMovementIsCancelled,
ReversedMaterialDocument,
ReversedMaterialDocumentItem,
ReversedMaterialDocumentYear,
DocumentDate,
CreationDate,
CreationTime,
PostingDate,
FiscalYearVariant,
FiscalYear,
FiscalYearPeriod,
YearDay,
YearWeek,
YearMonth,
YearQuarter,
CalendarQuarter,
CalendarMonth,
CalendarWeek,
CalendarDay,
WeekDay,
SalesOrder,
SalesOrderItem,
SalesOrderScheduleLine,
PurchaseOrder,
PurchaseOrderItem,
ProjectNetwork,
DeliveryDocument,
DeliveryDocumentItem,
WBSElementInternalID,
ManufacturingOrder,
ManufacturingOrderItem,
SpecialStockIdfgSalesOrder,
SpecialStockIdfgSalesOrderItem,
SpecialStockIdfgWBSElement,
ReferenceDocument,
I_GoodsMovementDocument.GoodsMovementType AS GoodsMovementType,
_GoodsMovementTypeT.GoodsMovementTypeName AS ProcessFlowDynamicNodeTitle,
_GoodsMovementTypeT.GoodsMovementTypeName AS ProcessFlowNodeShortTitle,
InventoryValuationType,
CreatedByUser,
Supplier,
Customer,
IsMaterialDocumentHeader,
MaterialDocumentHeaderText,
MaterialDocumentItemText,
IsCompletelyDelivered,
GoodsRecipientName,
UnloadingPointName,
GoodsMovementRefDocType,
GoodsMovementReasonCode,
ShelfLifeExpirationDate,
ManufactureDate,
AccountAssignmentCategory,
CostCenter,
ControllingArea,
CostObject,
GLAccount,
FunctionalArea,
ProfitabilitySegment_2 AS ProfitabilitySegment,
ProfitCenter,
MasterFixedAsset,
FixedAsset,
FundsCenter,
Fund,
cast(CommitmentItemShortID as fipos) AS CommitmentItem,
GrantID,
Reservation,
ReservationItem,
ReservationIsFinallyIssued,
DebitCreditCode,
GoodsMovementStkAmtInCCCrcy,
GoodsMvtCnsmpnAmtInCCCrcy,
GdsMvtExtAmtInCoCodeCrcy,
SlsPrcAmtInclVATInCoCodeCrcy,
EnteredSlsAmtInCoCodeCrcy,
MatlStkChangeQtyInBaseUnit,
MatlCnsmpnQtyInMatlBaseUnit,
QuantityInBaseUnit,
QuantityInEntryUnit,
TransactionCode,
IsAutomaticallyCreated,
MaterialDocumentLine,
MaterialDocumentParentLine,
HierarchyNodeLevel,
StockChangeCategory,
IsEffectiveGoodsMovement,
IsConsumptionMovement,
IsCrossPlantTransfer,
IsStorageLocChangeByTransf,
IsMaterialChangeByTransf,
IsBatchChangeByTransf,
IsSpclStkTypeChangeByTransf,
IsStockTypeChangeByTransf
FROM I_GoodsMovementDocument
LEFT OUTER JOIN I_GoodsMovementTypeT AS _GoodsMovementTypeT ON GoodsMovementType = _GoodsMovementTypeT.GoodsMovementType AND _GoodsMovementTypeT.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN C_POItmOpnQty AS _POItmOpnQty ON PurchaseOrder = _POItmOpnQty.PurchasingDocument AND PurchaseOrderItem = _POItmOpnQty.PurchasingDocumentItem -- association [1..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