P_GoodsMovementCode

DDL: P_GOODSMOVEMENTCODE SQL: PGDSMOVEMENTCODE Type: view BASIC

P_GoodsMovementCode is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (t158g) and exposes 2 fields with key field GoodsMovementCode.

Data Sources (1)

SourceAliasJoin Type
t158g t158g from

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName PGDSMOVEMENTCODE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.private true view
VDM.viewType #BASIC view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY GoodsMovementCode GM_code
TransactionCode tcode Undefined range (can be used for patch levels)

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 P_GoodsMovementCode.
-- 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: PGDSMOVEMENTCODE

CREATE VIEW P_GoodsMovementCode AS
SELECT
  cast(gmcode as nsdm_goods_movement_code preserving type) AS GoodsMovementCode,
  tcode AS TransactionCode
FROM t158g
;