Skip to Content
0
Former Member
Oct 19, 2009 at 10:33 PM

Problems with BAPI_ROUTING_CREATE

253 Views

Hello,

I'm trying to create a standard routing for a material by using the BAPI_ROUTING_CREATE function.

I can create a routing and I receive the export parameters GROUP and GROUPCOUNTER back without errors in RETURN. The routings exist and I can view the with the transaction CA03.

However the routings are not beeing linked to the material. They only exist as GROUP and therefore produciton orders can not be created for the material as there's no routing for it.

Am I missing a parameter? I've been trying everything. I populate the tables:

TASK STRUCTURE BAPI1012_TSK_C

MATERIALTASKALLOCATION STRUCTURE BAPI1012_MTK_C OPTIONAL

OPERATION STRUCTURE BAPI1012_OPR_C OPTIONAL

Thanks,

Nick