PPH_DDL_AFPO_PW_P
PPH_DDL_AFPO_PW_P is a CDS View in SAP S/4HANA. It reads from 2 data sources (PPH_DDL_AFPO_PW_B, v_pph_mat_ctrl) and exposes 50 fields.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| PPH_DDL_AFPO_PW_B | m | from |
| v_pph_mat_ctrl | mat | inner |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | V_PPH_AFPO_PW_P | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #AUTOMATED | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (50)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| matnr | PPH_DDL_AFPO_PW_B | matnr | Vehicle Model | |
| werks | PPH_DDL_AFPO_PW_B | werks | Receiving Plant | |
| dat00 | dat00 | Planned dates | ||
| sort1 | sort1 | Sort string 1 | ||
| sort2 | sort2 | Sort string 2 | ||
| delkz | delkz | MRP Elmnt Ind. | ||
| plumi | plumi | Plus/minus | ||
| mng01 | mng01 | Rec./reqd qty | ||
| mng02 | mng02 | Scrap | ||
| dat01 | dat01 | Finish date | ||
| webaz | PPH_DDL_AFPO_PW_B | webaz | GR Proc. Time | |
| baart | baart | P.O./Order type | ||
| beskz | PPH_DDL_AFPO_PW_B | beskz | Procuremt Type | |
| sobes | PPH_DDL_AFPO_PW_B | sobes | Spec. procuremt | |
| wrk01 | wrk01 | Planning Plant | ||
| wrk02 | PPH_DDL_AFPO_PW_B | wrk02 | Plant | |
| lgort | PPH_DDL_AFPO_PW_B | lgort | Sublocation | |
| charg | charg | Chargeable Proc. | ||
| del12 | del12 | MRP element number | ||
| delps | delps | Order Item | ||
| sernr | sernr | Serial Number | ||
| techs | techs | Tech st from | ||
| verid | verid | Version ID | ||
| knttp | knttp | AcctAssgnCat:CC | ||
| kzvbr | kzvbr | Consumption | ||
| sobkz | sobkz | Special Stock | ||
| kdauf | kdauf | SD Document | ||
| kdpos | kdpos | Sales Ord. Item | ||
| pspel | pspel | WBS Element | ||
| cuobj | PPH_DDL_AFPO_PW_B | cuobj | Object Number | |
| aufnr | aufnr | SettlementOrder | ||
| verto | verto | Distribution | ||
| qunum | qunum | Quota arr. | ||
| qupos | qupos | Quota arr. item | ||
| auftm | auftm | |||
| arsnr | arsnr | Settle.reser.No | ||
| arsps | arsps | Settle.item no. | ||
| mdfst | mdfst | Status | ||
| mdmng | mdmng | Quantity | ||
| tpmng | tpmng | |||
| sgt_scat | sgt_scat | Stock Segment | ||
| afpo_wepos | afpo_wepos | |||
| afpo_krsnr | afpo_krsnr | |||
| afpo_krsps | afpo_krsps | |||
| knttp_db | knttp_db | |||
| kzvbr_db | kzvbr_db | |||
| kzbws_db | kzbws_db | |||
| berid | PPH_DDL_AFPO_PW_B | berid | Single-Character Flag | |
| mat_fabkl | v_pph_mat_ctrl | fabkl | Factory Calend. | |
| arsnr0000000000thenelseXendasvrfkz |
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 PPH_DDL_AFPO_PW_P.
-- 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: V_PPH_AFPO_PW_P
CREATE VIEW PPH_DDL_AFPO_PW_P AS
SELECT
m.matnr AS matnr,
m.werks AS werks,
dat00,
sort1,
sort2,
delkz,
plumi,
mng01,
mng02,
dat01,
m.webaz AS webaz,
baart,
m.beskz AS beskz,
m.sobes AS sobes,
wrk01,
m.wrk02 AS wrk02,
m.lgort AS lgort,
charg,
del12,
delps,
sernr,
techs,
verid,
knttp,
kzvbr,
sobkz,
kdauf,
kdpos,
pspel,
m.cuobj AS cuobj,
aufnr,
verto,
qunum,
qupos,
auftm,
arsnr,
arsps,
mdfst,
mdmng,
tpmng,
sgt_scat,
afpo_wepos,
afpo_krsnr,
afpo_krsps,
knttp_db,
kzvbr_db,
kzbws_db,
m.berid AS berid,
mat.fabkl AS mat_fabkl,
case when m.wrk01 <> mat.werks or m.knttp_db <> '' and (m.sobkz = '' or m.sobkz is null) and m.arsnr = '0000000000' and mat.wertu <> '' or m.afpo_wepos <> 'X' and m.arsnr = '0000000000' then '' else 'X' end as vrfkz AS arsnr0000000000thenelseXendasvrfkz
FROM PPH_DDL_AFPO_PW_B AS m
INNER JOIN v_pph_mat_ctrl AS mat ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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