cancel
Showing results for 
Search instead for 
Did you mean: 

Planning Function Execution Using Formula Function

Former Member
0 Kudos

Is there a way to execute a "planning function" N times in a formula function and being able to change the parameters of the "planning function" on each iteration.

Regards,

salman

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

You could try multiple planning packages and include the function several times in a global planning sequence.

Regards

Rob

Former Member
0 Kudos

Salman,

FOX functions are not as powerful as exit functions in making external calls to other programs & Functions.

As Riccardo mentioned, you can't call a planning function from a given FOX function.

from within exit function, you can call any planning function including FOX function, planning sequence, global planning sequence.

have a look at the following Function Module as well.

API_SEMBPS_FUNCTION_EXECUTE

It has documentation as well with it, to help you understand better.

hope it helps.

ven_v
Explorer
0 Kudos

Salman,

You should go for any kind of Exit functions when they are really required, I guess your requirement is like such that you have certain selections different in your level and accordingly you are planning.

Then you should go on creating packages as many different selections you can on a level and you call them up using a sequence.

That's good way to deal this, I hope this is a helpfull input for you

Best Regds,

Ven

Former Member
0 Kudos

Hello Salaman,

to execute a planning function and change the parameters on each iteration you can use an exit function.

In the exit function you can call FM (or program, i don't remember) UPC_BUNDLE_EXCECUTE to execute the planning function.