Hi gurus,
I have a custom program which calls an heuristic with the FM /SAPAPO/HEUR_DO_HEURISTICS. The heuristic I'm calling executes the algorithm /SAPAPO/HEU_PLAN_STANDARDLOTS and as result, new planned orders are created if needed.
My question is the following:
When I run the heuristic from the RRP3 transaction, I can see the new planned orders after the execution, and the orders are finally created in the system when I push in the 'Save' button.
But when I'm running the heuristic from my custom program, the new orders are not saved in the system. I think after tha calling to the FM for launch the heuristic, It's required some kind of commit work...
Does anybody know how to do this? My skills in APO are still so basic.
Best regards!