P_WBRK_Begru_Values
P_WBRK_Begru_Values is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (P_SettlmtMgmtDoc) and exposes 17 fields with key field wbeln. It has 13 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_SettlmtMgmtDoc | P_SettlmtMgmtDoc | from |
Associations (13)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_WLF_CDS_LFA1_BG | _InvoicingParty | $projection.lifre = _InvoicingParty.vendor_account |
| [0..1] | P_WLF_CDS_LFA1_BG | _PayeeParty | $projection.lnrzb = _PayeeParty.vendor_account |
| [0..1] | P_WLF_CDS_LFA1_BG | _AltvInvoicingParty | $projection.lifnr_fi = _AltvInvoicingParty.vendor_account |
| [0..1] | P_WLF_CDS_KNA1_BG | _BillToParty | $projection.kunre = _BillToParty.customer_account |
| [0..1] | P_WLF_CDS_KNA1_BG | _PayerParty | $projection.kunrg = _PayerParty.customer_account |
| [0..1] | P_WLF_CDS_LFB1_BG | _InvoicingPartyCompany | $projection.lifre = _InvoicingPartyCompany.vendor_account and $projection.bukrs = _InvoicingPartyCompany.company_code |
| [0..1] | P_WLF_CDS_LFB1_BG | _PayeePartyCompany | $projection.lnrzb = _PayeePartyCompany.vendor_account and $projection.bukrs = _PayeePartyCompany.company_code |
| [0..1] | P_WLF_CDS_LFB1_BG | _AltvInvoicingPartyCompany | $projection.lifnr_fi = _AltvInvoicingPartyCompany.vendor_account and $projection.bukrs = _AltvInvoicingPartyCompany.company_code |
| [0..1] | P_WLF_CDS_KNB1_BG | _BillToPartyCompany | $projection.kunre = _BillToPartyCompany.customer_account and $projection.bukrs = _BillToPartyCompany.company_code |
| [0..1] | P_WLF_CDS_KNB1_BG | _PayerPartyCompany | $projection.kunrg = _PayerPartyCompany.customer_account and $projection.bukrs = _PayerPartyCompany.company_code |
| [0..1] | P_WLF_CDS_KNB1_BG | _BillToPartyCompany_deb | $projection.kunre = _BillToPartyCompany_deb.customer_account and $projection.bukrs_deb = _BillToPartyCompany_deb.company_code |
| [0..1] | P_WLF_CDS_KNB1_BG | _PayerPartyCompany_deb | $projection.kunrg = _PayerPartyCompany_deb.customer_account and $projection.bukrs_deb = _PayerPartyCompany_deb.company_code |
| [0..1] | P_WLF_CDS_PERNR_BEGRU | _PernrBegru | $projection.pernr = _PernrBegru.Pernr |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PWBRKBEGRUVALS | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AbapCatalog.preserveKey | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | wbeln | SettlmtMgmtDoc | Document Number | |
| vkorg | SalesOrganization | Sales Organization | ||
| vtweg | DistributionChannel | RefDistCh-Cust/Mat. | ||
| spart | Division | Internal Division ID | ||
| ekorg | PurchasingOrganization | Purchasing Organization | ||
| ekgrp | PurchasingGroup | Purchasing Group | ||
| lifre | InvoicingParty | Supplier | ||
| kunre | BillToParty | Inv. Recipient | ||
| lnrzb | PayeeParty | Payee | ||
| kunrg | PayerParty | Payer | ||
| lifnr_fi | AlternativeInvoicingParty | Alternative Supplier | ||
| bukrs | CompanyCode | Receiver Company Code | ||
| bukrs_deb | IntercompanyCompanyCode | |||
| lfart | SettlmtDocType | Settlement Document Type | ||
| pernr | PersonWorkAgreement | Personnel No. | ||
| pers_kostl | PersonnelCostCenter | Worker Cost Center | ||
| settl_party | SettlmtPartnerCat | Settlmt Part Cat |
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_WBRK_Begru_Values.
-- 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: PWBRKBEGRUVALS
CREATE VIEW P_WBRK_Begru_Values AS
SELECT
SettlmtMgmtDoc AS wbeln,
SalesOrganization AS vkorg,
DistributionChannel AS vtweg,
Division AS spart,
PurchasingOrganization AS ekorg,
PurchasingGroup AS ekgrp,
InvoicingParty AS lifre,
BillToParty AS kunre,
PayeeParty AS lnrzb,
PayerParty AS kunrg,
AlternativeInvoicingParty AS lifnr_fi,
CompanyCode AS bukrs,
IntercompanyCompanyCode AS bukrs_deb,
SettlmtDocType AS lfart,
PersonWorkAgreement AS pernr,
PersonnelCostCenter AS pers_kostl,
SettlmtPartnerCat AS settl_party
FROM P_SettlmtMgmtDoc
LEFT OUTER JOIN P_WLF_CDS_LFA1_BG AS _InvoicingParty ON lifre = _InvoicingParty.vendor_account -- association [0..1]
LEFT OUTER JOIN P_WLF_CDS_LFA1_BG AS _PayeeParty ON lnrzb = _PayeeParty.vendor_account -- association [0..1]
LEFT OUTER JOIN P_WLF_CDS_LFA1_BG AS _AltvInvoicingParty ON lifnr_fi = _AltvInvoicingParty.vendor_account -- association [0..1]
LEFT OUTER JOIN P_WLF_CDS_KNA1_BG AS _BillToParty ON kunre = _BillToParty.customer_account -- association [0..1]
LEFT OUTER JOIN P_WLF_CDS_KNA1_BG AS _PayerParty ON kunrg = _PayerParty.customer_account -- association [0..1]
LEFT OUTER JOIN P_WLF_CDS_LFB1_BG AS _InvoicingPartyCompany ON lifre = _InvoicingPartyCompany.vendor_account AND bukrs = _InvoicingPartyCompany.company_code -- association [0..1]
LEFT OUTER JOIN P_WLF_CDS_LFB1_BG AS _PayeePartyCompany ON lnrzb = _PayeePartyCompany.vendor_account AND bukrs = _PayeePartyCompany.company_code -- association [0..1]
LEFT OUTER JOIN P_WLF_CDS_LFB1_BG AS _AltvInvoicingPartyCompany ON lifnr_fi = _AltvInvoicingPartyCompany.vendor_account AND bukrs = _AltvInvoicingPartyCompany.company_code -- association [0..1]
LEFT OUTER JOIN P_WLF_CDS_KNB1_BG AS _BillToPartyCompany ON kunre = _BillToPartyCompany.customer_account AND bukrs = _BillToPartyCompany.company_code -- association [0..1]
LEFT OUTER JOIN P_WLF_CDS_KNB1_BG AS _PayerPartyCompany ON kunrg = _PayerPartyCompany.customer_account AND bukrs = _PayerPartyCompany.company_code -- association [0..1]
LEFT OUTER JOIN P_WLF_CDS_KNB1_BG AS _BillToPartyCompany_deb ON kunre = _BillToPartyCompany_deb.customer_account AND bukrs_deb = _BillToPartyCompany_deb.company_code -- association [0..1]
LEFT OUTER JOIN P_WLF_CDS_KNB1_BG AS _PayerPartyCompany_deb ON kunrg = _PayerPartyCompany_deb.customer_account AND bukrs_deb = _PayerPartyCompany_deb.company_code -- association [0..1]
LEFT OUTER JOIN P_WLF_CDS_PERNR_BEGRU AS _PernrBegru ON pernr = _PernrBegru.Pernr -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA