C_PL_SAFTGoodsMovementItem

DDL: C_PL_SAFTGOODSMOVEMENTITEM SQL: CPLSAFTGMITM Type: view CONSUMPTION Package: GLO_FIN_IS_SAFT_PL

SAFT PL Goods Movement Items

C_PL_SAFTGoodsMovementItem is a Consumption CDS View that provides data about "SAFT PL Goods Movement Items" in SAP S/4HANA. It reads from 1 data source (P_PL_SAFTMaterialDocumentRecd) and exposes 16 fields with key fields CompanyCode, PL_GoodsMovementTypeCategory, Plant, StorageLocation, MaterialDocumentYear. Part of development package GLO_FIN_IS_SAFT_PL.

Data Sources (1)

SourceAliasJoin Type
P_PL_SAFTMaterialDocumentRecd P_PL_SAFTMaterialDocumentRecd from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CPLSAFTGMITM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
Metadata.allowExtensions true view
EndUserText.label SAFT PL Goods Movement Items view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY PL_GoodsMovementTypeCategory PL_GoodsMovementTypeCategory
KEY Plant Plant Valuation Area
KEY StorageLocation StorageLocation StorageLocation
KEY MaterialDocumentYear MaterialDocumentYear Material Document Year
KEY MaterialDocument MaterialDocument Material Doc.
KEY MaterialDocumentItem MaterialDocumentItem Material Document Item
PostingDate PostingDate Posting Date for GR
Material Material Vehicle Model
MaterialNameendasMaterialName
MaterialBaseUnit MaterialBaseUnit Valuation Unit
QuantityInBaseUnit QuantityInBaseUnit Quantity
CompanyCodeCurrency CompanyCodeCurrency Local Currency
NetPriceInCompanyCodeCrcy NetPriceInCompanyCodeCrcy
TotalAmountInCoCodeCrcy TotalAmountInCoCodeCrcy Total Amt In Co Crcy
_MaterialBaseUnit _MaterialBaseUnit

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_PL_SAFTGoodsMovementItem.
-- 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: CPLSAFTGMITM

CREATE VIEW C_PL_SAFTGoodsMovementItem AS
SELECT
  CompanyCode,
  PL_GoodsMovementTypeCategory,
  Plant,
  StorageLocation,
  MaterialDocumentYear,
  MaterialDocument,
  MaterialDocumentItem,
  PostingDate,
  Material,
  case when PurchaseOrderItem is not initial and PurchaseOrderItem is not null and _PurchaseOrderItem.PurchaseOrderItemText is not initial then _PurchaseOrderItem.PurchaseOrderItemText when DeliveryDocumentItem is not initial and DeliveryDocumentItem is not null and _DeliveryDocumentItem.DeliveryDocumentItemText is not initial then _DeliveryDocumentItem.DeliveryDocumentItemText else _Material._Text[1: Language = $session.system_language ].MaterialName end as MaterialName AS MaterialNameendasMaterialName,
  MaterialBaseUnit,
  QuantityInBaseUnit,
  CompanyCodeCurrency,
  NetPriceInCompanyCodeCrcy,
  TotalAmountInCoCodeCrcy
FROM P_PL_SAFTMaterialDocumentRecd
;