P_WBRK_B_2_ACC_ValueHelp

DDL: P_WBRK_B_2_ACC_VALUEHELP Type: view BASIC

P_WBRK_B_2_ACC_ValueHelp is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (P_SettlmtMgmtDoc, P_WBRK_Begru_Values) and exposes 26 fields with key field wbeln.

Data Sources (2)

SourceAliasJoin Type
P_SettlmtMgmtDoc P_SettlmtMgmtDoc from
P_WBRK_Begru_Values P_WBRK_Begru_Values inner

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName PWBRKB2ACCVH view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY 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
VDM.viewType #BASIC view
VDM.private true view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions false view

Fields (26)

KeyFieldSource TableSource FieldDescription
KEY wbeln P_SettlmtMgmtDoc SettlmtMgmtDoc Document Number
wrart
lnrzb P_SettlmtMgmtDoc PayeeParty Payee
kunrg P_SettlmtMgmtDoc PayerParty Payer
ekorg P_SettlmtMgmtDoc PurchasingOrganization Purchasing Organization
ekgrp P_SettlmtMgmtDoc PurchasingGroup Purchasing Group
vkorg P_SettlmtMgmtDoc SalesOrganization Sales Organization
vtweg P_SettlmtMgmtDoc DistributionChannel RefDistCh-Cust/Mat.
spart P_SettlmtMgmtDoc Division Internal Division ID
wfdat P_SettlmtMgmtDoc PostingDate Posting Date for GR
bukrs
erdat
ernam
lifre P_SettlmtMgmtDoc InvoicingParty Supplier
xblnr P_SettlmtMgmtDoc DocumentReferenceID Reference
kunre P_SettlmtMgmtDoc BillToParty Inv. Recipient
zuonr P_SettlmtMgmtDoc AssignmentReference Assignment Reference
bldat P_SettlmtMgmtDoc DocumentDate Journal Entry Date
lfart
rfbsk P_SettlmtMgmtDoc SettlmtMgmtAcctgTransfSts Posting Status
process_type P_SettlmtMgmtDoc SettlmtBusProcVar Proc. Category
bukrs_deb P_SettlmtMgmtDoc IntercompanyCompanyCode
lifre_begru P_WBRK_Begru_Values lifre_begru
lnrzb_begru P_WBRK_Begru_Values lnrzb_begru
kunre_begru P_WBRK_Begru_Values kunre_begru
kunrg_begru P_WBRK_Begru_Values kunrg_begru

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_B_2_ACC_ValueHelp.
-- 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.

CREATE VIEW P_WBRK_B_2_ACC_ValueHelp AS
SELECT
  P_SettlmtMgmtDoc.SettlmtMgmtDoc AS wbeln,
  cast( P_SettlmtMgmtDoc.SettlmtProcessType as wrart preserving type ) AS wrart,
  P_SettlmtMgmtDoc.PayeeParty AS lnrzb,
  P_SettlmtMgmtDoc.PayerParty AS kunrg,
  P_SettlmtMgmtDoc.PurchasingOrganization AS ekorg,
  P_SettlmtMgmtDoc.PurchasingGroup AS ekgrp,
  P_SettlmtMgmtDoc.SalesOrganization AS vkorg,
  P_SettlmtMgmtDoc.DistributionChannel AS vtweg,
  P_SettlmtMgmtDoc.Division AS spart,
  P_SettlmtMgmtDoc.PostingDate AS wfdat,
  cast( P_SettlmtMgmtDoc.CompanyCode as bukrs preserving type ) AS bukrs,
  cast( P_SettlmtMgmtDoc.CreationDate as erdat preserving type ) AS erdat,
  cast( P_SettlmtMgmtDoc.CreatedByUser as ernam preserving type ) AS ernam,
  P_SettlmtMgmtDoc.InvoicingParty AS lifre,
  P_SettlmtMgmtDoc.DocumentReferenceID AS xblnr,
  P_SettlmtMgmtDoc.BillToParty AS kunre,
  P_SettlmtMgmtDoc.AssignmentReference AS zuonr,
  P_SettlmtMgmtDoc.DocumentDate AS bldat,
  cast( P_SettlmtMgmtDoc.SettlmtDocType as wfart preserving type ) AS lfart,
  P_SettlmtMgmtDoc.SettlmtMgmtAcctgTransfSts AS rfbsk,
  P_SettlmtMgmtDoc.SettlmtBusProcVar AS process_type,
  P_SettlmtMgmtDoc.IntercompanyCompanyCode AS bukrs_deb,
  P_WBRK_Begru_Values.lifre_begru AS lifre_begru,
  P_WBRK_Begru_Values.lnrzb_begru AS lnrzb_begru,
  P_WBRK_Begru_Values.kunre_begru AS kunre_begru,
  P_WBRK_Begru_Values.kunrg_begru AS kunrg_begru
FROM P_SettlmtMgmtDoc
INNER JOIN P_WBRK_Begru_Values ON /* join condition not captured in parsed metadata */
;