cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problems with BAPI_ROUTING_CREATE

Former Member
0 Likes
1,510

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

View Entire Topic
Former Member

so, in case anyone else steps over that, I got it figured out.

The whole problem was that I parameterized the values 'VALID_TO_DATE', without it works. Holdup of 3 days!

Isn't SAP lovely?