cancel
Showing results for 
Search instead for 
Did you mean: 

OLAPLOOKUP - error xxx_rc was not found in the cube

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member186498
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Roberto,

Thanks for the hint.

It's working now.

Wai Yee

former_member186498
Active Contributor
0 Kudos

Hi Wai Yee,

then please remember to close the thread.

Regards

     Roberto

Answers (1)

Answers (1)

Former Member
0 Kudos

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.