09-17-2015 4:03 PM
Hi Gurus,
I hope someone can help me.
I've this kind of problem.
I have to simulate in a Z report PP routing sheduling (CA02/03 -> Operation overview -> Extras -> Scheduling -> Schedule).
Does anyone know how to do it via FM or any other way? I try with CX_PLAN_SCHEDULE and CX_DI_PLAN_SCHEDULE but no way.
Thank you.
Simone
09-17-2015 4:17 PM
Hi
CX_PLAN_SCHEDULE has Not Released flag on properties, as CX_DI_PLAN_SCHEDULE.
This means that this function module is used internally by SAP standard programs.
Did you try BAPI_ROUTING_PROCESS?
Hope to help
Bye
09-17-2015 4:21 PM
Hi Roberto,
thank you for your reply.
Sorry but I cannot find BAPI_ROUTING_PROCESS on my system. Any other idea?
Bye
Simone
09-17-2015 4:35 PM
Full name is /SAPMP/BAPI_ROUTING_PROCESS.
Anyway, try BAPI_ROUTING_CREATE that is called from inside the first one..
You'll need to feed structures like: operation, task, materialtaskallocation, etc.
Bye