FMLV_MBEWH_CKMLCR_SALKV

DDL: FMLV_MBEWH_CKMLCR_SALKV SQL: FMLVMBEWHCR Type: view

CompatView for SALKV in MBEWH

FMLV_MBEWH_CKMLCR_SALKV is a CDS View that provides data about "CompatView for SALKV in MBEWH" in SAP S/4HANA. It reads from 6 data sources and exposes 7 fields with key fields kalnr, bdatj, lfmon, bdatj, lfmon.

Data Sources (6)

SourceAliasJoin Type
ckmlcr cr from
fmlv_logistic_currency lcurtp inner
v_mbewh_md mh inner
fmlt_price n union_all
R_MatlPriceDataMigrationStatus tf inner
R_MatlPriceDataMigrationStatus tf inner

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName FMLVMBEWHCR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CompatView for SALKV in MBEWH view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY kalnr ckmlcr kalnr Value/MA price
KEY bdatj bdatj Year Cur.Period
KEY lfmon Current Period
kalnr Value/MA price
KEY bdatj v_mbewh_md lfgja Year Cur.Period
KEY lfmon v_mbewh_md lfmon Current Period
salkv

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 FMLV_MBEWH_CKMLCR_SALKV.
-- 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: FMLVMBEWHCR

CREATE VIEW FMLV_MBEWH_CKMLCR_SALKV AS
SELECT
  cr.kalnr AS kalnr,
  bdatj,
  right(poper, 2) AS lfmon,
  cast(n.salkv_compat as salkv) AS salkv
FROM ckmlcr AS cr
INNER JOIN R_MatlPriceDataMigrationStatus AS tf ON /* join condition not captured in parsed metadata */
INNER JOIN fmlv_logistic_currency AS lcurtp ON /* join condition not captured in parsed metadata */
INNER JOIN v_mbewh_md AS mh ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): fmlt_price
;