Professional Documents
Culture Documents
Measure Dimension Error
Measure Dimension Error
Applies to:
SAP Business Planning and Consolidation 7.0 for NW Platform
For more information, visit the Enterprise Performance Management homepage
Summary
In SAP BPC, all the dimensions are maintained in the Dimension Library in BPC Administration. However,
there is one dimension, which is not maintained there. It is maintained in a table, instead. This dimension can
be viewed in BPC Office Components (BPC for Excel, Word, Power Point) and BPC for Web.
There are few instances, wherein, the dimension measure doesnt populate properly for the newly created
application sets and the applications. Hence, it becomes necessary to be able to maintain these entries
manually.
Author:
Nilanjan Chatterjee
Author Bio
Nilanjan Chatterjee is an Associate Consultant with Satyam computer Services Limited. Nilanjan has almost
2 years of experience on Business Process and Simulation (BPS) and Business Planning and Consolidation
(BPC).
Table of Contents
Maintenance of Measure Dimension .................................................................................................................. 3
System Design .................................................................................................................................................... 3
UJA_API_DATA_CHECKER Function Module ........................................................................................... 4
UJA_FORMULA_APP - Table ........................................................................................................................ 5
Disclaimer and Liability Notice .......................................................................................................................... 11
System Design
The Measure Dimensions are maintained in a table UJA_FORMULA_APP.
To view this table, execute the following steps:
1. Login to SAP GUI for BPC NW
2. Go to T-Code SE11
3. Enter the Database Table name as UJA_FORMULA_APP and click on Display.
4. The structure of the table is as follows
Generally, the entries for the Measure Dimension already exist for all the Applications under all the
Application Sets. However, there are few instances, wherein, these entries are not maintained automatically.
In this circumstance, we need to maintain these entries manually.
There are 2 easy steps to be followed for doing the same.
It is sufficient to enter value only for I_APPSET_ID, which means the name of the Application Set.
After entering the value of the Application Set, click on the Execute button. It displays the result in a table,
which has a field called MESSAGE. This field displays all the inconsistencies pertaining to the particular
Application Set.
An example of this is below.
The entries suggest that the table UJA_FORMULA_APP doesnt have any entry for the particular
Application Set and the Application RATE for the Measures PERIODIC, QTD, and YTD.
This message suggests that these entries need to be maintained in the specified table.
UJA_FORMULA_APP - Table
The structure of this table is as follows:
For maintaining the missing values of the Measure dimension, view the contents of the table and then, click
on the Create button.
The entries need to be maintained for each of the Applications under each Application Set.
Lets consider a scenario, wherein, there is an Application Set POC and this Application Set contains an
Application Planning.
Taking the above scenario as reference, we need to maintain 6 entries in the table keeping the Application
as Planning and the Application Set as POC. The field FORMULA TYPE remains FIN for all the 6
entries in the table.
The 6 entries are as follows:
1. Entry for Formula Name PERIODIC and Storage Type PER
FIELD NAME
VALUE
APPSET ID
POC
APPLICATION ID
Planning
FORMULA NAME
PERIODIC
STORAGE TYPE
PER
FORMULA TYPE
FIN
MEMBER [MEASURES].[PERIODIC] AS
'IIF([%P_ACCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE"
)="INC",[MEASURES].[/CPMB/SDATA],IIF([%P_ACCT%].CURRENTMEMBER.PRO
PERTIES("2/CPMB/ACCTYPE")="EXP",[MEASURES].[/CPMB/SDATA],IIF([
%P_ACCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="A
ST",([MEASURES].[/CPMB/SDATA],
CLOSINGPERIOD([%TIME%].[LEVEL02])),IIF([%P_ACCT%].CURRENTME
MBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",
([MEASURES].[/CPMB/SDATA],
CLOSINGPERIOD([%TIME%].[LEVEL02])),[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
3
FORMULA STAT
SOLVE ORDER
VALUE
APPSET ID
POC
APPLICATION ID
Planning
FORMULA NAME
PERIODIC
STORAGE TYPE
YTD
FORMULA TYPE
FIN
MEMBER [MEASURES].[YTD] AS
'IIF(([%P_ACCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE
")="INC" OR
[%P_ACCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="
LEQ"),-([MEASURES].[/CPMB/SDATA],
CLOSINGPERIOD([%TIME%].[LEVEL02])),
([MEASURES].[/CPMB/SDATA],
CLOSINGPERIOD([%TIME%].[LEVEL02])))'
SOLVE_ORDER=3##MEMBER [MEASURES].[PERIODIC] AS
'IIF(([%P_ACCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE
")="INC" OR
[%P_ACCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="
EXP") AND NOT
([%TIME%].CURRENTMEMBER.PROPERTIES("2/CPMB/PERIOD")="TOT
AL" OR
[%TIME%].CURRENTMEMBER.PROPERTIES("2/CPMB/PERIOD")="Q1"
OR
[%TIME%].CURRENTMEMBER.PROPERTIES("2/CPMB/PERIOD")="JAN"
), [MEASURES].[YTD]-([MEASURES].[YTD],[%TIME%].LAG(1)),
[MEASURES].[YTD])' SOLVE_ORDER=3
3
FORMULA STAT
SOLVE ORDER
VALUE
APPSET ID
POC
APPLICATION ID
Planning
FORMULA NAME
QTD
STORAGE TYPE
PER
FORMULA TYPE
FIN
MEMBER [MEASURES].[QTD] AS
'IIF([%P_ACCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE"
)="INC",SUM(PERIODSTODATE([%TIME%].[LEVEL01],
[%TIME%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA]),IIF([%P_ACCT%].CURRENTMEMBER.PR
OPERTIES("2/CPMB/ACCTYPE")="EXP",SUM(PERIODSTODATE([%TIME
%].[LEVEL01],
[%TIME%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA]),IIF([%P_A
CCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([
MEASURES].[/CPMB/SDATA],
CLOSINGPERIOD([%TIME%].[LEVEL02])),IIF([%P_ACCT%].CURRENTME
MBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",([MEASURES].[/CPMB/SDATA],
CLOSINGPERIOD([%TIME%].[LEVEL02])),[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
3
FORMULA STAT
SOLVE ORDER
VALUE
APPSET ID
POC
APPLICATION ID
Planning
FORMULA NAME
QTD
STORAGE TYPE
YTD
FORMULA TYPE
FIN
MEMBER [MEASURES].[YTD] AS
'IIF(([%P_ACCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE
")="INC" OR
[%P_ACCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="
LEQ"),-([MEASURES].[/CPMB/SDATA],
CLOSINGPERIOD([%TIME%].[LEVEL02])),
([MEASURES].[/CPMB/SDATA],
CLOSINGPERIOD([%TIME%].[LEVEL02])))'
SOLVE_ORDER=3##MEMBER [MEASURES].[PERIODIC] AS
'IIF(([%P_ACCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE
")="INC" OR
[%P_ACCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="
EXP") AND NOT
([%TIME%].CURRENTMEMBER.PROPERTIES("2/CPMB/PERIOD")="TOT
AL" OR
[%TIME%].CURRENTMEMBER.PROPERTIES("2/CPMB/PERIOD")="Q1"
OR
[%TIME%].CURRENTMEMBER.PROPERTIES("2/CPMB/PERIOD")="JAN"
), [MEASURES].[YTD]-([MEASURES].[YTD],[%TIME%].LAG(1)),
[MEASURES].[YTD])' SOLVE_ORDER=3## MEMBER [MEASURES].[QTD]
AS
'IIF(([%P_ACCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE
")="INC" OR
[%P_ACCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="
EXP"),IIF([%TIME%].CURRENTMEMBER.PROPERTIES("2/CPMB/TILEVE
L")="QUARTER",[MEASURES].[PERIODIC],IIF([%TIME%].CURRENTMEM
BER.PROPERTIE
3
FORMULA STAT
SOLVE ORDER
VALUE
APPSET ID
POC
APPLICATION ID
Planning
FORMULA NAME
YTD
STORAGE TYPE
PER
FORMULA TYPE
FIN
MEMBER [MEASURES].[YTD] AS
'IIF([%P_ACCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE"
)="INC",SUM(PERIODSTODATE([%TIME%].[LEVEL00],
[%TIME%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA]),IIF([%P_ACCT%].CURRENTMEMBER.PR
OPERTIES("2/CPMB/ACCTYPE")="EXP",SUM(PERIODSTODATE([%TIME
%].[LEVEL00],
[%TIME%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA]),IIF([%P_A
CCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([
MEASURES].[/CPMB/SDATA],
CLOSINGPERIOD([%TIME%].[LEVEL02])),IIF([%P_ACCT%].CURRENTME
MBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",([MEASURES].[/CPMB/SDATA],
CLOSINGPERIOD([%TIME%].[LEVEL02])),[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
3
FORMULA STAT
SOLVE ORDER
VALUE
APPSET ID
POC
APPLICATION ID
Planning
FORMULA NAME
YTD
STORAGE TYPE
YTD
FORMULA TYPE
FIN
MEMBER [MEASURES].[YTD] AS
'IIF(([%P_ACCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE
")="INC" OR
[%P_ACCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="
LEQ"),-([MEASURES].[/CPMB/SDATA],
CLOSINGPERIOD([%TIME%].[LEVEL02])),
([MEASURES].[/CPMB/SDATA],
CLOSINGPERIOD([%TIME%].[LEVEL02])))' SOLVE_ORDER=3
3
FORMULA STAT
SOLVE ORDER
Once the above entries are maintained, the Measure Dimension will be displayed properly.