‎2006 Dec 12 11:27 AM
I have create BDC program for transaction CA21 to create rate routing.
in this BDC we are copying from the existing one.
So in this process system will give error msg for workcenter is not valid for some plant.
this can be changed to some valid value in manual transaction, But how to trap this in BDC program.
Thanks,
‎2006 Dec 12 11:32 AM
Hi harish,
The next time when you run the bdc for error records only, you should change the values in the file itself.
Or you can run the bdc in Error mode (MODE E). There you can manually change the values and continue.
Regards,
Ravi
‎2006 Dec 12 11:43 AM
Thanks for repyin.
The way you are talking about is the last I am going to choose.
But is there any other way to do the same?
Because here system is giving error because we are copying data from existing rate routing information. and i have already passed correct value in file.
But because of this error, system stops processing BDC.
of if any other way then you are welcome.
‎2006 Dec 12 11:59 AM
Hello,
When program reads data record then first check whether for each record workcentre is valid for given plant in record.if not put these records in error table Else proceed with data,
After complete processing download error internal table & change it's contents to valid values & reprocess the same.
Thanks.
‎2006 Dec 12 1:05 PM
please do one thing, go to CA21 transaction=>give material, plant=>select copy from=>select rate routing=>give details from which to copy=>give status=>now operation check screen gives error
here work center is being copied from which we are copying rate routing details.