V_WB2_WBRK_WBRP_0_2

DDL: V_WB2_WBRK_WBRP_0_2 SQL: VWB2_WBRKWBRP02 Type: view Package: WB2_REBATES

Business Volume Settlement Doc Customer

V_WB2_WBRK_WBRP_0_2 is a CDS View that provides data about "Business Volume Settlement Doc Customer" in SAP S/4HANA. It reads from 3 data sources (tmzr, wbrk, wbrp) and exposes 49 fields with key fields wbeln, posnr. Part of development package WB2_REBATES.

Data Sources (3)

SourceAliasJoin Type
tmzr tmzr left_outer
wbrk wbrk from
wbrp wbrp inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName VWB2_WBRKWBRP02 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.serviceQuality #P view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XL view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Business Volume Settlement Doc Customer view

Fields (49)

KeyFieldSource TableSource FieldDescription
KEY wbeln wbrk wbeln Sett. Doc. List
KEY posnr wbrp posnr WBS Element
ekorg wbrk ekorg Purchasing Org.
ekgrp wbrk ekgrp Sub. purchasing grp
vkorg wbrk vkorg SD Sales Org.
vtweg wbrk vtweg RefDistCh-Cust/Mat.
spart wbrk spart Source supplier
lifnr wbrk lifre Location Alias
kunnr wbrk kunre Bill-to Party
kunrg wbrk kunrg Payer
vkont wbrk vkont Tech. CtrAcct
vkgrp wbrk vkgrp Sales Group
vkbur wbrk vkbur Sales Office
waerl wbrk waerl Doc. Currency
bldat wbrk bldat Journal Entry Date
wfdat wbrk wfdat Posting Date
xblnr wbrk xblnr Reference
wrart wbrk wrart Settl Proc Type
lfart wbrk lfart Settl Doc Type
process_type wbrk process_type Type of Data
land1tx wbrk land1tx Tx Des Ctry/Reg
stcegd wbrk stcegd Cust.VATReg.No.
wdtyp wbrk wdtyp Doc. Category
werks wbrp werks Receiving Plant
matnr wbrp matnr Vehicle Model
matkl wbrp matkl Product Sold Group
ekkol wbrp ekkol Condition Group
ltsnr wbrp ltsnr Suppl. Subrange
wfkme wbrp wfkme Settlement Unit
gewei wbrp gewei Weight Unit
voleh wbrp voleh Volume Unit
punei wbrp punei Points Unit
meins wbrp meins Valuation Unit
customer wbrp customer Sold-to Party
kolif wbrp kolif Prior Supplier
supplier wbrp supplier Supplier
txdat_from wbrp txdat_from_d Customer Tax Rate Valid-From
kondm wbrp kondm Mat. Price Grp
provg wbrp provg Time intvl key
bonus wbrp rebate_grp Volume Rebate Group
lftypv
ref_doc_nr_1 wbrp ref_doc_nr_1 Settlmt. Ref. Doc.
ref_type wbrp ref_type SettlmtRefDocCat
prsdt wbrp prsdt Pricing Date
waerk wbrk waerl Doc. Currency
fkdat wbrk wfdat Posting Date
use_case wbrk use_case Use Case Type
abart wbrk abart Settl. Category
j_1tpbupl wbrp j_1tpbupl_d Branch Code (Customer)

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 V_WB2_WBRK_WBRP_0_2.
-- 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: VWB2_WBRKWBRP02

CREATE VIEW V_WB2_WBRK_WBRP_0_2 AS
SELECT
  wbrk.wbeln AS wbeln,
  wbrp.posnr AS posnr,
  wbrk.ekorg AS ekorg,
  wbrk.ekgrp AS ekgrp,
  wbrk.vkorg AS vkorg,
  wbrk.vtweg AS vtweg,
  wbrk.spart AS spart,
  wbrk.lifre AS lifnr,
  wbrk.kunre AS kunnr,
  wbrk.kunrg AS kunrg,
  wbrk.vkont AS vkont,
  wbrk.vkgrp AS vkgrp,
  wbrk.vkbur AS vkbur,
  wbrk.waerl AS waerl,
  wbrk.bldat AS bldat,
  wbrk.wfdat AS wfdat,
  wbrk.xblnr AS xblnr,
  wbrk.wrart AS wrart,
  wbrk.lfart AS lfart,
  wbrk.process_type AS process_type,
  wbrk.land1tx AS land1tx,
  wbrk.stcegd AS stcegd,
  wbrk.wdtyp AS wdtyp,
  wbrp.werks AS werks,
  wbrp.matnr AS matnr,
  wbrp.matkl AS matkl,
  wbrp.ekkol AS ekkol,
  wbrp.ltsnr AS ltsnr,
  wbrp.wfkme AS wfkme,
  wbrp.gewei AS gewei,
  wbrp.voleh AS voleh,
  wbrp.punei AS punei,
  wbrp.meins AS meins,
  wbrp.customer AS customer,
  wbrp.kolif AS kolif,
  wbrp.supplier AS supplier,
  wbrp.txdat_from_d AS txdat_from,
  wbrp.kondm AS kondm,
  wbrp.provg AS provg,
  wbrp.rebate_grp AS bonus,
  cast ( '11' as wftypv ) AS lftypv,
  wbrp.ref_doc_nr_1 AS ref_doc_nr_1,
  wbrp.ref_type AS ref_type,
  wbrp.prsdt AS prsdt,
  wbrk.waerl AS waerk,
  wbrk.wfdat AS fkdat,
  wbrk.use_case AS use_case,
  wbrk.abart AS abart,
  wbrp.j_1tpbupl_d AS j_1tpbupl
FROM wbrk
INNER JOIN wbrp ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tmzr ON /* join condition not captured in parsed metadata */
;