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

About session method

Former Member
0 Likes
679

Hi,

Dear All,

I have a doubt in BDC upload data using session method. Source file(.txt) contains 4500 records, in that 250 records contains wrong data, when you run session in SM35

System will process all records and create log file for all success and error records.

My doubts are ->

Q1. System will update 4250 records in database tables or not? If not when they update ?

Q2. If I want to process 250 records I need to run BDC program with corrected 250 records in source file or is there any why to do from SM35?

Thanks in advance....

regards,

meeravali.

1 ACCEPTED SOLUTION
Read only

GauthamV
Active Contributor
0 Likes
647

1. 4250 records will be updated.

2. check the errors in sm35, correct the file and reprocess.

6 REPLIES 6
Read only

GauthamV
Active Contributor
0 Likes
648

1. 4250 records will be updated.

2. check the errors in sm35, correct the file and reprocess.

Read only

Former Member
0 Likes
647

Hi,

Gautham,

thanks for your reply.

Read only

Former Member
0 Likes
647

Hi,

According to me in session method the first time when an error is encountered

it stops there only ...

u can use call transaction method..

In the Call transaction Method,

It will process all the records if the Update Mode is 'N', it will store all the error messages in BDCMSGCOLL structure. The errored records would be stored in that structure.

In Session Method,

It stops in the error record, it wont move further.

Reward point if useful..

Thnaks and regards,

Nishant

Read only

0 Likes
647

Hi,

Dear Nishant Rana ,

thnaks for your reply.

you told like 'session method the first time when an error is encountered

it stops there only ... ' but it does not stop.

I run session in SM35 with few 5 records, 4th records is error one, but system session does not stop processing next records, it continue and process 5th records also. When i check log file it process all records.

Read only

vinod_vemuru2
Active Contributor
0 Likes
647

Hi Meera,

As and when u ran ur session it will update all the successful records(4250) to database and creates error log for error records.

If the number of error records are few then generally we will correct the records in foreground and process them. If more then correct the file and run again.

Thanks,

Vinod.

Read only

0 Likes
647

Hi,

Dear Vinod,

thanks for your help.