11-08-2006 6:25 AM
hi all,
After running a BDC program in background, next
day morning when i see the results, few records
are not updated(error records). What should i do
then? plz give steps
Thanks & Regards
sanjeev
11-08-2006 6:31 AM
If you are using SESSION method.
1. Go to SM35.
2. Select the session.
3. Click on "Analysis" button in application toolbar.
4. Select "Incorrect" from the radiobutton group.
5. Select tab "Log Created..."
6. Understanding the errors from here can help to take the necessary measures.
If you are using CALL TRANSACTION, program should internally handle the errors by catching them via MESSAGES addition...
Hope this helps you.
Kind Regards
Eswar
11-08-2006 6:31 AM
If you are using SESSION method.
1. Go to SM35.
2. Select the session.
3. Click on "Analysis" button in application toolbar.
4. Select "Incorrect" from the radiobutton group.
5. Select tab "Log Created..."
6. Understanding the errors from here can help to take the necessary measures.
If you are using CALL TRANSACTION, program should internally handle the errors by catching them via MESSAGES addition...
Hope this helps you.
Kind Regards
Eswar
11-08-2006 11:03 AM
hi eswar,
after seeing the log i get to know where the errors occurs.so after that what i have to do to correct the errors.plz give the steps i have to carry out now after seeing the errors in log using session method.
11-08-2006 11:25 AM
if u are using call transaction method
u have to create a error session. it is created by creating a session and then sending the error records into that session. these errors can be dealt form tcode sm35
if session
directly go to sm35 and process the session it would prompt for the right input data.
in some cases u download the wrong data and send to client for verification.
santhosh
11-08-2006 1:20 PM
HI Sanjeev
If we use SESSION method, we can re-process the session after making necessary ammendments to data. If we use CALL TRANSACTION method, we have to see that we have to handle explicitly the way that we process only the error records.
Error transactions can happen due to various reasons like:
1. Mandatory fields not populated.
2. Wrong data format.
3. Dependent data locked by other user
4. Missing master data.
and many more, though i can re-collect at this point of time.
For 1, 2 and 3 from the above we can re-process the session and rectify them.
For 4 the necessary master data setup has to done by authorized people before we can re-process the same.
Hope the info helps you...
Kind Regards
Eswar
11-08-2006 12:15 PM
hi Sanjeev,
Afet going to SM35 then Select u'r session name and press on Analysis Button. Then after that Select the Log Tab in which u will get the message Due to which Error occured. By seeing them Just Try to change the Required.
Ok bye
Murthy
11-08-2006 12:39 PM
Hi Sanjeev,
If the updation did not occur due to error in data, and if there are not too many records that have not been updated, you can complete the bdc updation manually.
That is,
1. Go to SM35.
2. Select your session.
3. Process it in error mode.
4. Only screen which caused the error will now appear.
5. Manually input the wrong data with the correct data and continue.
Your BDC updaton will be complete.
Hope this was of use to you.
Thanks and Regards,
Susmitha