P_GLE_ADB_KFC_CAL
P_GLE_ADB_KFC_CAL is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (gle_adb_kfc_calculation) and exposes 99 fields.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| gle_adb_kfc_calculation | gle_adb_kfc_calculation | from |
Parameters (6)
| Name | Type | Default |
|---|---|---|
| P_FiscalYearStartDate | gle_dte_adb_keydate | |
| P_FiscalHalfYearStartDate | gle_dte_adb_keydate | |
| P_FiscalQuarterStartDate | gle_dte_adb_keydate | |
| P_FiscalMonthStartDate | gle_dte_adb_keydate | |
| P_ReportingDate | gle_dte_adb_keydate | |
| P_ArchiveDataIsIncluded | abap_boolean |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PGADBKFCALC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (99)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| SourceLedger | rldnr | Ledger (Compat.) | ||
| Ledger | rldnr | Ledger (Compat.) | ||
| CompanyCode | rbukrs | Company Code | ||
| PartnerCompany | rassc | Trading Partner | ||
| PostingDate | budat | Posting Date | ||
| BalanceTransactionCurrency | rtcur | Currency | ||
| BaseUnit | runit | Unit/Area | ||
| FiscalYear | gjahr | Settlement Year | ||
| AccountingDocument | belnr | SD Document | ||
| LedgerGLLineItem | docln | Matching Document Line Item | ||
| PartnerBusinessArea | sbusa | Trdg Part.BA | ||
| FinancialTransactionType | rmvct | Transact. Type | ||
| FunctionalArea | rfarea | R FuncArea | ||
| BusinessArea | rbusa | Business Area | ||
| CostCenter | rcntr | Cost Center | ||
| GLAccount | racct | GL Account From | ||
| ProfitCenter | prctr | Profit Centers | ||
| AccountingDocumentType | blart | Rep. rec. doc. type | ||
| M2DAvgBal_T | M2DAvgBal_T | MTD TranCrcy | ||
| Q2DAvgBal_T | Q2DAvgBal_T | QTD TranCrcy | ||
| HY2DAvgBal_T | HY2DAvgBal_T | |||
| Y2DAvgBal_T | Y2DAvgBal_T | YTD TranCrcy | ||
| M2DAvgBal_H | M2DAvgBal_H | MTD CC Crcy | ||
| Q2DAvgBal_H | Q2DAvgBal_H | QTD CC Crcy | ||
| HY2DAvgBal_H | HY2DAvgBal_H | |||
| Y2DAvgBal_H | Y2DAvgBal_H | YTD CC Crcy | ||
| M2DAvgBal_K | M2DAvgBal_K | MTD GloCrcy | ||
| Q2DAvgBal_K | Q2DAvgBal_K | QTD GloCrcy | ||
| HY2DAvgBal_K | HY2DAvgBal_K | |||
| Y2DAvgBal_K | Y2DAvgBal_K | YTD GloCrcy | ||
| M2DAvgBal_O | M2DAvgBal_O | MTD FrDefCrcy1 | ||
| Q2DAvgBal_O | Q2DAvgBal_O | QTD FrDefCrcy1 | ||
| HY2DAvgBal_O | HY2DAvgBal_O | |||
| Y2DAvgBal_O | Y2DAvgBal_O | YTD FrDefCrcy1 | ||
| M2DAvgBal_V | M2DAvgBal_V | MTD FrDefCrcy2 | ||
| Q2DAvgBal_V | Q2DAvgBal_V | QTD FrDefCrcy2 | ||
| HY2DAvgBal_V | HY2DAvgBal_V | |||
| Y2DAvgBal_V | Y2DAvgBal_V | YTD FrDefCrcy2 | ||
| M2DAvgBal_B | M2DAvgBal_B | MTD FrDefCrcy3 | ||
| Q2DAvgBal_B | Q2DAvgBal_B | QTD FrDefCrcy3 | ||
| HY2DAvgBal_B | HY2DAvgBal_B | |||
| Y2DAvgBal_B | Y2DAvgBal_B | YTD FrDefCrcy3 | ||
| M2DAvgBal_C | M2DAvgBal_C | MTD FrDefCrcy4 | ||
| Q2DAvgBal_C | Q2DAvgBal_C | QTD FrDefCrcy4 | ||
| HY2DAvgBal_C | HY2DAvgBal_C | |||
| Y2DAvgBal_C | Y2DAvgBal_C | YTD FrDefCrcy4 | ||
| M2DAvgBal_D | M2DAvgBal_D | MTD FrDefCrcy5 | ||
| Q2DAvgBal_D | Q2DAvgBal_D | QTD FrDefCrcy5 | ||
| HY2DAvgBal_D | HY2DAvgBal_D | |||
| Y2DAvgBal_D | Y2DAvgBal_D | YTD FrDefCrcy5 | ||
| M2DAvgBal_E | M2DAvgBal_E | MTD FrDefCrcy6 | ||
| Q2DAvgBal_E | Q2DAvgBal_E | QTD FrDefCrcy6 | ||
| Y2DAvgBal_E | Y2DAvgBal_E | YTD FrDefCrcy6 | ||
| HY2DAvgBal_E | HY2DAvgBal_E | |||
| M2DAvgBal_F | M2DAvgBal_F | MTD FrDefCrcy7 | ||
| Q2DAvgBal_F | Q2DAvgBal_F | QTD FrDefCrcy7 | ||
| HY2DAvgBal_F | HY2DAvgBal_F | |||
| Y2DAvgBal_F | Y2DAvgBal_F | YTD FrDefCrcy7 | ||
| M2DAvgBal_G | M2DAvgBal_G | MTD FrDefCrcy8 | ||
| Q2DAvgBal_G | Q2DAvgBal_G | QTD FrDefCrcy8 | ||
| HY2DAvgBal_G | HY2DAvgBal_G | |||
| Y2DAvgBal_G | Y2DAvgBal_G | YTD FrDefCrcy8 | ||
| ReferenceDocument | awref | Reference Doc. | ||
| AccountingDocCreatedByUser | usnam | User Name | ||
| ReferenceDocumentType | awtyp | Reference Document Type | ||
| ReferenceDocumentContext | aworg | Refer. Org.Unit | ||
| LogicalSystem | awsys | Logical System | ||
| CreationDateTime | timestamp | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | ||
| Segment | segment | Segment number | ||
| AccountingDocumentCategory | bstat | Document Status | ||
| FiscalPeriod | poper | Posting periods | ||
| AssignmentReference | zuonr | Finance Project | ||
| ControllingArea | kokrs | Org. Value | ||
| PartnerCostCenter | scntr | Sender Cost Ctr | ||
| PartnerProfitCenter | pprctr | Partner PC | ||
| PartnerFunctionalArea | sfarea | Sender FnArea | ||
| PartnerSegment | psegment | Partner Segment | ||
| OrderID | aufnr | SettlementOrder | ||
| Customer | kunnr | Stock customer | ||
| Supplier | lifnr | Vendor no. | ||
| Material | matnr | Vehicle Model | ||
| MaterialGroup | matkl_mm | Material Group | ||
| Plant | werks | Receiving Plant | ||
| WBSElementExternalID | ps_posid | WBS Element | ||
| Project | ps_pspid | Project def. | ||
| BillingDocumentType | fkart | Ship. cost type | ||
| SalesOrganization | vkorg | SD Sales Org. | ||
| DistributionChannel | vtweg | RefDistCh-Cust/Mat. | ||
| OrganizationDivision | spart | Source supplier | ||
| SoldProduct | matnr_copa | Product Sold | ||
| SoldProductGroup | matkl | Product Sold Group | ||
| CustomerGroup | kdgrp | Customer group | ||
| CustomerSupplierCountry | land1 | Trip Ctry/Reg | ||
| CustomerSupplierIndustry | brsch | Industry | ||
| SalesDistrict | bzirk | Sales District | ||
| BillToParty | kunre | Bill-to Party | ||
| ShipToParty | kunwe | Ship-to Party | ||
| CustomerSupplierCorporateGroup | konzs | Group | ||
| WBSElementInternalID | ps_psp_pnr | 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_GLE_ADB_KFC_CAL.
-- 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: PGADBKFCALC
-- Parameters: P_FiscalYearStartDate : gle_dte_adb_keydate, P_FiscalHalfYearStartDate : gle_dte_adb_keydate, P_FiscalQuarterStartDate : gle_dte_adb_keydate, P_FiscalMonthStartDate : gle_dte_adb_keydate, P_ReportingDate : gle_dte_adb_keydate, P_ArchiveDataIsIncluded : abap_boolean
CREATE VIEW P_GLE_ADB_KFC_CAL AS
SELECT
rldnr AS SourceLedger,
rldnr AS Ledger,
rbukrs AS CompanyCode,
rassc AS PartnerCompany,
budat AS PostingDate,
rtcur AS BalanceTransactionCurrency,
runit AS BaseUnit,
gjahr AS FiscalYear,
belnr AS AccountingDocument,
docln AS LedgerGLLineItem,
sbusa AS PartnerBusinessArea,
rmvct AS FinancialTransactionType,
rfarea AS FunctionalArea,
rbusa AS BusinessArea,
rcntr AS CostCenter,
racct AS GLAccount,
prctr AS ProfitCenter,
blart AS AccountingDocumentType,
M2DAvgBal_T,
Q2DAvgBal_T,
HY2DAvgBal_T,
Y2DAvgBal_T,
M2DAvgBal_H,
Q2DAvgBal_H,
HY2DAvgBal_H,
Y2DAvgBal_H,
M2DAvgBal_K,
Q2DAvgBal_K,
HY2DAvgBal_K,
Y2DAvgBal_K,
M2DAvgBal_O,
Q2DAvgBal_O,
HY2DAvgBal_O,
Y2DAvgBal_O,
M2DAvgBal_V,
Q2DAvgBal_V,
HY2DAvgBal_V,
Y2DAvgBal_V,
M2DAvgBal_B,
Q2DAvgBal_B,
HY2DAvgBal_B,
Y2DAvgBal_B,
M2DAvgBal_C,
Q2DAvgBal_C,
HY2DAvgBal_C,
Y2DAvgBal_C,
M2DAvgBal_D,
Q2DAvgBal_D,
HY2DAvgBal_D,
Y2DAvgBal_D,
M2DAvgBal_E,
Q2DAvgBal_E,
Y2DAvgBal_E,
HY2DAvgBal_E,
M2DAvgBal_F,
Q2DAvgBal_F,
HY2DAvgBal_F,
Y2DAvgBal_F,
M2DAvgBal_G,
Q2DAvgBal_G,
HY2DAvgBal_G,
Y2DAvgBal_G,
awref AS ReferenceDocument,
usnam AS AccountingDocCreatedByUser,
awtyp AS ReferenceDocumentType,
aworg AS ReferenceDocumentContext,
awsys AS LogicalSystem,
timestamp AS CreationDateTime,
Segment,
bstat AS AccountingDocumentCategory,
poper AS FiscalPeriod,
zuonr AS AssignmentReference,
kokrs AS ControllingArea,
scntr AS PartnerCostCenter,
pprctr AS PartnerProfitCenter,
sfarea AS PartnerFunctionalArea,
psegment AS PartnerSegment,
aufnr AS OrderID,
kunnr AS Customer,
lifnr AS Supplier,
matnr AS Material,
matkl_mm AS MaterialGroup,
werks AS Plant,
ps_posid AS WBSElementExternalID,
ps_pspid AS Project,
fkart AS BillingDocumentType,
vkorg AS SalesOrganization,
vtweg AS DistributionChannel,
spart AS OrganizationDivision,
matnr_copa AS SoldProduct,
matkl AS SoldProductGroup,
kdgrp AS CustomerGroup,
land1 AS CustomerSupplierCountry,
brsch AS CustomerSupplierIndustry,
bzirk AS SalesDistrict,
kunre AS BillToParty,
kunwe AS ShipToParty,
konzs AS CustomerSupplierCorporateGroup,
ps_psp_pnr AS WBSElementInternalID
FROM gle_adb_kfc_calculation
;
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