Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Bapi/Fn Module for changing Routing

Former Member
0 Likes
5,059

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.

10 REPLIES 10
Read only

Former Member
0 Likes
3,863

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.

Read only

0 Likes
3,863

Have you looked at "BAPI_ROUTING_CREATE"?

Read only

Former Member
0 Likes
3,863

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.

Read only

0 Likes
3,863

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.

Read only

0 Likes
3,863

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.

Read only

0 Likes
3,863

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.

Read only

0 Likes
3,863

i am also in ECC 6.0, and it works fine.

Read only

former_member353207
Participant
0 Likes
3,863

Hi,

the one and only FM to change routing is

CP_BD_DIRECT_INPUT_PLAN

regards Joerg

Read only

0 Likes
3,863

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.

Read only

mario_ecker
Explorer
0 Likes
3,863

Try to use ROUTING_MAINTAIN.

Here you can even handle the fields, which should be changed.

Regards,

Mario