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

Using BAS() for XDIM_MEMBERSET for different hiearchies

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,

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 04, 2010 at 04:25 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 04, 2010 at 04:39 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 04, 2010 at 02:06 PM

    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

    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.