cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

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

0 Likes
View Entire Topic
Former Member
0 Likes

so, I tried to do the component allocation:

VALID_FROM = "1.1.2009"

VALID_TO_DATE = 31.12.9999"

ACTIVITY ="0010"

BOM_TYPE = " "

BOM_NO = " 00002901"

ALTERNATIVE_BOM = "1"

ITEM_ID = "00000001"

ITEM_NO = "0010"

COMP_QTY = "1"

COMP_UNIT = "ST"

PLANT = "1000"

MATERIAL = "MB_002"

BOM_TYPE_ROOT = " "

BOM_NO_ROOT = "00002901"

ALTERNATIVE_BOM_ROOT = "1"

also tried:

SEQUENZE_NO and OPERATION_ID

I always get the error "CPCC_DT 206 The component to be assigned has not been completely..."

Anyone has some help here please? I didn't find any solution by searching.

Regards, Nick