‎2011 Aug 26 5:02 PM
Hi All,
Currently I am working on creation and change of Routing using BAPI's . I could find the routing create bapi BAPI_ROUTING_CREATE and it is working fine.
Can some one help in identifying the BAPI/Function Module for modifying /changing the Routing. For changing details in routing currently we are using t code CA02.
Thanks ,
Vengal Rao.
‎2011 Aug 26 5:40 PM
Hi All,
I am looking for the function module which will help me to add data into Material Allocation tab in Routing (CA02).
Any solutions Please.
Regards,
Vengal Rao.
‎2011 Aug 26 6:15 PM
‎2011 Aug 26 5:53 PM
have a look at the APIs behind the EWB. They allow you to make any kinds of changes to the routings.The only issue i have had with them is that they are VERY SLOW.
start by looking at note 488765, and the enclosed sample program in the note. i was able to easily tailor my requirement around the sample program.
‎2011 Aug 26 7:25 PM
Hi David,
Thanks for the OSS Notes. I looking into it and could locate the function module required. Having some issues.
But one thing - I could not locate the sample program as you said in the note.
Thanks,
Vengal Rao.
‎2011 Aug 26 7:31 PM
if you go to the section labeled "Correction Instruction" there will be a link (on the correction number). click that, and there you will see a link to the program Z_SIMPLE_EWB. click this, and copy it into the ABAP workbench.
‎2011 Aug 26 8:46 PM
Hi David,
Thanks , could see the program, my version of SAP is ECC 6.0 so the correction instructions notified is not applicable to me .
Anyhow still looking into it.
Regards,
Vengal Rao.
‎2011 Aug 29 2:06 PM
‎2011 Aug 29 3:22 PM
Hi,
the one and only FM to change routing is
CP_BD_DIRECT_INPUT_PLAN
regards Joerg
‎2011 Aug 30 3:24 PM
Hi Joerg,
Thanks for the function module. A small issue I am facing. when executing it some data in it I am getting error message
as follow: HIGH_MSGTY - E , ERROR_FROM - 1, ERROR_TO - 1, OBJ , D_IND - 0000000001 .
Please guide me how to identify this error message.
Thanks,
Vengal Rao.
‎2012 Mar 21 9:35 AM
Try to use ROUTING_MAINTAIN.
Here you can even handle the fields, which should be changed.
Regards,
Mario