Translate

SAP BI/BW NON - CUMULATIVE KEY FIGURE

Definiton :

    Non - cumulative key figures are Non aggregating key figures which are calculated based on other key figures and characteristics and values are not stored but calculated during query runtime.

Use : Non - cumulative key figures are used in Inventory management or  Banking application where users want to know the stock or account balance as on date.

 If we are working on Banking application we need to provide the transactions including account balance for a particular date.

  Account Balance =  Balance Amount  +  Diposited Amount - Withdrawn Amount.

Suppose customer 'X' wants to know the Balance Amount from his Account on a some date 'Y'.The transactions on date 'Y' may not happen but we have to maintain the Balance Amount for each day irrespective of whether transactions has been done or not.


    We have 2 options for creating Non - Cumulative Key figures
  • NCum.value with NCum .value change.
  • NCum .value with In - and Out - flow.
The difference is , if we choose 'NCum value with NCum.value change we need to assign one cumulative keyfigure as Non - cum.value change.During run time the value of the Non - Cumulative key figure is calculated by considering Non - cum .value change as the delta change  to the previous value.
Where as in 'Ncum.value with in - and out -flow' the difference between inflow and outflow has been considered as delta change.

Create an infocube (for ex : IC_SL) BY adding Non - Cumulative key figure (TOT_BAL).
When u add  Ncum key figure TOT_BAL ,the cumulative key figures DEP_AMT and WITH_AMT also added automatically.Add 0CALDAY to time characteristics dimension.

Maintain the Non - Cumulative values by choosing Extras menu -> Maintain Non-Cumulative values.

Create Transformations , here Non - Cumulative key figure will not maintain but inflow and outflow cumulative key figures maintained.Make appropriate mappings to load the data.

For Key Figures set appropriate currency in rule details for ex :


 I have a data in infocube(IC_SL) like this

CustomerAccount No.Calendar DayAmount DepositedAmount Withdrawn
Thomson500123.07.201580000
Jack600424.07.201595001000
Adam700223.07.201550001000
Thomson500125.07.2015100002000
Jack600425.07.201510000
Adam700226.07.2015230001000
Jack600426.07.201501500

Here we can observe Non-Cumulative keyfigure (Tot_bal) Total balance  is not maintained.

Account numbers 5001,7002 have transactions on 23.07.2015.
Account number 6004 has transaction on 24.07.2015.
Account numbers 5001,6004,7002 have transactions on 25.07.2015.
Account numbrs 6004 ,7002 have transactions on 26.07.2015.

Suppose 5001 account holder wants to know the Total balance on 26.07.2015.Even Customer(Thomson) with acc.no 5001 hasn't done any transaction on that day but we are maintaining account balance for each day by making this one as non-cumulative key figure.

Execute the Query



Calendar dayCustomerAccount NoAmount DepositedAmount WithdrawnTotal Balance
23.07.2015Thomson5001800008000
Jack6004000
Adam7002500010004000
24.07.2015Thomson5001008000
Jack6004950010008500
Adam7002004000
25.07.2015Thomson500110000200016000
Jack6004100009500
Adam7002020002000
26.07.2015Thomson50010016000
Jack6004015008000
Adam700223000500020000

Example for calculating total balance for a paticular Account Number.

For Account number 7002 calculate  the total balance on 26th july.

 Account Balance =  Balance Amount on previous day  +  Diposited Amount on current day - Withdrawn Amount on current day.

Account Balance = 2000 + 23000 - 5000.
                            = 20000.(Total balance).

Note : For non-cumulative key figure info cube maintains one extra table is called Validity (L) table.

No comments:

Labels

