P_KEKO
P_KEKO is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (keko) and exposes 73 fields with key fields bzobj, kalnr, kalka, kadky, tvers.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| keko | keko | from |
Annotations (3)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
Fields (73)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | bzobj | bzobj | Reference Obj. | |
| KEY | kalnr | kalnr | ProdCostEst.No. | |
| KEY | kalka | kalka | Costing Type | |
| KEY | kadky | kadky | Costing Date | |
| KEY | tvers | tvers | Costing Version | |
| KEY | bwvar | bwvar | Valuation Variant | |
| KEY | kkzma | kkzma | Additive Costs | |
| matnr | matnr | Vehicle Model | ||
| werks | werks | Receiving Plant | ||
| bwkey | bwkey | Valuation Area | ||
| bwtar | bwtar | Valuation Type | ||
| kokrs | kokrs | Org. Value | ||
| kadat | kadat | Cstg Date From | ||
| bidat | bidat | Costing Date To | ||
| bwdat | bwdat | Valuation Date | ||
| aldat | aldat | Qty Struc. Date | ||
| verid | verid | Version ID | ||
| stnum | BOM | |||
| stlan | stlan | Usage | ||
| stalt | stalt | Alternative | ||
| plnnr | plnnr | Task List Group | ||
| plnty | plnty | Task List Type | ||
| plnal | plnal | Referenced BOO Variant | ||
| kzroh | kzroh | Material Comp. | ||
| loekz | loekz | Status | ||
| losgr | losgr | Cstg Lot Size | ||
| meins | meins | Valuation Unit | ||
| erfnm | erfnm | Created By | ||
| erfma | erfma | Created By | ||
| cpudt | cpudt | Imported On | ||
| feh_sta | feh_sta | Costing Status | ||
| maxmsg | maxmsg | Message Type | ||
| freig | freig | Released | ||
| mkalk | mkalk | Mixed Costing | ||
| baltkz | baltkz | Cost Est for ProcAlt | ||
| kalnr_ba | kalnr_ba | Procurement Alt. | ||
| btyp | btyp | Process Cat. | ||
| misch_verh | misch_verh | Mixing Ratio | ||
| bwvar_ba | bwvar_ba | ValVar of ProcAlt | ||
| sobsl | sobsl | SpecProcuremKey | ||
| sobes | sobes | Spec. procuremt | ||
| sowrk | sowrk | SpclPrcmntPlant | ||
| kalsm | kalsm | Search Proced. | ||
| aufza | aufza | Overhead Type | ||
| bwsmr | bwsmr | Material Vltn | ||
| substrat | substrat | Substr.InfoRec. | ||
| klvar | klvar | Costing Variant | ||
| rldnr | rldnr | Ledger (Compat.) | ||
| kosgr | kosgr | Overhead Group | ||
| zschl | zschl | Overhead key | ||
| poper | poper | Posting periods | ||
| bdatj | bdatj | Year | ||
| cmf_nr | cmf_nr | Number | ||
| vormdat | vormdat | Marked On | ||
| vormusr | vormusr | Marked By | ||
| freidat | freidat | Released On | ||
| freiusr | freiusr | Released By | ||
| uebid | uebid | Transfer Control | ||
| disst | disst | Low-Level Code | ||
| kalst | kalst | Costing Level | ||
| elehk | elehk | Reserve | ||
| elehkns | elehkns | Cost Comp. Str. | ||
| gsber | gsber | Business Area | ||
| prctr | prctr | Profit Centers | ||
| fwaer_kpf | fwaer_kpf | Object Currency | ||
| hwaer | hwaer | Local Currency | ||
| kurst | kurst | Fix.rate type (EMU) | ||
| kalaid | kalaid | Costing Run | ||
| kaladat | kaladat | Cstg Run Date | ||
| type | type | Worklist Type | ||
| erzka | erzka | Product Costing | ||
| vbeln | vbeln | SD Sched. Agmt | ||
| posnr | posnr | WBS Element |
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_KEKO.
-- 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.
CREATE VIEW P_KEKO AS
SELECT
bzobj,
kalnr,
kalka,
kadky,
tvers,
bwvar,
kkzma,
matnr,
werks,
bwkey,
bwtar,
kokrs,
kadat,
bidat,
bwdat,
aldat,
verid,
cast(stnum as ck_stnum preserving type ) AS stnum,
stlan,
stalt,
plnnr,
plnty,
plnal,
kzroh,
loekz,
losgr,
meins,
erfnm,
erfma,
cpudt,
feh_sta,
maxmsg,
freig,
mkalk,
baltkz,
kalnr_ba,
btyp,
misch_verh,
bwvar_ba,
sobsl,
sobes,
sowrk,
kalsm,
aufza,
bwsmr,
substrat,
klvar,
rldnr,
kosgr,
zschl,
poper,
bdatj,
cmf_nr,
vormdat,
vormusr,
freidat,
freiusr,
uebid,
disst,
kalst,
elehk,
elehkns,
gsber,
prctr,
fwaer_kpf,
hwaer,
kurst,
kalaid,
kaladat,
type,
erzka,
vbeln,
posnr
FROM keko
;
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