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 method

former_member197870
Participant
0 Likes
708

Suppose i have four transaction FI records in a text file and i use session method of bdc to process.

1. Accounting doc generated

2. Accounting doc generated

3. goes in error

4.Accounting doc generated

My question is:

As session goes in error in third record.Next time when you execute

session would be resumed from third record ,then it will attempt fourth or in first time only

it will put third record in error and consequently process fourth record.

This means when i re-execute only error ones will be processed  and success  will happen on first execution itself  for possible ones ?

5 REPLIES 5
Read only

Chintu6august
Contributor
0 Likes
679

Hi,

if you cancel the processing after 3rd record as system prompt "whether you want to continue of not after errorous record" while processing the session again after correcting the record it wont start from the first,It will start from the place where it ends with error and in background process it will update all the record if you reiterate it.


thanks!!

Read only

Former Member
0 Likes
679

Yes - only the error transactions will be processed.

Rob

Read only

Former Member
0 Likes
679

Hi,

I am assuming that you are running sessions in background mode.

When you first time run the session it will process all successful records irrespective of the number.

when you run the session second time it will process the only error records.

as shown by you

1. Accounting doc generated

2. Accounting doc generated

3. goes in error

4.Accounting doc generated


it will process records 1,2 and 4th on first run.


if you run it again then it will process only 3rd record.


it is not like you are assuming, if 3rd records goes to error it does not mean session will not process 4th record in first run.It will process the all correct records on first run.


Regards

Chudamani Gavel


Read only

0 Likes
679

hi,

as shown by you

1. Accounting doc generated

2. Accounting doc generated

3. goes in error

<<<< if I continue process the session when system gives a prompt here, the system will process the fourth record and on the next run it will only update the 3rd record

<<<< if I don't continue the processing of session, then on  the next iteration session processing will start from 3rd record.

4.Accounting doc generated

I hope now i made myself more clear.

thanks!!

Read only

0 Likes
679

Hi,

<<<< if I continue process the session when system gives a prompt here, the system will process the fourth record and on the next run it will only update the 3rd record

<<<< if I don't continue the processing of session, then on  the next iteration session processing will start from 3rd record.

4.Accounting doc generated


Yes,in this case it will start processing again from 3rd record.


Regards

Chudamani Gavel