‎2006 Aug 09 9:25 PM
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.
‎2006 Aug 09 9:43 PM
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
‎2006 Aug 09 9:29 PM
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,
‎2006 Aug 09 9:30 PM
HI,
In a synchronous updation, the sequence of update is maintained and unless the first record is updated no other records are updated.
Regards
‎2006 Aug 09 9:34 PM
Check out this link. It clearly explains Synchronous and Asynchronous update.
http://help.sap.com/saphelp_46b/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
‎2006 Aug 09 9:43 PM
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
‎2006 Aug 09 11:08 PM
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.
‎2006 Aug 09 11:17 PM
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
‎2006 Aug 09 11:17 PM
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