Skip to Content
author's profile photo Former Member
Former Member

Planning Function Execution Using Formula Function

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 11, 2005 at 12:54 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 11, 2005 at 03:06 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

  • Posted on Oct 12, 2005 at 03:02 PM

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

    Regards

    Rob

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.