P_BatchValuationCategory

DDL: P_BATCHVALUATIONCATEGORY SQL: PBCHVALCTGMATPL Type: view BASIC Package: LO_BM_COMMON

Valuation category by material plant

P_BatchValuationCategory is a Basic CDS View that provides data about "Valuation category by material plant" in SAP S/4HANA. It reads from 3 data sources (v_marc_md, t001w, t149) and exposes 5 fields with key fields Material, Plant. Part of development package LO_BM_COMMON.

Data Sources (3)

SourceAliasJoin Type
v_marc_md marc from
t001w t001w inner
t149 t149 inner

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PBCHVALCTGMATPL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Valuation category by material plant view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #BASIC view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Material v_marc_md matnr Vehicle Model
KEY Plant v_marc_md werks Receiving Plant
ValuationArea t001w bwkey Valuation Area
InventoryValuationCategory v_marc_md bwtty Valuation Cat.
IsBatchAutoValnTypeEnabled t149 kzbaa Val. type auto.

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_BatchValuationCategory.
-- 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: PBCHVALCTGMATPL

CREATE VIEW P_BatchValuationCategory AS
SELECT
  marc.matnr AS Material,
  marc.werks AS Plant,
  t001w.bwkey AS ValuationArea,
  marc.bwtty AS InventoryValuationCategory,
  t149.kzbaa AS IsBatchAutoValnTypeEnabled
FROM v_marc_md AS marc
INNER JOIN t001w ON /* join condition not captured in parsed metadata */
INNER JOIN t149 ON /* join condition not captured in parsed metadata */
;