on 12-13-2014 1:40 PM
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!
Finally got the solution. FM '/SAPAPO/RRP_COMMIT'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hope the Simesession and simversion parameter values are populated correctly in the custom program..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you try by using the COMMIT WORK after the Function module call.
Regards,
TP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.