‎2008 Jul 09 4:13 AM
Hi friends,
Currently i am working with BDC. Here I have done the recording and created a program. Then created a session and for testing my program i have processed that session in foreground but here i got some errors while running then i went to overview and saw the record.
My main question is suppose in my session if it contains both sucessful and error records then this sucessful records will be updated in DB and how can i process this error records again.
Can any one guide me its urgent.
Thanks in advance.
‎2008 Jul 09 4:21 AM
Hi,
you can directly process the error records which ever in session in sm35. oter wise againg update the file with error records after corrections.
Regards.
sriram.
‎2008 Jul 09 4:17 AM
Hi Niki,
You need to Manullay update the error records using transaction or again you can run the batch program to upload.
Generally you dont find many error records so for those error records we manually enter through transaction.
Best regards,
raam
‎2008 Jul 09 4:24 AM
Hi Friends,
Thanks for ur replay,
No main main doubt is if my session has two records if first is sucessful and second is error. Whether this sucessful record is updated in DB and how to handle this error if i have huge amount of records.
Pls guide me.
‎2008 Jul 09 4:27 AM
Hi Niki,
The success records get updated in the database.
If you have too many error records then you can again go for upload program.
Best regards,
raam
‎2008 Jul 09 4:35 AM
Hi Niki,
Actually you need to created an internal table to hold the error records ... I mean to say that ( BDC_INSERT ) if sy-subrc ne 0 then you need to pass the records to an internal table ..
once you complete the BDC process then you need to download this records into an flat file (XLS,TXT,other).. and you need to check manually each and every record where its getting error and you need to correct the error and process the session once againg with this records ... ( functional consultant will do this correction)..
Reward Points if useful *
Raghunath.S*
9986076729
‎2008 Jul 09 4:35 AM
Thanks a lot kodhandaram.
Whether i want to take same flat file to process error records or i have to prepare a new flatf ile and process. If i use same flat file(old) means it wont effect the sucessful records which has runned previously.
with regards,,,
‎2008 Jul 09 4:38 AM
Hi Niki,
As Raghunath said you need to download the error records in to a file and the use the file to upload the records .
Best regards,
raam
‎2008 Jul 09 4:19 AM
Hi niki,
After proceesing all successful records in background (or) foreground.You need to process that session using option 'Display errors only'.Then it will take you directly to the error screen, there you need to correct error manually and need to proceed further.
Hope this will help you.
‎2008 Jul 09 4:21 AM
Hi,
you can directly process the error records which ever in session in sm35. oter wise againg update the file with error records after corrections.
Regards.
sriram.