I m searching for the bapi for the component allocation in routing.
Since routing is already created my work is to assign component allocation to the operation.
i tried with the BAPI_ROUTING_CREATE and /SAPMP/BAPI_ROUTING_PROCESS
BAPI_ROUTING_CREATE can be used only to create new routing.
But the /SAPMP/BAPI_ROUTING_PROCESS is going to short dump.
So any alternate please suggest.
Please provide sample code to assign component allocation.