P_CONSACCINCOA
P_CONSACCINCOA is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (rtc_ext_ska1, ska1) and exposes 17 fields.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| rtc_ext_ska1 | _BPCExtension | left_outer |
| ska1 | ska1 | from |
Annotations (3)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCONSACCINCOA | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| mandt | ska1 | mandt | Editing Client | |
| ChartOfAccounts | ska1 | ktopl | G/L Chart of Accounts | |
| GLAccount | ska1 | saknr | G/L Account | |
| IsBalanceSheetAccount | ska1 | xbilk | Checkbox | |
| GLAccountGroup | ska1 | ktoks | GL Grp | |
| ProfitLossAccountType | ska1 | gvtyp | P&L state. acct | |
| SampleGLAccount | ska1 | mustr | Sample table | |
| PartnerCompany | ska1 | vbund | Trading Partner | |
| FunctionalArea | ska1 | func_area | Receiving Func. Area | |
| GLAccountType | ska1 | glaccount_type | G/L Account Type | |
| GLAccountExternal | ska1 | sakan | G/L Account | |
| xbilkXthenelseXendasIsProfitLossAccount | ||||
| EliminationAccount | rtc_ext_ska1 | elimacct | BPC Elim Acc Prop. | |
| EnableJournal | rtc_ext_ska1 | enjnr | BPC Enable Journal | |
| EliminationType | rtc_ext_ska1 | tyelm | TYPELIM | |
| ExchangeRateType | rtc_ext_ska1 | rkrst | Exch. Rate Type | |
| BPCAccountType | rtc_ext_ska1 | acctype | BPC Account Type |
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_CONSACCINCOA.
-- 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: PCONSACCINCOA
CREATE VIEW P_CONSACCINCOA AS
SELECT
ska1.mandt AS mandt,
ska1.ktopl AS ChartOfAccounts,
ska1.saknr AS GLAccount,
ska1.xbilk AS IsBalanceSheetAccount,
ska1.ktoks AS GLAccountGroup,
ska1.gvtyp AS ProfitLossAccountType,
ska1.mustr AS SampleGLAccount,
ska1.vbund AS PartnerCompany,
ska1.func_area AS FunctionalArea,
ska1.glaccount_type AS GLAccountType,
ska1.sakan AS GLAccountExternal,
case when ska1.xbilk = 'X' then ' ' else 'X' end as IsProfitLossAccount AS xbilkXthenelseXendasIsProfitLossAccount,
_BPCExtension.elimacct AS EliminationAccount,
_BPCExtension.enjnr AS EnableJournal,
_BPCExtension.tyelm AS EliminationType,
_BPCExtension.rkrst AS ExchangeRateType,
_BPCExtension.acctype AS BPCAccountType
FROM ska1
LEFT OUTER JOIN rtc_ext_ska1 AS _BPCExtension ON /* join condition not captured in parsed metadata */
;
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