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

How to call heuristics from custom program (Z-prohram)?


Hi,

Can any one let me know, how to call heuristics from custom program (Z-prohram)?

We would like to call heuricstic say (Fixed pegging heuristic, SAP_PP_019) from our own developed z-program.

How can we call that?

Regards,

Surajit Das

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Aug 12, 2014 at 02:39 PM

    Its basically /SAPAPO/HEUR_DO_HEURISTICS

    you get the information needed for i_heur_settings thru /SAPAPO/RRP_HEURISTIC_GET_DATA

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 14, 2014 at 10:57 AM

    Hi Surajit,

    I've found this post in which you are asking for calling an heuristic from a custom program. I need the same thing and it worked, but I don´t know how to COMMIT the changes in the system after running the heuristic.

    The heuristic I'm calling creates planned orders but are not saved in the system...

    Do you have an idea about how to solve it? Thanks a lot!

    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.