sap hana hana database aws s4 hana hana db s4hana conversion steps sap hana azure bw4hana hana migration s4hana migration sap cloud migration steps sap hana migration steps sap hana migration to azure s4hana sap fiori fiori performance fiori erp s4 hana fiori sap fiori app sap fiori client sap fiori launchpad sap s4 hana fiori cisco ecc AI SAP AI abap dumps hana sap S/4HANA S/4HANA Conversion best sap ui5 & fiori training configuration database fiori tutorial on webide free sap ui5 & fiori training s/4 hana sap dumps sap fiori tutorial sap ui5 sap ui5 & fiori sap ui5 & fiori tutorial sara ui5cn 2367245 - Troubleshooting performance issues with SAP BPA Amazon free tier for SAP AWS setup Experience CALL_FUNCTION_NOT_FOUND CCMS Configuration and Use Create New Data Class in SAP (Oracle) Critical top SAP Abap dumps DHCP Clients Not Receiving IP Addresses Download Stack.xml HAN-DB HAN-DB-ENG High CPU Usage Due to Excessive Process Switching How To How to Start and Stop SAP Hana Tenant Database How to change SAP Hana Sql Output results are limited to 5000 Records How to perform SAP Dual Stack Split - Netweaver Inactive Objects in SAP Intercompany transactions in SAP AP / AR : Cross Company Code Transaction Interface Flapping Due to Duplex Mismatch KBA LOAD_PROGRAM_LOST MSSQL shrinking transaction log file Migrating to SAP hana database NAT Overload Causing Internet Access Failure Note 500235 - Network Diagnosis with NIPING OSPF Adjacency Not Forming PRINCE2 Foundation Sample Questions Preparing for S/4HANA Conversion and the MUST know items Push to Download Basket S/4HANA Migration Cockpit S/4JANA SAP BI Support Data Load Errors and Solutions SAP BI/BW Landscape SAP BPA SAP Basis SAP Basis Automation SAP Business Objects SAP CPS SAP Certification SAP FI Certification SAP FI Certification Sample Questions SAP HANA Admin - Cockpit SAP HANA DB Engines SAP HANA Database SAP HANA terminate session connection disconnect cancel kill hang stuck SAP Hana DB restore SAP Hana Numeric Error Codes SAP Landscape SAP Language installation SAP MM and Purchase Order Tables SAP Maintenance Planner SAP Note 500235 SAP R/3 Glossary SAP Readiness Check SAP S/4HANA 1709 Installation Files SAP S/4HANA 2023 SAP S/4HANA 2023 Installation SAP S/4HANA 2023 running SAP S/4HANA Installation SAP Scheduling SAP Solman 7.2 CHARM: SAP Support Package Stack Strategy SAP Support package SAP Upgrade SAP support stack upgrade SP stacks STORAGE_PARAMETERS_WRONG_SET SUSE/SLES/Kernel versions Setup of S/4hana 2023 TSV_TNEW_PAGE_ALLOC_FAILED TSV_TNEW_PAGE_ALLOC_FAILED error Transaction ID Unable to download an SAP Note Unix/Linux Command That Are Helpful For SAP Basis Upgrading SAP Kernel Without Downtime Upgrading windows server 2008 to windows server 2019 What is OSS Notes? SAP SNOTE Tutorial accounting agile ale idoc ale/edi archive FI documents audit auditing auditor aws aws cloud basic type bluefield approach ccms ccmsidb charm copilot datavard dbacockpit download sap note download snote edi idoc electronic data interchange enable sap archiving objects erpprep ffid firefighter fraud functional hana admin how to apply sap security note https://www.erpprep.com/ idoc install install sap fiori installation interfaces intermediate document internal control license key linux version materials management messsage niping test order type port prince2 agile prince2 agile practitioner purchasing quick info s4 hana sap abap dumps sap abbreviations sap activate certification sap activate project manager sap authorization sap aws sap brownfield sap ccms sap ccms configuration sap erp sap error sap grc sap greenfield sap internet demo system sap license sap maintenance certificate sap material management sap meaning sap mm sap mm consultant sap monthly security note sap netweaver sap network diagnostic sap niping sap note sap oss sap patch day sap performance sap performance issue sap purchase order sap s/4hana sap sales and distribution sap sap otc sap sd sap sd certification training sap sd course sap sd jobs sap sd module sap sd online training sap sd training sap sd tutorial sap sd tutorial for beginners sap security sap security note sap snote sap snote tutorial sap solution manager sap sql segregation of duties separation of duties sles slicense smc snote snote in sap system sod conflict solution manager solution maneger stop start hana database suse linux techie trex two step upgrade required waterfall