cancel
Showing results for 
Search instead for 
Did you mean: 

Using BAS() for XDIM_MEMBERSET for different hiearchies

Former Member
0 Kudos

Hello,

I am using SAP BPC 7.0 NW SP06.

I am trying to Filter all basmembers from the 3 different parent members from 3 different hierchies.

For instance: H1, H2 y H3 and MEMBERH1, MEMBERH2 Y MEMBERH3 for parent nodes. Some of the members are shared by the 3 hierarchies (I can not made the calculation separately).

I have tested:


*XDIM_MEMBERSET ACCOUNT= BAS(MEMBERH1), BAS(MEMBERH2), BAS(MEMBER3)
or
*XDIM_ADDMEMBERSET ACCOUNT=BAS(MEMBERH1), BAS(MEMBERH2), BAS(MEMBER3)
or
*XDIM_MEMBERSET ACCOUNT=ACNA
*XDIM_ADDMEMBERSET ACCOUNT=BAS(PLOP_BUD_0001)
*XDIM_ADDMEMBERSET ACCOUNT=BAS(PIOP_BUD_0002)
*XDIM_ADDMEMBERSET ACCOUNT=BAS(LSOP_BUD_0003)

But it has not worked.

I have also tried to use HIR property in order to select all members from an sapecific hierarchy.


*SELECT(%H1%, ID, ACCOUNT, [HIR]="H1")
//The previous code worked
*SELECT(%H1H2%,ID,ACCOUNT,[HIR]="H1 ; H2")
// the previous code has not worked.

I would like to know if there is an alternative way to do it or if something is missing in my code.

Thanks,

Accepted Solutions (0)

Answers (3)

Answers (3)

esjewett
Active Contributor
0 Kudos

Hi Manuel,

You should be able to use a little workaround to get what you want:


*XDIM_MEMBERSET ACCOUNT AS %GROUP1% = BAS(MEMBERH1)
*XDIM_MEMBERSET ACCOUNT AS %GROUP2% = BAS(MEMBERH2)
*XDIM_MEMBERSET ACCOUNT AS %GROUP3% = BAS(MEMBERH3)
*XDIM_MEMBERSET ACCOUNT=%GROUP1%,%GROUP2%,%GROUP3%

Cheers,

Ethan

Former Member
0 Kudos

Thanks Ethan,

I tested it but it did not work.

I had to create a property just for this script.

Former Member
0 Kudos

Thanks Ethan,

I tested it but it did not work.

I had to create a property just for this script.

Thanks everybody,

former_member199510
Participant
0 Kudos

Hi any idea how run ScriptLogic from DM Package using in Prompt Hier Node and pass to code ?

Thank you.

Former Member
0 Kudos

Hi,

Try to quantify the member completely. For example,

[ACCOUNT.H1].[membername]

This should work.

Edited by: nilanjan chatterjee on May 4, 2010 6:44 AM

Former Member
0 Kudos

Hi Manuel,

There is no problem with your code. The script works in the same way you are saying.

The only way to solve this problem is to repeat the code for different account members group.

*XDIM_MEMBERSET ACCT=BAS(MEMBER1)

<<Code>>

*XDIM_MEMBERSET ACCT=BAS(MEMBER2)

<<Code>>

Hope this helps,

Regards,

G.Vijaya Kumar