‎2007 Jun 13 5:48 AM
HAI,
I BDC SESSION METHOD AFTER SUBMITTING SESSION IT GIVES SOME RECORD AS ERROR . NOW I WANT TO SELECT THAT ERROR RECORD DATA FORM LOG OR FLAT FILE IN ONE MORE FILE OR INTERNAL TABLE TO RUN BDC PROGRAM ONCE AGAIN. HOW ?
THANK YOU
ASHOK KUMAR
‎2007 Jun 13 6:00 AM
hi,
In Sm35 only u can reprocess that session,check error log for that
We have the tables BDCLD and BDCLM, which will capture the log details
inthe session. Firstly, sesssion should be processed. After that log
will be created. Then caputure the information into an internal table
using BDCLM and BDCLD.
for downloading log data then use Program : RSBDCLOG
and reprocess the session.
‎2007 Jun 13 5:55 AM
Hi Ashok,
Goto SM35 tcode
and you can process that Error record session again from there itself in foreground or in background.
Reward points for useful Answers
Regards
Anji
‎2007 Jun 13 6:00 AM
hi,
In Sm35 only u can reprocess that session,check error log for that
We have the tables BDCLD and BDCLM, which will capture the log details
inthe session. Firstly, sesssion should be processed. After that log
will be created. Then caputure the information into an internal table
using BDCLM and BDCLD.
for downloading log data then use Program : RSBDCLOG
and reprocess the session.
‎2007 Jun 13 6:22 AM
HAI,
IN SAP I DID NOT FIND PROGRAM RSBDCLOG. PLEASE CHECK IT ?
IF YOU HAVE CODE TO DOWN LOAD LOG INTO FILE OR INTERNAL TABLE PLEASE SEND IT
THANK YOU
ASHOK
‎2007 Jun 13 6:07 AM
need not to execute the program again ...
just run the same session in foreground/error mode and supply the correct data so that the date will be updateed ...
if your error data is too many then .... see the error log in the sm35 .... take the success records and eliminate it from the FILE .... AND NOW run the program again before that correct the values/data in the file to be correct .... but lock the previous session not to run by others ...
now execute the session with new name and process it ...
Girish
‎2007 Jun 13 6:09 AM
hi
good
you can get the error record from the sm35tcode,and then you can start running the bdc program again .
thanks
mrutyun^
‎2007 Jun 13 6:42 AM
Hi,
Once u run BDC session method all the errors will store in the LOG file, so go to SE 35 then select the that log file then click on Process button. it will show all the errors.
So please reward me a points if it use full answer.
praveen
‎2007 Jun 13 7:13 AM
Hi,
BDCUSEOP table, this table is related sm35 log file. u declare into ur program and move all fields into BDCLD structure. first u declare this structure into an internal table. then loop that internal table. then u display that u will get all values.
Please reward a points if it use full answer.