P_WBRC_ValueHelp

DDL: P_WBRC_VALUEHELP SQL: PWBRCVH Type: view BASIC Package: WZRE_ADD_ON

Value Help for Complaints in Settlement Management

P_WBRC_ValueHelp is a Basic CDS View that provides data about "Value Help for Complaints in Settlement Management" in SAP S/4HANA. It reads from 1 data source (wbrc) and exposes 8 fields with key field claimnumber. It has 2 associations to related views. Part of development package WZRE_ADD_ON.

Data Sources (1)

SourceAliasJoin Type
wbrc wbrc from

Associations (2)

CardinalityTargetAliasCondition
[0..*] tcwbcrt _ClaimReasonText $projection.claimreason = _ClaimReasonText.claimreason
[0..*] tcwbcst _ClaimStatusText $projection.claimstatus = _ClaimStatusText.claimstatus

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PWBRCVH view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
VDM.private true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #MANDATORY view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY claimnumber wbrc claimnumber Complaint No.
claimreason wbrc claimreason Complaint Reason
claimstatus wbrc claimstatus Complaint Status
wbeln wbrc wbeln Sett. Doc. List
erdat wbrc erdat Entered On
ernam wbrc ernam User Name
text_reason
text_status

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_WBRC_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.
-- SQL view name: PWBRCVH

CREATE VIEW P_WBRC_ValueHelp AS
SELECT
  wbrc.claimnumber AS claimnumber,
  wbrc.claimreason AS claimreason,
  wbrc.claimstatus AS claimstatus,
  wbrc.wbeln AS wbeln,
  wbrc.erdat AS erdat,
  wbrc.ernam AS ernam,
  _ClaimReasonText[1: spras = $session.system_language ].text AS text_reason,
  _ClaimStatusText[1: spras = $session.system_language ].text AS text_status
FROM wbrc
LEFT OUTER JOIN tcwbcrt AS _ClaimReasonText ON claimreason = _ClaimReasonText.claimreason  -- association [0..*]
LEFT OUTER JOIN tcwbcst AS _ClaimStatusText ON claimstatus = _ClaimStatusText.claimstatus  -- association [0..*]
;