fsh_ddl_tpo_1
TPO Level 1
fsh_ddl_tpo_1 is a CDS View that provides data about "TPO Level 1" in SAP S/4HANA. It reads from 3 data sources (eket, ekko, ekpo) and exposes 38 fields. Part of development package FSH_PP_MD04.
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | V_FSH_TPO_1 | 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 | |
| EndUserText.label | TPO Level 1 | view |
Fields (38)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| matnr | ekpo | matnr | Vehicle Model | |
| werks | ekpo | werks | Receiving Plant | |
| berid | ekpo | berid | Single-Character Flag | |
| sgt_scat | ekpo | sgt_scat | Stock Segment | |
| umrez | ekpo | umrez | Numerator | |
| umren | ekpo | umren | Denominator | |
| eglkz | ekpo | eglkz | Final Delivery | |
| pstyp | ekpo | pstyp | Item Category | |
| retpo | ekpo | retpo | Returns Item | |
| lgort | ekpo | lgort | Sublocation | |
| delnr | ekpo | ebeln | Source PurchDoc | |
| delps | ||||
| knttp | ||||
| kzvbr | ||||
| sobkz | ekpo | sobkz | Special Stock | |
| kzbws | ||||
| statu | ekpo | statu | Vehicle Status | |
| wepos | ekpo | wepos | Goods Receipt | |
| mdbs_statu | ekpo | statu | Vehicle Status | |
| mdbs_wepos | ekpo | wepos | Goods Receipt | |
| mdbs_emlif | ekpo | emlif | Supplier | |
| mdbs_lblkz | ekpo | lblkz | SC Supplier | |
| fixkz | eket | fixkz | Fixing Ind. | |
| mdbs_bstme | ekpo | meins | Valuation Unit | |
| mng01 | eket | menge | WarrCountValue | |
| auftm | eket | menge | WarrCountValue | |
| etmen | eket | menge | WarrCountValue | |
| glmng | eket | glmng | Qty Delivered | |
| dat01 | eket | eindt | Initial Entry | |
| bedat | eket | bedat | Start date | |
| delet | eket | etenr | Schedule Line | |
| mdbs_no_disp | eket | nodisp | Res./Purc. req. | |
| wrk02 | ||||
| lifnr | ||||
| retpothenBEelseRPendasdelkz | ||||
| fls_rsto | fls_rsto | Enh. Store Ret. | ||
| mdbs_ameng | ameng | Replenishmt qty | ||
| mdbs_fixmg | fixmg | Planned qty |
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 fsh_ddl_tpo_1.
-- 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_FSH_TPO_1
CREATE VIEW fsh_ddl_tpo_1 AS
SELECT
ekpo.matnr AS matnr,
ekpo.werks AS werks,
ekpo.berid AS berid,
ekpo.sgt_scat AS sgt_scat,
ekpo.umrez AS umrez,
ekpo.umren AS umren,
ekpo.eglkz AS eglkz,
ekpo.pstyp AS pstyp,
ekpo.retpo AS retpo,
ekpo.lgort AS lgort,
ekpo.ebeln AS delnr,
cast(rpad(ekpo.ebelp,6,' ') as pph_delps preserving type) AS delps,
case when ekpo.sobkz = '' then '' else knttp end AS knttp,
case when ekpo.sobkz = '' then '' else kzvbr end AS kzvbr,
ekpo.sobkz AS sobkz,
case when ekpo.sobkz = '' then '' else kzbws end AS kzbws,
ekpo.statu AS statu,
ekpo.wepos AS wepos,
ekpo.statu AS mdbs_statu,
ekpo.wepos AS mdbs_wepos,
ekpo.emlif AS mdbs_emlif,
ekpo.lblkz AS mdbs_lblkz,
eket.fixkz AS fixkz,
ekpo.meins AS mdbs_bstme,
eket.menge AS mng01,
eket.menge AS auftm,
eket.menge AS etmen,
eket.glmng AS glmng,
eket.eindt AS dat01,
eket.bedat AS bedat,
eket.etenr AS delet,
eket.nodisp AS mdbs_no_disp,
coalesce(ekko.reswk,'') AS wrk02,
coalesce(ekko.lifnr,'') AS lifnr,
case when ekpo.retpo = '' then 'BE' else 'RP' end as delkz AS retpothenBEelseRPendasdelkz,
fls_rsto,
ameng AS mdbs_ameng,
fixmg AS mdbs_fixmg
FROM ekpo
INNER JOIN eket ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ekko 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