Showing results for 
Search instead for 
Did you mean: 

Heuristics execution from custom screen in APO

Former Member
0 Kudos


I'd like to execute heuristics from custom screen in which we can select operations and planned orders.

How can I call the heuristics? Is there any BADI or anything?

I want to execute "SAP003" heuristics known as manual sequence scheduling. This algorithm (function module) is "/SAPAPO/HEUR_PLAN_SEQUENCE_MAN", but I don't think it's good way to call it directly because some planning data and parameters should be inputted and some data should be read from live cache before calling this function module. Which program/function module should be called?

Would you give me some advice?


View Entire Topic
Former Member
0 Kudos

you can change the Std Heuristics with your Custom Heurstic with BADI's.

You can do it by BADI :/SAPAPO/RRP_HEUR_DO

Also check BADI:


Tcode for BADI :SE18/SE19.


Former Member
0 Kudos


Thank you very much for prompt reply.

I'll check the BADI with my colleague since I'm application side.