I_GoodsMovementCode

DDL: I_GOODSMOVEMENTCODE Type: view_entity BASIC

Goods Movement Code

I_GoodsMovementCode (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Goods Movement Code · Supply Chain

I_GoodsMovementCode is a Basic CDS View (Dimension) that provides data about "Goods Movement Code" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 3 fields with key field GoodsMovementCode. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Stock and Material Documents
Purpose
This view provides supported values for goods movement code. The values and their meanings are: 01 Goods receipt for purchase order 03 Goods issue 04 Transfer posting

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSupply Chain
Application ComponentMM-IM-VDM-SGM
CapabilitiesAnalytical Dimension, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source for Data Extraction, Data Source for Search, Data Source in SQL Select, Data Provider for Value Help
PackageSupply Chain for SAP S/4HANA Cloud Private Edition
Description <p>This view provides supported values for goods movement code.</p> <p>The values and their meanings are:</p> <p>01</p> <p> Goods receipt for purchase order</p> <p>03</p> <p>Goods issue</p> <p>04</p> <p>Transfer posting</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_GoodsMovementCodeText _Text $projection.GoodsMovementCode = _Text.GoodsMovementCode

Annotations (19)

NameValueLevelField
Analytics.technicalName IGdsMvtCd view
Analytics.dataExtraction.enabled true view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
EndUserText.label Goods Movement Code view
Consumption.ranked true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey GoodsMovementCode view
ObjectModel.resultSet.sizeCategory #XS view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.sapObjectNodeType.name GoodsMovementCode view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY GoodsMovementCode Assign code to transaction for BAPI goods movement
DomainValue dd07l domvalue_l Values for Domains: Single Value/Lower Limit
_Text _Text

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_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.

CREATE VIEW I_GoodsMovementCode AS
SELECT
  cast(substring(domvalue_l, 1, 2) as gm_code) AS GoodsMovementCode,
  dd07l.domvalue_l AS DomainValue
FROM dd07l
LEFT OUTER JOIN I_GoodsMovementCodeText AS _Text ON GoodsMovementCode = _Text.GoodsMovementCode  -- association [0..*]
;