‎2006 Jul 25 7:52 PM
Hi All,
I am trying to use the above BAPI to create a new routing, but it keeps on giving me different errors. Does anyone have a reference program which I could use.
Regards,
K
‎2006 Jul 25 8:09 PM
‎2006 Jul 25 8:18 PM
Hi,
check out this:
https://www.sdn.sap.com/irj/sdn/profile?userid=2754143
reward if helpful.
regards,
keerthi.
‎2006 Jul 25 8:22 PM
‎2006 Jul 25 8:47 PM
Hi,
My code is as follows:
task-VALID_FROM = sy-datum.
task-VALID_TO_DATE = '99991231'.
task-task_list_usage = '1'.
task-plant = '1000'.
task-task_list_status = '4'.
task-TASK_MEASURE_UNIT = 'PC '.
task-DESCRIPTION = 'TEST1'.
APPEND task.
*materialtaskallocation-group_counter = '1'.
materialtaskallocation-material = '958'.
materialtaskallocation-plant = '1000'.
APPEND materialtaskallocation.
And then I call the BAPI...
It gives the following Error:
E |BAPI |001
W |CPCC_DT |009 |The valid-from data has been set from today
A |M3|351 |Material 958 not maintained in plant 1000<
I also checked in the MAST table and there is an entry for the combination..
Regards,
K
‎2006 Jul 25 9:02 PM
‎2006 Jul 25 9:03 PM
‎2006 Jul 25 9:04 PM
‎2006 Jul 25 9:11 PM
I had tried that as well, it then gives an error:
E |CP |284 | Unit ****** cannot be converted to unit PC from material master 958
I am not sure which unit it is checking against. On Debug found that it checks against : meins = ST.
Not sure from where this is coming..