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

BDC SESSION

Former Member
0 Likes
949

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
909

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.

7 REPLIES 7
Read only

Former Member
0 Likes
909

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

Read only

Former Member
0 Likes
910

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.

Read only

0 Likes
909

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

Read only

Former Member
0 Likes
909

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

Read only

Former Member
0 Likes
909

hi

good

you can get the error record from the sm35tcode,and then you can start running the bdc program again .

thanks

mrutyun^

Read only

Former Member
0 Likes
909

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

Read only

Former Member
0 Likes
909

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.