cancel
Showing results for 
Search instead for 
Did you mean: 

Need Work Center from Master Recipe Group Number

harshv12
Explorer
0 Kudos

Hello All

I have re requirement that i need to get work center name from master recipe group.

One approach I am trying to follow is getting the Object id from PLPO table for respective group number and then check CRHD table for work center, but there are any Group number having multiple object id due changes done to it.

So, is there any accurate and efficient way to get the work center from Recipe group number?

View Entire Topic
janbuchmann
Contributor
0 Kudos

Hi

What are a missing is the group counter. A task list (and as such a master recipe) is uniquely identified by recipe type (PLNTY), recipe group (PLNNR) and group counter (PLNAL). However, in order to read table PLPO you first need to select PLNKN from table PLAS. And there is another complication: since master recipes can be subject to change numbers, you might get multiple records due to multiple master recipe changes. You might therefore be better off using a function module, e.g. CARO_ROUTING_READ

Jan