Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

error trap between BDC Program

Former Member
0 Likes
545

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,

4 REPLIES 4
Read only

Former Member
0 Likes
513

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

Read only

0 Likes
513

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.

Read only

0 Likes
513

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.

Read only

0 Likes
513

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.