Skip to Content
author's profile photo Former Member
Former Member

OLAPLOOKUP - error xxx_rc was not found in the cube

Hi all,

Currently, we are using BPC 7.5 MS SP11.

We are trying to use OLAPLOOKUP to pull data stored on 936212H_RC and 936252H_RC.

These 2 peoplemgt accounts are not baselevel accounts, but accounts calculated with MDX in the formular property of the dimension.

The created logic looks like below:

*include system_constants.lgl
*process_each_member=TIME
*Clear_destination
*xdim_memberset RCPeoplemgt=936212_keyfig_RC,936252H_rc,936212H_rc,930_rc

*OLAPLOOKUP Peoplemgt_ytd

*Dim rcpeoplemgt ="936212H_rc","936252H_rc"

*ENDLOOKUP
*COMMIT_EACH_MEMBER = time

*SELECTCASE time.currentmember.properties("PERIOD")

*CASE "JAN"

[ACCOUNTDIM].[#936212_keyfig_RC]=([ACCOUNTDIM].[936212H_RC],[MEASURES].[PERIODIC]) * (([ACCOUNTDIM].[930_RC]+ ([ ACCOUNTDIM].[930_RC],time.currentmember.lag(1)))/2) * ([ACCOUNTDIM].[936252H_RC],[MEASURES].[PERIODIC])

*CASEELSE

[ACCOUNTDIM].[#936212_keyfig_RC]=([ACCOUNTDIM].[936261_RC],time.currentmember.lag(1)) + (([ACCOUNTDIM].[936212H_RC],[MEASURES].[PERIODIC]) * (([ACCOUNTDIM].[930_RC]+ ([ ACCOUNTDIM].[930_RC],time.currentmember.lag(1)))/2) * ([ACCOUNTDIM].[936252H_RC],[MEASURES].[PERIODIC]) )

*ENDSELECT

*COMMIT

However, below error returned when running it, although 936212H_RC was verified and does exist in the olap cube.

Error in step 1 of QueryCubeAndDebug: -2147467259 Query (5, 43) The hierarchy '[936212H_RC"]' was not found in the cube when the string, [RCPEOPLEMGT].[936212H_RC"], was parsed.

Can you please advise if OLAPLOOKUP can be used for sap bpc7.5M? Or if so, please advise the cause of the error message.

You help is greatly appreciated.

Thanks,Wai Yee

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Sep 03, 2013 at 05:01 PM

    Hi Wai Yee,

    yes OLAPLOOKUP exists in 7.5 MS, see please this note http://service.sap.com/sap/support/notes/1721150 maybe it helps.

    Regards

    Roberto

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 03, 2013 at 05:20 PM

    Hi Wai,

    Please refer note 1721150.

    Resolution

    • Basically, we support a formula with multiple hierarchy members but a user should use basemember only.
    • In this case, for instance, COMPTE.H1.TOP2-COMPTE.H1.A TOP2 is not base member and TOP2 is not H1 member.
    • This formula is not correct and you need to change it with base member. For instance, COMPTE.H2.B-COMPTE.H1.A

    Regards,

    Kalyan.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.