I have created a custom program to perform the component allocation in material routing using FM CP_BD_DIRECT_INPUT_PLMZ.
My intention is to modify the existing allocation ie reassignment of component from 1 operation to another operation. In this case in table PLMZ_DI_TAB I am passing the below parameters
VORKN = PLNKN of new operation
VORNR = new operation
PLNKN = BLANk
ReFKN = existing operation node in PLMZ
STLTY, STLNR, STLKN, STLAL, WERK_STL, STLST, STLWG, KANTE, BOMMAT, MATNR
But I am getting the below error message C\045 you cannot edit the task list object with activity type &.
I would like to know if I am missing any key parameters here..