I_FailedGoodsMovement

DDL: I_FAILEDGOODSMOVEMENT SQL: IFAILDGOODSMVT Type: view COMPOSITE

Failed Goods Movement Header

I_FailedGoodsMovement is a Composite CDS View (Dimension) that provides data about "Failed Goods Movement Header" in SAP S/4HANA. It reads from 1 data source (I_GoodsMovementException) and exposes 4 fields with key field FailedGoodsMovement. It has 2 associations to related views.

SAP Help Documentation

CategoryCDS Views for Discrete and Process Manufacturing
Data CategoryDimension
Purpose
With this CDS view you can build foreign key associations to the first key field of failed goods movements ( AFFW-WEBLNR ) in analytical CDS views. This CDS view provides the prerequisites for answering the following business questions: Which failed goods movement IDs exist?

Prerequisites
Users have authorizations to: Display failed goods movements by order category ( C_AFFW_TWK )

Structure
Measures and attributes Some important measures and attributes are: Failed goods movement ID

View on SAP Help Portal →

Data Sources (1)

SourceAliasJoin Type
I_GoodsMovementException affw from

Associations (2)

CardinalityTargetAliasCondition
[1..*] I_FailedGoodsMovementItem _FailedGoodsMovementItem $projection.FailedGoodsMovement = _FailedGoodsMovementItem.FailedGoodsMovement
[0..1] I_OrderCategory _OrderCategory $projection.OrderCategory = _OrderCategory.OrderCategory

Annotations (19)

NameValueLevelField
AbapCatalog.sqlViewName IFAILDGOODSMVT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.compositionRoot true view
ObjectModel.modelingPattern #NONE view
ObjectModel.sapObjectNodeType.name FailedGoodsMovement view
ObjectModel.representativeKey FailedGoodsMovement view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #COMPOSITE view
EndUserText.label Failed Goods Movement Header view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY FailedGoodsMovement
OrderCategory
_FailedGoodsMovementItem _FailedGoodsMovementItem
_OrderCategory _OrderCategory

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_FailedGoodsMovement.
-- 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: IFAILDGOODSMVT

CREATE VIEW I_FailedGoodsMovement AS
SELECT
  cast(affw.GoodsMovementException as pph_weblnr preserving type) AS FailedGoodsMovement,
  cast(affw.OrderCategory as pph_autyp preserving type) AS OrderCategory
FROM I_GoodsMovementException AS affw
LEFT OUTER JOIN I_FailedGoodsMovementItem AS _FailedGoodsMovementItem ON FailedGoodsMovement = _FailedGoodsMovementItem.FailedGoodsMovement  -- association [1..*]
LEFT OUTER JOIN I_OrderCategory AS _OrderCategory ON OrderCategory = _OrderCategory.OrderCategory  -- association [0..1]
;