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

session method

Former Member
0 Likes
569

Iam updating 10 records . I had an error in 5 th and 8th record .

Will the remaining records get updated in session method.

What happens in call transaction method.

We need to process only error records or all records again in session method.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
545

hi jeeven,

in session method by default it can maintain log(error) file, that u can see in t.code 'sm35',

select your session name ->(which u have given in Function module 'BDC_OPEN_GROUP' under group parameter.)

process->

then u can able to see the error records remaining all can updated in database.

if it's call transaction method then you should maintaion log file structure called BDCMSGCOLL.

regards..

seshu.

5 REPLIES 5
Read only

Former Member
0 Likes
545

Hi,

we can process error records only.

first down loa that reacords and correcr it and upload once again

pls reward if it helpful

thanks

vana

Read only

0 Likes
545

Hi,

U have to upload all the data again bcoz bdc session method doesnt update the record until n unless the session is not completed successfully.

Regards,

Sunny

Read only

Former Member
0 Likes
546

hi jeeven,

in session method by default it can maintain log(error) file, that u can see in t.code 'sm35',

select your session name ->(which u have given in Function module 'BDC_OPEN_GROUP' under group parameter.)

process->

then u can able to see the error records remaining all can updated in database.

if it's call transaction method then you should maintaion log file structure called BDCMSGCOLL.

regards..

seshu.

Read only

former_member196299
Active Contributor
0 Likes
545

hi ,

You can process only error records .open the log , correct the records and process the session again .

Regards,

Ranjita

Read only

Former Member
0 Likes
545

hi,

Session method.

error log is created

data is not updated until session is processed.

from the error log we can update the 5 th and 8th record .

<u><b>Call transaction.</b></u>

errors need to be handled explicitly

data is updated automatically

For Update you have

A - asynchronus - does not wait for next update in the queue

S - Synchronus - waits until the previous update is completed before a new request is considered

L - Local update - Uses a different work process to trigger call function in update task.

In synchronus method until one record process takes place into database next record will not be processed.

In asynchronus immedate updation of data into database table.

Check this link for more detailed information:

http://fuller.mit.edu/tech/sync_asynchronous.html

'A', 'S' and 'L' are the update modes in CALL transaction method.

I will give you a simple example to explain this.

Suppose that there are 30 records in total and an error has occured in the 5th record.

In asynchronous, update is done for every 30 records while in synchronous one,

update is done only upto the 4th record.

So only after the record in the fifth one is eliminated, remaining others are processed.

Rgds

Reshma