P_WBHK_PRASP_ValueHelp
P_WBHK_PRASP_ValueHelp is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (wb2_d_prasp, wbhd, wbhi, wbhk) and exposes 31 fields with key fields tkonn, tposn, side, tposn_com, pr_aspect. It has 2 associations to related views.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| wb2_d_prasp | wb2_d_prasp | from |
| wbhd | wbhd | inner |
| wbhi | wbhi | inner |
| wbhk | wbhk | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | knvv | _CustomerSalesArea | $projection.kunnr = _CustomerSalesArea.kunnr and $projection.vkorg = _CustomerSalesArea.vkorg and tvta.vtwku = _CustomerSalesArea.vtweg and tvta.spaku = _CustomerSalesArea.spart |
| [0..1] | P_WLF_CDS_LFA1_BG | _Supplier | $projection.elifn = _Supplier.vendor_account |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PWBHKPRASPVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | 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 | |
| AccessControl.authorizationCheck | #MANDATORY | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | tkonn | wbhk | tkonn | Trading Contract |
| KEY | tposn | wb2_d_prasp | tposn | Item Number |
| KEY | side | wb2_d_prasp | side | Side |
| KEY | tposn_com | wb2_d_prasp | tposn_com | Com. item num. |
| KEY | pr_aspect | wb2_d_prasp | pr_aspect | Pricing Aspect |
| KEY | pr_count | wb2_d_prasp | pr_count | Aspect Counter |
| future | wb2_d_prasp | future | Release future | |
| ext_ref | wb2_d_prasp | ext_ref | External Reference | |
| assgmt_rel | wb2_d_prasp | assgmt_rel | Assignment Relevant | |
| cond_type | wb2_d_prasp | cond_type | Demurrage rate | |
| cond_type2 | wb2_d_prasp | cond_type2 | Conditon Type2 | |
| cond_type3 | wb2_d_prasp | cond_type3 | 3. Condition Type | |
| cond_type4 | wb2_d_prasp | cond_type4 | 4. Condition Type | |
| tkonn_ex | wbhk | tkonn_ex | Ext. Identifier | |
| tctyp | wbhk | tctyp | Contract Type | |
| tksachb | wbhk | tksachb | Pers. Respons. | |
| kunnr | wbhk | kunnr | Stock customer | |
| elifn | wbhd | elifn | Supplier | |
| vkorg | wbhk | vkorg | SD Sales Org. | |
| vtweg | wbhk | vtweg | RefDistCh-Cust/Mat. | |
| spart | wbhk | spart | Source supplier | |
| ekorg | wbhd | ekorg | Purchasing Org. | |
| ekgrp | wbhd | ekgrp | Sub. purchasing grp | |
| ernam | wbhk | ernam | User Name | |
| erdat | wbhk | erdat | Entered On | |
| erzeit | wbhk | erzeit | Time created | |
| aenam | wbhk | aenam | User Name | |
| aedat | wbhk | aedat | Obsolete | |
| aezeit | wbhk | aezeit | Time changed | |
| tccat | wbhk | tccat | TC Category | |
| vendor_begru | _Supplier | vendor_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_WBHK_PRASP_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: PWBHKPRASPVH
CREATE VIEW P_WBHK_PRASP_ValueHelp AS
SELECT
wbhk.tkonn AS tkonn,
wb2_d_prasp.tposn AS tposn,
wb2_d_prasp.side AS side,
wb2_d_prasp.tposn_com AS tposn_com,
wb2_d_prasp.pr_aspect AS pr_aspect,
wb2_d_prasp.pr_count AS pr_count,
wb2_d_prasp.future AS future,
wb2_d_prasp.ext_ref AS ext_ref,
wb2_d_prasp.assgmt_rel AS assgmt_rel,
wb2_d_prasp.cond_type AS cond_type,
wb2_d_prasp.cond_type2 AS cond_type2,
wb2_d_prasp.cond_type3 AS cond_type3,
wb2_d_prasp.cond_type4 AS cond_type4,
wbhk.tkonn_ex AS tkonn_ex,
wbhk.tctyp AS tctyp,
wbhk.tksachb AS tksachb,
wbhk.kunnr AS kunnr,
wbhd.elifn AS elifn,
wbhk.vkorg AS vkorg,
wbhk.vtweg AS vtweg,
wbhk.spart AS spart,
wbhd.ekorg AS ekorg,
wbhd.ekgrp AS ekgrp,
wbhk.ernam AS ernam,
wbhk.erdat AS erdat,
wbhk.erzeit AS erzeit,
wbhk.aenam AS aenam,
wbhk.aedat AS aedat,
wbhk.aezeit AS aezeit,
wbhk.tccat AS tccat,
_Supplier.vendor_begru AS vendor_begru
FROM wb2_d_prasp
INNER JOIN wbhk ON /* join condition not captured in parsed metadata */
INNER JOIN wbhi ON /* join condition not captured in parsed metadata */
INNER JOIN wbhd ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN knvv AS _CustomerSalesArea ON kunnr = _CustomerSalesArea.kunnr AND vkorg = _CustomerSalesArea.vkorg AND tvta.vtwku = _CustomerSalesArea.vtweg AND tvta.spaku = _CustomerSalesArea.spart -- association [0..1]
LEFT OUTER JOIN P_WLF_CDS_LFA1_BG AS _Supplier ON elifn = _Supplier.vendor_account -- 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