cancel
Showing results for 
Search instead for 
Did you mean: 

Variable version in copy function

Former Member
0 Kudos
58

Hi,

I'm currently facing a requirement for a planning aplication, in which a user can copy real data into a planning version of his choosing. How can this be accomplished ?

Right now I have a query (with 0CALMONTH and 0VERSION as filters) embeded in a web template. In the template the user has buttons to copy and save and reset data. The idea is to be able to select the target version into which data will be copied.

Thanks in advance,

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Create a Copy function in Planning Modeler

1. VERSION characteristic should be selected as 'Changed'

2. Select the keyfigures that you want to copy.

3. Mention Source Version in 'From' field

4. For target version in 'To' field create a variable of type 'Manual Entry / Default Value' say ZVERSION on VERSION characteristic.

5. Create a drop-down in your template with fixed version values

6. Link drop-down and variable ZVERSION, this will pass value selected in drop-down box as a variable value for ZVERSION that is used in planning function.

7. Add Copy function in template on button

Regards,

Deepti

Former Member
0 Kudos

7. Pass value selected in drop-down box to the variable used in planning function.

How can I pass the value of the drop-down box to the variable ?

I tried with many commands (SET_SELECTION_STATE; SET_SELECTION_STATE_SIMPLE) but they all reference to the characteristic itself... And the always ask for the value to assign to the characteristic.

Regards,

Former Member
0 Kudos

Hi,

Try command SET_VARIABLES_STATE.

Regards,

Deepti

Former Member
0 Kudos

Thanks Deepti !!

Regards,

Santiago

Answers (0)