cancel
Showing results for 
Search instead for 
Did you mean: 

Temp Variable in BPC NW

Former Member
0 Kudos

Hello

I was trying to find the post in SDN on use of temp variable in BPC NW 7.0 however i could not find any thing. In all posts no one is using temp variables.

Can we declare temp variable in script logic like we used to do in BPC MS with # sign ?

or we have to always define memeber in dimension before we can use that in logic ?

All help will be appreciated

Thanks in Advance

Regards

RS

Edited by: rinku singh on Apr 7, 2010 8:23 PM

Accepted Solutions (0)

Answers (3)

Answers (3)

lucas_costa3
Active Contributor
0 Kudos

Hi,

Did you get create the temp variable?

I'm needing something like that.

Att.

Former Member
0 Kudos

Hi,

Dummy members must be identified with a leading pound (#) sign.

e.g. #TEMP.

Thanks

sorin_radulescu
Employee
Employee
0 Kudos

Hi You can use the also into NW the suntax like:

DIMENSION.#MEMBER = Dimension.Member * 1.1

Is it this what you would like to have?

Regards

Sorin Radulescu

Edited by: Sorin Radulescu on Apr 8, 2010 10:53 AM

Former Member
0 Kudos

Could you please provide a example?

I have tried several different variations on your partial example and I cannot get my Script Logic to validate in NW.

I make extensive use of Temp Variables in debugging Script Logic in MS and I hope to be able to continue this practice.

Thanks.

former_member639421
Discoverer
0 Kudos

Hello,

In BPC NW 7.0 (SP02), I just want to know if we can declare and use local variable in a script logic.

For exemple, the user enter a year in a data manager package (with a prompt). For exemple year = 2011.

Then I want to execute calculations for this Year and the previous year (so 2011 et 2010).

I have already tried to use variable with # or % (like in *select instruction) but the result was not OK.

Thanks for your Help.

Best Regards,

A. Portal.