P_CKIS
Private View - CKIS
P_CKIS is a Basic CDS View that provides data about "Private View - CKIS" in SAP S/4HANA. It reads from 1 data source (ckis) and exposes 68 fields with key fields ControllingLedger, CostingReferenceObject, CostEstimate, CostingType, CostingDate. Part of development package FINS_PCP_COSTEST.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ckis | c | from |
Annotations (3)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
Fields (68)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ControllingLedger | ckis | lednr | Ledger |
| KEY | CostingReferenceObject | ckis | bzobj | Reference Obj. |
| KEY | CostEstimate | |||
| KEY | CostingType | ckis | kalka | Costing Type |
| KEY | CostingDate | ckis | kadky | Costing Date |
| KEY | CostingVersion | ckis | tvers | Costing Version |
| KEY | ValuationVariant | ckis | bwvar | Valuation Variant |
| KEY | CostIsEnteredManually | ckis | kkzma | Additive Costs |
| KEY | CostingItem | ckis | posnr | WBS Element |
| CostingItemCategory | ckis | typps | Item Category | |
| CostElement | ckis | kstar | Settlement CE | |
| CostOriginGroup | ckis | hrkft | Origin group order | |
| CostComponent | ckis | elemt | Cost Component | |
| AuxiliaryCostComponent | ||||
| CompanyCode | ckis | bukrs | Value | |
| Plant | ckis | werks | Receiving Plant | |
| Product | ||||
| ValuationType | ckis | bwtar | Valuation Type | |
| Creditor | ckis | lifnr | Vendor no. | |
| ControllingAreaCurrency | k | ControllingAreaCurrency | ||
| TotalPriceInInCtrlgAreaCrcy | ||||
| FixedPriceInCtrlgAreaCrcy | ||||
| CompanyCodeCurrency | ||||
| TotalAmountInCoCodeCrcy | ||||
| FixedAmountInCoCodeCrcy | ||||
| TotalPriceInCompanyCodeCrcy | ||||
| FixedPriceInCompanyCodeCrcy | ||||
| BaseUnit | ckis | meeht | Valuation Unit | |
| QuantityInBaseUnit | ckis | menge | WarrCountValue | |
| AssyScrapQuantityInValnQtyUnit | ckis | ausmg | Scrap Quantity | |
| CompScrapQuantityInValnQtyUnit | ckis | ausmgko | Comp. Scrap | |
| CostingPriceUnitQty | ckis | peinh | Unit of measure | |
| CostingPriceQtyUnit | ckis | pmeht | Price Qty Unit | |
| ProdCostEstItmToBaseQtyNmrtr | ckis | umrez | Numerator | |
| ProdCostEstItmToBaseQtyDnmntr | ckis | umren | Denominator | |
| TransferCostEstimate | ||||
| TransferCostingType | ||||
| TransferCostingDate | ||||
| TransferCostingVersion | ||||
| TransferValuationVariant | ||||
| TotalAmountInCtrlgAreaCrcy | ||||
| FixedAmountInCtrlgAreaCrcy | ||||
| CostCtrActivityType | ckis | lstar | Activity Type | |
| ProcmtAltvCostEstimate | ckis | kalnr_ba | Procurement Alt. | |
| CostingObject | ckis | arbid | WorkCtrGp plan. | |
| CostCenter | ||||
| Operation | ||||
| PurchasingInfoRecord | ckis | infnr | Info Record | |
| PurchasingOrganization | ckis | ekorg | Purchasing Org. | |
| PurchasingInfoRecordCategory | ckis | esokz | Infotype | |
| PurchasingDocument | ckis | ebeln | Source PurchDoc | |
| PurchasingDocumentItem | ckis | ebelp | Item pur. doc. | |
| CostEstIsMixedCosting | ckis | mkalk | Mixed Costing | |
| CostgMixingRatioValue | ckis | misch_verh | Mixing Ratio | |
| nlag | ckis | nlag | NSM | |
| CostingValuationStrategy | ||||
| ProductValnPurgInfoRecdStrgy | ckis | substrat | Substr.InfoRec. | |
| BillOfMaterialItemNumber | ||||
| CostingItemIsAssembly | ||||
| IsLotSizeIndependent | ckis | psknz | LotSzIndep.Ind. | |
| ProfitCenter | ||||
| ValuationSegmentation | ckis | segunit | Segmentation Unit | |
| BusinessArea | ckis | gsber | Business Area | |
| WBSElementInternalID | ||||
| LowLevelCode | ckis | disst | Low-Level Code | |
| CostCompSplitIsExisting | ckis | schkz | WS rule | |
| HasError | ckis | fehlkz | ErrInd | |
| ComponentBreakdown | ckis | ucb_id | Breakdown ID |
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_CKIS.
-- 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_CKIS AS
SELECT
c.lednr AS ControllingLedger,
c.bzobj AS CostingReferenceObject,
cast(c.kalnr as fis_kalnr preserving type) AS CostEstimate,
c.kalka AS CostingType,
c.kadky AS CostingDate,
c.tvers AS CostingVersion,
c.bwvar AS ValuationVariant,
c.kkzma AS CostIsEnteredManually,
c.posnr AS CostingItem,
c.typps AS CostingItemCategory,
c.kstar AS CostElement,
c.hrkft AS CostOriginGroup,
c.elemt AS CostComponent,
cast(c.elemtns as ck_elemns preserving type) AS AuxiliaryCostComponent,
c.bukrs AS CompanyCode,
c.werks AS Plant,
cast(c.matnr as productnumber preserving type) AS Product,
c.bwtar AS ValuationType,
c.lifnr AS Creditor,
k.ControllingAreaCurrency AS ControllingAreaCurrency,
cast(c.gpreis as fpc_vdm_totpr_ca preserving type) AS TotalPriceInInCtrlgAreaCrcy,
cast(c.fpreis as fpc_vdm_fxdpr_ca preserving type) AS FixedPriceInCtrlgAreaCrcy,
cast(c.fwaer_kpf as fis_hwaer preserving type) AS CompanyCodeCurrency,
cast(c.wrtfw_kpf as ck_gwbk preserving type) AS TotalAmountInCoCodeCrcy,
cast(c.wrtfw_kfx as ck_fwbk preserving type) AS FixedAmountInCoCodeCrcy,
cast(c.opreis as fpc_vdm_totpr_cc preserving type) AS TotalPriceInCompanyCodeCrcy,
cast(c.opreifx as fpc_vdm_fxdpr_cc preserving type) AS FixedPriceInCompanyCodeCrcy,
c.meeht AS BaseUnit,
c.menge AS QuantityInBaseUnit,
c.ausmg AS AssyScrapQuantityInValnQtyUnit,
c.ausmgko AS CompScrapQuantityInValnQtyUnit,
c.peinh AS CostingPriceUnitQty,
c.pmeht AS CostingPriceQtyUnit,
c.umrez AS ProdCostEstItmToBaseQtyNmrtr,
c.umren AS ProdCostEstItmToBaseQtyDnmntr,
cast(c.ukaln as fpc_transfer_cost_est preserving type) AS TransferCostEstimate,
cast(c.ukalka as fpc_transfer_costing_type preserving type) AS TransferCostingType,
cast(c.ukadky as fpc_transfer_costing_date preserving type) AS TransferCostingDate,
cast(c.utvers as fpc_transfer_costing_version preserving type) AS TransferCostingVersion,
cast(c.ubwvar as fpc_transfer_valuation_variant preserving type) AS TransferValuationVariant,
cast(c.wertn as fpc_vdm_cawaer_total preserving type) AS TotalAmountInCtrlgAreaCrcy,
cast(c.wrtfx as fpc_vdm_cawaer_fixed preserving type) AS FixedAmountInCtrlgAreaCrcy,
c.lstar AS CostCtrActivityType,
c.kalnr_ba AS ProcmtAltvCostEstimate,
c.arbid AS CostingObject,
cast(c.kostl as fis_kostl preserving type) AS CostCenter,
cast(c.vornr as vdm_vornr preserving type) AS Operation,
c.infnr AS PurchasingInfoRecord,
c.ekorg AS PurchasingOrganization,
c.esokz AS PurchasingInfoRecordCategory,
c.ebeln AS PurchasingDocument,
c.ebelp AS PurchasingDocumentItem,
c.mkalk AS CostEstIsMixedCosting,
c.misch_verh AS CostgMixingRatioValue,
c.nlag AS nlag,
cast(c.strat as ck_bwsma preserving type) AS CostingValuationStrategy,
c.substrat AS ProductValnPurgInfoRecdStrgy,
cast(c.sposn as ck_sposn preserving type) AS BillOfMaterialItemNumber,
cast(c.baugr as ck_baukz preserving type) AS CostingItemIsAssembly,
c.psknz AS IsLotSizeIndependent,
cast(c.prctr as fis_prctr preserving type) AS ProfitCenter,
c.segunit AS ValuationSegmentation,
c.gsber AS BusinessArea,
cast(c.pspnr as ps_s4_pspnr preserving type) AS WBSElementInternalID,
c.disst AS LowLevelCode,
c.schkz AS CostCompSplitIsExisting,
c.fehlkz AS HasError,
c.ucb_id AS ComponentBreakdown
FROM ckis AS c
;
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