cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass dimension values from context to prompt

0 Kudos


Hi,

I would like to initialize prompt SELECTIONINPUT with values from context.

I have found in EPM documentation that I can do it using [default members] parameter:

http://scn.sap.com/

SELECTINPUT Prompt() Command

http://scn.sap.com/


The SELECTINPUT Prompt() command is used to allow the user to
select only noncalculated members (export, for example).

The syntax is a follows: PROMPT(SELECTINPUT,
[variable], , [label], [dimensions], [default members])



Where


Means


Default Value


SELECTINPUT


Select one noncalculated data range


n/a


[variable]


The name of the returned variable


%SELECTION%


[label]


The text to display to the user.


Select the desired data range


[dimensions]


The dimensions from which to select members


Category, Time, Entity


[default members]


The members that are selected by default

Enter 0 for "All"

Enter 1 to take into account the context member

I tried to use that, eg.

PROMPT(SELECTINPUT,%SOURCEENTITY%, , "Enter Source Entity","%ENTITY_DIM%",1)

but it always shows me ALL as default value...

Can somebody help me how to write it correctly?

Thanks,

Andrzej

Accepted Solutions (1)

Accepted Solutions (1)

former_member186338
Active Contributor
0 Kudos

Hi Andrzej,

Extra comma before "1" will do the job - incorrect documentation!

PROMPT(SELECTINPUT,%SOURCEENTITY%, , "Enter Source Entity","%ENTITY_DIM%",,1)


Vadim

Answers (0)