C_NO_SAFTBusPartAcctBalanceC
SAFT Norway BP Account Balance - Cube
C_NO_SAFTBusPartAcctBalanceC is a Consumption CDS View (Cube) that provides data about "SAFT Norway BP Account Balance - Cube" in SAP S/4HANA. It reads from 2 data sources (I_CompanyCode, I_NO_SAFTBusPartAcctBalance) and exposes 11 fields with key fields CompanyCode, Customer, Supplier, Ledger, GLAccount. Part of development package GLO_FIN_IS_SAFT_NO.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CompanyCode | Company | inner |
| I_NO_SAFTBusPartAcctBalance | I_NO_SAFTBusPartAcctBalance | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_FromPostingDate | budat | |
| P_ToPostingDate | budat | |
| P_FiscalYear | gjahr |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Analytics.internalName | #LOCAL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Analytics.dataCategory | #CUBE | view | |
| Metadata.allowExtensions | true | view | |
| EndUserText.label | SAFT Norway BP Account Balance - Cube | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | Balance | CompanyCode | Receiver Company Code |
| KEY | Customer | Balance | Customer | Sold-to Party |
| KEY | Supplier | Balance | Supplier | Supplier |
| KEY | Ledger | Balance | Ledger | Ledger |
| KEY | GLAccount | Balance | GLAccount | General Ledger |
| CompanyCodeCurrency | Balance | CompanyCodeCurrency | Local Currency | |
| curr232endasDebitStartingBalAmtInCCCrcy | ||||
| curr232endasCreditStartingBalAmtInCCCrcy | ||||
| curr232endasDebitEndingBalAmtInCCCrcy | ||||
| curr232endasCreditEndingBalAmtInCCCrcy | ||||
| ItemIsReportingRelevant |
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 C_NO_SAFTBusPartAcctBalanceC.
-- 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.
-- Parameters: P_FromPostingDate : budat, P_ToPostingDate : budat, P_FiscalYear : gjahr
CREATE VIEW C_NO_SAFTBusPartAcctBalanceC AS
SELECT
Balance.CompanyCode AS CompanyCode,
Balance.Customer AS Customer,
Balance.Supplier AS Supplier,
Balance.Ledger AS Ledger,
Balance.GLAccount AS GLAccount,
Balance.CompanyCodeCurrency AS CompanyCodeCurrency,
case when Balance.StartingBalanceAmtInCoCodeCrcy > 0 then Balance.StartingBalanceAmtInCoCodeCrcy else cast( 0 as abap.curr(23,2) ) end as DebitStartingBalAmtInCCCrcy AS curr232endasDebitStartingBalAmtInCCCrcy,
case when Balance.StartingBalanceAmtInCoCodeCrcy < 0 then abs(Balance.StartingBalanceAmtInCoCodeCrcy) else cast( 0 as abap.curr(23,2) ) end as CreditStartingBalAmtInCCCrcy AS curr232endasCreditStartingBalAmtInCCCrcy,
case when Balance.EndingBalanceAmtInCoCodeCrcy > 0 then Balance.EndingBalanceAmtInCoCodeCrcy else cast( 0 as abap.curr(23,2) ) end as DebitEndingBalAmtInCCCrcy AS curr232endasDebitEndingBalAmtInCCCrcy,
case when Balance.EndingBalanceAmtInCoCodeCrcy < 0 then abs(Balance.EndingBalanceAmtInCoCodeCrcy) else cast( 0 as abap.curr(23,2) ) end as CreditEndingBalAmtInCCCrcy AS curr232endasCreditEndingBalAmtInCCCrcy,
'X' AS ItemIsReportingRelevant
FROM I_NO_SAFTBusPartAcctBalance
INNER JOIN I_CompanyCode AS Company 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