FMLV_MLCR_UCT

DDL: FMLV_MLCR_UCT SQL: FMLCRUCT Type: view Package: FINS_ML_UCT_TABLES

Material Ledger Document:Currencies and Values w. cor. CURTP

FMLV_MLCR_UCT is a CDS View that provides data about "Material Ledger Document:Currencies and Values w. cor. CURTP" in SAP S/4HANA. It reads from 2 data sources (finsv_unique_cvtyps, mlcrld) and exposes 22 fields with key fields belnr, kjahr, posnr, bdatj, poper. Part of development package FINS_ML_UCT_TABLES.

Data Sources (2)

SourceAliasJoin Type
finsv_unique_cvtyps curr left_outer
mlcrld m from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName FMLCRUCT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
EndUserText.label Material Ledger Document:Currencies and Values w. cor. CURTP view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY belnr mlcrld belnr SD Document
KEY kjahr mlcrld kjahr Year
KEY posnr mlcrld posnr WBS Element
KEY bdatj mlcrld bdatj Year
KEY poper mlcrld poper Posting periods
KEY curtp finsv_unique_cvtyps curtype Currency Type
waers waers Transaction Currency
salk3 salk3 Total Value
salk3_old salk3_old Inventory Value
salkv salkv Value/MA price
salkv_old salkv_old Val./Per.Unit Prc
peinh peinh Unit of measure
pvprs_old pvprs_old Per. Unit Price
stprs_old stprs_old Standard Price
vprsv_old vprsv_old Price control
sdm_version
bnbtr bnbtr Delivery costs
exbwr exbwr Ext. Amount LC
vkwrt vkwrt SalVal inc. VAT
vkwra vkwra SalVal w/o VAT
exvkw exvkw Sales Value
vksal_old vksal_old Total SP value

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_MLCR_UCT.
-- 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: FMLCRUCT

CREATE VIEW FMLV_MLCR_UCT AS
SELECT
  m.belnr AS belnr,
  m.kjahr AS kjahr,
  m.posnr AS posnr,
  m.bdatj AS bdatj,
  m.poper AS poper,
  curr.curtype AS curtp,
  waers,
  salk3,
  salk3_old,
  salkv,
  salkv_old,
  peinh,
  pvprs_old,
  stprs_old,
  vprsv_old,
  cast( '01' as fins_ml_sdm_version ) AS sdm_version,
  bnbtr,
  exbwr,
  vkwrt,
  vkwra,
  exvkw,
  vksal_old
FROM mlcrld AS m
LEFT OUTER JOIN finsv_unique_cvtyps AS curr ON /* join condition not captured in parsed metadata */
;