‎2007 Jun 15 5:42 AM
hi all,
am uploading 10000 records using bdc.. due to one error record the process s stopped.. wat i have to do then.. whether i have to repeat the process after capturing the error record??????
thanks
Ashu.
‎2007 Jun 15 5:46 AM
Hi,
If there is any error in one of the record..You can create a BDC session for the errored records..
which can be processed using the transaction SM35..
Thanks,
Naren
‎2007 Jun 15 5:46 AM
Hi,
If there is any error in one of the record..You can create a BDC session for the errored records..
which can be processed using the transaction SM35..
Thanks,
Naren
‎2007 Jun 15 5:47 AM
hi naren..
my question is how to process the further records????
thanks
Ashu
‎2007 Jun 15 6:08 AM
hi,
Go to sm35 select the session and then u can check the log file ....... it will give the error records list ... u can identify the records by index number........ then go to flat file what are the error records are they, modify those records .
then execute the program ............ once again........
‎2007 Jun 15 6:13 AM
Hi Ashu,
BDC can be done in 5 methods.
Most popular methods used :
1. Call transaction
2. Batch INput Session
Others : 3.Recording 4.Direct Input and 5.LSMW
Session method: The records are not added to the database until the session is processed. sy-subrc is not returned. Error logs are created for error records. Updation in database table is always Synchronous.
Call Transaction method: The records are immediately added to the database table. sy-subrc is returned to 0 if succesful. Error logs are not created and hence the errors need to be handled explicitly. Updation in database table is either Synchronous or Asynchronous.
In your case if you are using Call Transaction, then insted of that try Using Session method. In Session method, even when an error occurs with one record, it will continue for the other records, storing the error in the error logs which u can see them in SM35.
Regards,
Sree.
PS: Reward points if Useful.