P_ACCGO_PRASP_DTLS
P_ACCGO_PRASP_DTLS is a Basic CDS View in SAP S/4HANA. It reads from 3 data sources (wb2_d_asgt_dist, wb2_d_assgmt, /accgo/t_cpe_bri) and exposes 22 fields.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| wb2_d_asgt_dist | asgmt_distr | left_outer |
| wb2_d_assgmt | assgmt_data | from |
| /accgo/t_cpe_bri | price_dist | left_outer |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | P_PRASP_DISTR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| type_from | wb2_d_assgmt | type_from | Document Type | |
| item_from | wb2_d_assgmt | item_from | Item Number | |
| side_from | wb2_d_assgmt | side_from | Side From | |
| tkonn | wb2_d_assgmt | tkonn | Trading Contract | |
| tposn | wb2_d_assgmt | tposn | Item Number | |
| side_to | wb2_d_assgmt | side_to | Side To | |
| tposn_com | wb2_d_assgmt | tposn_com | Com. item num. | |
| assgd_quan | wb2_d_assgmt | assgd_quan | CumAssignedQuan | |
| assgd_uom | wb2_d_assgmt | assgd_uom | Assigned UoM | |
| a_guid | wb2_d_assgmt | a_guid | Assignment GUID | |
| pred_a_guid | wb2_d_assgmt | pred_a_guid | PrAssgmtGUID | |
| pred_quan | wb2_d_assgmt | pred_quan | PredAssgdQuan | |
| frozen | wb2_d_assgmt | frozen | Single-Character Flag | |
| cr_name | wb2_d_assgmt | cr_name | Created By | |
| cr_date | wb2_d_assgmt | cr_date | Created On | |
| cr_time | wb2_d_assgmt | cr_time | Time Stamp | |
| ch_name | wb2_d_assgmt | ch_name | Changed By | |
| ch_date | wb2_d_assgmt | ch_date | Changed On | |
| ch_time | wb2_d_assgmt | ch_time | Time of change | |
| cancel_flag | wb2_d_assgmt | cancel_flag | Cancel | |
| _dataaging | wb2_d_assgmt | _dataaging | Data Aging | |
| place_holder | wb2_d_assgmt | place_holder |
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_ACCGO_PRASP_DTLS.
-- 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: P_PRASP_DISTR
CREATE VIEW P_ACCGO_PRASP_DTLS AS
SELECT
assgmt_data.type_from AS type_from,
assgmt_data.item_from AS item_from,
assgmt_data.side_from AS side_from,
assgmt_data.tkonn AS tkonn,
assgmt_data.tposn AS tposn,
assgmt_data.side_to AS side_to,
assgmt_data.tposn_com AS tposn_com,
assgmt_data.assgd_quan AS assgd_quan,
assgmt_data.assgd_uom AS assgd_uom,
assgmt_data.a_guid AS a_guid,
assgmt_data.pred_a_guid AS pred_a_guid,
assgmt_data.pred_quan AS pred_quan,
assgmt_data.frozen AS frozen,
assgmt_data.cr_name AS cr_name,
assgmt_data.cr_date AS cr_date,
assgmt_data.cr_time AS cr_time,
assgmt_data.ch_name AS ch_name,
assgmt_data.ch_date AS ch_date,
assgmt_data.ch_time AS ch_time,
assgmt_data.cancel_flag AS cancel_flag,
assgmt_data._dataaging AS _dataaging,
assgmt_data.place_holder AS place_holder
FROM wb2_d_assgmt AS assgmt_data
LEFT OUTER JOIN wb2_d_asgt_dist AS asgmt_distr ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN /accgo/t_cpe_bri AS price_dist ON /* join condition not captured in parsed metadata */
;
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