Skip to Content
0
Former Member
Dec 05, 2008 at 04:08 PM

Variable not transfer the value to planning function

39 Views

Hi,

I am facing a problem while executing the planning sequence.

In my workbook I have a button, behind that button one planning sequence is attached ( it copy the quantity from one scenario to other scenario) along with two varaible. Value for variable is pass behind the button.

Both variable are multiple single value type.

CMD 1 EXECUTE_PLANNING_SEQUENCE (copy)

PLANNING_SEQUENCE_NAME 1 YNDPP59_A_SQ046

VAR_NAME_1 1 YQUXN_YN_SCENAR_007(from scenario)

VAR_VALUE_EXT_1 1 F25

VAR_NAME_2 1 YQUXO_YN_SCENAR_001(to scenario)

VAR_VALUE_EXT_2 1 F50

Now, I have other buttons in my workbook. They used to copy from one scenario to other but variable for scenario use is same for all.

Example Scenario :-

Button 1:- copy demand to photo demand

Button 2:- copy confirmed demand to demand

Before Image

Basin Subfamily Quarter KF1(Demand) KF2(Photo Demand) KF3(Confirmend Demand)

100 70 20083 100 To 0 To 200 To

First time:

When I used button 1(copy demand to photo demand) it's works fine.

Basin Subfamily Quarter KF1(Demand) KF2(Photo Demand) KF3(Confirmend Demand)

100 70 20083 100 To 100 To 200 To

I do the manual changes in Key figure(demand)

Basin Subfamily Quarter KF1(Demand) KF2(Photo Demand) KF3(Confirmend Demand)

100 70 20083 150 To 100 To 200 To

then use button2 (copy confirmed demand to demand) it works fine

Basin Subfamily Quarter KF1(Demand) KF2(Photo Demand) KF3(Confirmend Demand)

100 70 20083 200 To 100 To 200 To

Second time:

When I used button 1(copy demand to photo demand) it's works fine.

Basin Subfamily Quarter KF1(Demand) KF2(Photo Demand) KF3(Confirmend Demand)

100 70 20083 200 To 200 To 200 To

I do the manual changes in Key figure(demand)

Basin Subfamily Quarter KF1(Demand) KF2(Photo Demand) KF3(Confirmend Demand)

100 70 20083 150 To 200 To 200 To

then use button2 (copy confirmed demand to demand )it didn't work fine

Basin Subfamily Quarter KF1(Demand) KF2(Photo Demand) KF3(Confirmend Demand)

100 70 20083 150 To 150 To 200 To

it executed the planning sequence running behind button 1

So, problem is my variable keep the last values. Please, help me to solve this problem.

Thanks and regards,

Deepak Singh