Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BPC MS *XDIM_MEMBERSET <DIM_NAME> AS %VAR_NAME% = BAS(NODE_X)

Hi guys,

I need to Base Members of a given Node into a Variable.

Using *SELECT is not an option, because you cannot use "BAS(NODE_X)" as filter.

In this post about BPC NW How To Populate a Variable with Base-level Members in BPC 7.5 NW Script Logic I've seen that a new form of *XDIM_MEMBERSET can be used:

*XDIM_MEMBERSET <DIM_NAME> AS %VAR_NAME% = BAS(NODE_X)

the addition "AS %VAR_NAME%" assigns the value to the %var_name%, without changing the scope of <Dim name>.


Unfortunatelly the same syntax seems not to be valid in BPC MS:

We cannot symple use:

*XDIM_MEMBERSET <DIM_NAME> = BAS(NODE_X)

Because this would change scoping and member ids won't be listed into a variable.

Any idea or suggestion?

Thanks in advance

GFV

Tags:
replied

In order to solve the issue we used:

*MEMBERSET (%VAR_NAME%,DESCENDANTS([<DIM_NAME>].[NODE_X],99,LEAVES))

2 View this answer in context
Not what you were looking for? View more on this topic or Ask a question