cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos


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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Its basically /SAPAPO/HEUR_DO_HEURISTICS

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

Former Member
0 Kudos

Dear ,

Thank you for your prompt and correct feedback. It worked.

Warm Regards,

Surajit Das

Answers (1)

Answers (1)

Former Member
0 Kudos

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!