Friday, February 3, 2012

EPM Add-in report with multiple Categories in SAP BPC, version for Microsoft and NetWeaver 10

EPM Add-in report with multiple Categories in SAP BPC, version for Microsoft and NetWeaver 10

With the new user interface in BPC 10, one might wonder how to create a report rendering two different Categories: Actual data for closed months and Plan data for the outlying months.  Follow the below instructions and you will impress your client in no time. 

First, we need to create a property informing the system which months are closed or what the beginning Plan month is.   One way is to create a property on the Category dimension named OPENING_MTH and the administrator updates this monthly.  One advantage of this is your Categories can have different beginning months.  Another was is to create a property on the Time dimension (CLOSED) with valid values of “Y” or blank.  Either way will work and you should base your decision on the businesses requirements.  For this blog, we focus on the later and create a property on the Time dimension. 

Create CLOSED Property on the Time Dimension

Login to BPC 10 Portal and click Planning and Consolidation Administration.

01_Portal.jpg

When the Administration tab opens, click Dimensions.

02_Dimensions.jpg

Highlight the Time Dimension and click Edit Structure (at the top).  Be careful to not double-click on the Time dimension as that will take you to the Time dimension members. 

03_Time_Dimension

Once you are in the Structure of the Time dimension, click Add and then select New Property.

04_Time_Add_Property

Type in CLOSED for ID and Name will default with CLOSED.  You can change the Name to something else that is more informative like Closed Actual Months or Actual Months.  Enter 1 (one) for the Number of Characters as this will be either a “Y” or blank.  Click OK to when finished.

05_Closed

Save the dimension by clicking Save.

06_Time_Save

Click Close when the dimension has finished saving.

07_Time_Close

Either double-click on the Time dimension to open it or single click and choose Edit Members.

08_Time_Open

Find the newly created CLOSED property when the Time dimension opens.

09_Time_Closed_Propertyn

Enter a “Y” in all months, quarters, and Years that are closed.  In the below, I have enter a Y for month January, February, March, April, May and Quarter 1 for 2010.

10_Time_Closed_Y

Save and Process the dimension.

11_Time_Save_Process

When the splash screen asking to take the environment offline, click No.

12_Time_Offline

When the Time dimension has finished process, click Close.

13_Time_Close

Now it is time to start configuring the actual report.  To do this, click on the EPM Office Add-in for Excel.

14_Open_Excel

Choose the correct model (in BPC 7.x, this was an application) and click OK.

15_Environmentl.jpg

At the prompt, supply a valid user ID and password and click Logon.

16_Login

Since we are going to be creating formulas above the report, place your cursor in cell G7 and click New Report under the EPM ribbon.

17_New_Report

Drag the Account dimension to the Row axis and the Time and Category dimensions to the Column axis.

18_Report_Dimensions

Click the Category dimension to open the Member Selector.  If there are any members in the Selector Members box (on the left), highlight them and click the left arrow.  Choose Actual from the Dimension Members pane.  Ensure Member Only is selected for the expansion (at the bottom), and then click the right arrow.  Click OK when done.

19_Category_Dimension

Click the Time dimension to open the Member Selector.  If there are any members in the Selector Members box (on the left), highlight them and click the left arrow.  Choose a single month and select Member Only in the Selection Relationship dropdown (bottom).  Next, click the right arrow to bring the selection into the Selected Members pane.  When finished, click OK.

20_Time_Dimension

Click on the Account dimension and choose accounts that you have Actual data for.  In this example, I chose Context (Net Income) and to show the Member and Children. 

21_Account_Dimension

Now that the report layout is complete, click OK.

22_Report_Layout

The report should look like below, assuming you used the same dimension members.

23_Report

In cell F1, type in the formula =EPMContextMember(,”Time”).  Since there is only one active connection, the first parameter can be left blank.  The function EPMContextMember is the new version of EVCVW from BPC 7.x.  Click OK when finished to save the formula.

24_Current_Context

In cell G1, type in the formula =LEFT(F1,4)&”.01”.  In my environment, the months are represented by numbers (01, 02, 03, etc), but if you can just as easily have .JAN, .FEB, .MAR, etc.  This will be taking the current year in cell F1 and adding a suffix of .01.  Basically, our report will always start with the first month of the year, in this case January.

25_Current_Month

In cell G2, type in the formula =EPMMemberProperty(,G1,”CLOSED”) where G1 is the first month of the year and CLOSED is the property you defined in the Time dimension.  EPMMemberProperty is the new version of EVPRO.  Again, since we are only using one connection, the first parameter can be blank.

26_Current_Month_Closed

In cell G3, type in the following formula: =IF(G2=”Y”,”Actual”,”Plan”).

27_Actual_IF_Statement

In cell H1, type in the formula =EPMMemberOffset(,G1,1).  EPMMemberOffset() is the new version of EVTIM().

28_EVTIM

Next, copy the contents in cells G2 and G3 to H2 and H3, respectively.

29_Copy

Copy the contents in cells H1, H2, and H3 out 10 (ten) columns to column R.

30_Copy_2

Next, we need to manufacture the time dimension.  In order to do this, click in cell G5 and enter EPMMemberDesc(G1) for the first parameter.  Click OK when done.

31_Create_Time

We are going to do the same thing for the Category dimension.  In cell G6, type in EPMMemberDesc(G3) to display the correct Category Member.

32_Create_Category

Technorati Tags:

Now, copy cells G5 and G6 out to column R.

33_Copy_Dmension_Formula

Click the Refresh Report and two different Category dimensional data will be rendered in the same report.

34_Final

Bonus:

Now that you have created this, it takes one formula to create a Rolling 12 report.  In cell G1, enter the following formula, change the Time Current Context to 2010.Q2, and click Refresh:

=IF(EPMMemberProperty(,F1,"Level")="Year",LEFT(F1,4)&".01",IF(RIGHT(F1,2)="Q1",LEFT(F1,4)&".01",IF(RIGHT(F1,2)="Q2",LEFT(F1,4)&".04",IF(RIGHT(F1,2)="Q3",LEFT(F1,4)&".07",IF(RIGHT(F1,2)="Q4",LEFT(F1,4)&".10",F1)))))

35_Rolling

Robert Marshall   is a member of the BPC CSA team

sap bpc tutorials pdf, sap bpc tutorials, sap bpc tutorials download, sap bpc interview, questions, sap bpc interview questions pdf, sap bpc interview questions free download, sap bpc interview questions and answers

3 comments:

  1. Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share epm consultants

    ReplyDelete
  2. Thanks for you Information, I learn much information with this post. Online Training.

    ReplyDelete
  3. Nice information, but some picture error and not visible. please fix it, thank you.
    https://klinikkelaminku.com/

    ReplyDelete