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 Member
0 Likes
824

Hi,

What does thie sentence means "Session method process the date Asynchronously and updates the Database

Synchronously" ?I want the exact essence of Synchronous and Asynchronous in the above sentence?

Regards,

Gopi.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
796

Gopi,

That means when u create a session through session method and start processing this session method

first of all the record what ever u r having in the flat file get validates this is asynchronous processing

in detail means after processing the first record the cursor will not go to the data base rather than going there it will again process the second record for validation like this it will not complete the total process with the first record but control leads to second record processing this is called as asynchronous processing

After the total session processed the session will take the correct records and update the datebase record by record.

Regards,

Naveen

7 REPLIES 7
Read only

Former Member
0 Likes
796

gopi ,

"Session method process the data Asynchronously and updates the Database Synchronously means it process all records at a time and updates the data base record by record.

Thanks,

Read only

Former Member
0 Likes
796

HI,

In a synchronous updation, the sequence of update is maintained and unless the first record is updated no other records are updated.

Regards

Read only

0 Likes
796

Check out this link. It clearly explains Synchronous and Asynchronous update.

http://help.sap.com/saphelp_46b/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm

Read only

Former Member
0 Likes
797

Gopi,

That means when u create a session through session method and start processing this session method

first of all the record what ever u r having in the flat file get validates this is asynchronous processing

in detail means after processing the first record the cursor will not go to the data base rather than going there it will again process the second record for validation like this it will not complete the total process with the first record but control leads to second record processing this is called as asynchronous processing

After the total session processed the session will take the correct records and update the datebase record by record.

Regards,

Naveen

Read only

0 Likes
796

Hi Naveen,

Thanks for the explanation. Then what abt Call Transaction method in ther the stmt is " It process the data Synchronously and updates the database Asynchronously"?Can u explain for this .

Thanks & Regards,

Gopi.

Read only

0 Likes
796

Call transaction can be processed in Synchronous as well as asynchronous mode. If you see syntax of CALL TRANSACTION, you will find the details for the same.

Message was edited by: Ashish Gundawar

Read only

0 Likes
796

Per SAP Help, In CALL TRANSACTION if the UPDATE parameter is

A- Asynchronous updating. In this mode, the called transaction does not wait for any updates it produces to be completed. It simply passes the updates to the SAP update service. Asynchronous processing therefore usually results in faster execution of your data transfer program.

S Synchronous updating. In this mode, the called transaction waits for any updates that it produces to be completed. Execution is slower than with asynchronous updating because called transactions wait for updating to be completed. However, the called transaction is able to return any update error message that occurs to your program. It is much easier for you to analyze and recover from errors.

~Suresh