<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: call transaction method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-method/m-p/2397184#M533704</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The default is 'A' Asynchronous update mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jun 2007 05:16:39 GMT</pubDate>
    <dc:creator>gopi_narendra</dc:creator>
    <dc:date>2007-06-05T05:16:39Z</dc:date>
    <item>
      <title>call transaction method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-method/m-p/2397183#M533703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the default update mode  in call transasction method?&lt;/P&gt;&lt;P&gt;syncronous or asyncronous?  why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 05:14:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-method/m-p/2397183#M533703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-05T05:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-method/m-p/2397184#M533704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The default is 'A' Asynchronous update mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 05:16:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-method/m-p/2397184#M533704</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2007-06-05T05:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-method/m-p/2397185#M533705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syncronous is the Default for Call transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A synchronous Workflow task must be executed before control is passed to the next step. It is used for tasks that do not involve required updates, because once the workitem is executed, control is passed on to the next step without checking the success or failure of any update that might or might not have taken place. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 05:17:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-method/m-p/2397185#M533705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-05T05:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-method/m-p/2397186#M533706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 'A' - Asynchronous mode is the default one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Santosh Kumar Patha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 05:17:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-method/m-p/2397186#M533706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-05T05:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-method/m-p/2397187#M533707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Synchronous only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 05:17:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-method/m-p/2397187#M533707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-05T05:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-method/m-p/2397188#M533708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     The default is 'A' Asynchronous update mode.&lt;/P&gt;&lt;P&gt; 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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asynchronous processing is NOT recommended for processing any larger amount of data. This is because the called transaction receives no completion message from the update module in asynchronous updating. The calling data transfer program, in turn, cannot determine whether a called transaction ended with a successful update of the database or not. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use asynchronous updating, then you will need to use the update management facility (Transaction SM12) to check whether updates have been terminated abnormally during session processing. Error analysis and recovery is less convenient than with synchronous updating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L Local updating. If you update data locally, the update of the database will not be processed in a separate process, but in the process of the calling program. (See the ABAP keyword documentation on SET UPDATE TASK LOCAL for more information.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 05:19:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-method/m-p/2397188#M533708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-05T05:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-method/m-p/2397189#M533709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sandya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;default update mode is &amp;lt;b&amp;gt;'A'-asyncronous&amp;lt;/b&amp;gt; mode,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this can update the database at a single shot that means we can save the time here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;seshu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 05:22:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-method/m-p/2397189#M533709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-05T05:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-method/m-p/2397190#M533710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it is Asynchronous&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 05:22:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-method/m-p/2397190#M533710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-05T05:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-method/m-p/2397191#M533711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
A program that uses CALL TRANSACTION USING to process legacy 
data should execute the following steps:

Prepare a BDCDATA structure for the transaction that you wish to run. 
With a CALL TRANSACTION USING statement, call the transaction and 
prepare the BDCDATA structure. For example:

CALL TRANSACTION 'TFCA' USING BDCDATA 
MODE 'A'
UPDATE 'S'.
MESSAGES INTO MESSTAB.

IF SY-SUBRC &amp;lt;&amp;gt; 0.

 &amp;lt;Error_handling&amp;gt;.

ENDIF.

The MODE Parameter

You can use the MODE parameter to specify whether data transfer 
processing should be displayed as it happens. You can choose 
between three modes: 

A Display all. All screens and the data that goes in them appear 
when you run your program. 

N No display. All screens are processed invisibly, regardless of 
whether there are errors or not. Control returns to your program as 
soon as transaction processing is finished. 

E Display errors only. The transaction goes into display mode as soon as 
an error in one of the screens is detected. You can then correct the error.

The display modes are the same as those that are available for processing 
batch input sessions. 

The UPDATE Parameter

You use the UPDATE parameter to specify how updates produced by a 
transaction should be processed. You can select between these modes: 

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.

Asynchronous processing is NOT recommended for processing any larger 
amount of data. This is because the called transaction receives no completion 
message from the update module in asynchronous updating. The calling data 
transfer program, in turn, cannot determine whether a called transaction ended 
with a successful update of the database or not. 

If you use asynchronous updating, then you will need to use the update 
management facility (Transaction SM12) to check whether updates have 
been terminated abnormally during session processing. Error analysis and 
recovery is less convenient than with synchronous updating.

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. 

L Local updating. If you update data locally, the update of the database will 
not be processed in a separate process, but in the process of the calling 
program. (See the ABAP keyword documentation on SET UPDATE TASK LOCAL
 for more information.)



When you transfer data in ABAP, you have three options to submit the data for the data transfer. Only the first two methods can be recommended without reservation. The third method, by way of CALL DIALOG, is outmoded. CALL DIALOG is less comfortable than the other methods. You should use it only if you must.

Use the CALL TRANSACTION USING statement
Summary: With CALL TRANSACTION USING, the system processes the data more quickly than with batch input sessions. Unlike batch input sessions, CALL TRANSACTION USING does not automatically support interactive correction or logging functions.

Your program prepares the data and then calls the corresponding transaction that is then processed immediately.

The most important features of CALL TRANSACTION USING are:

Synchronous processing 
Transfer of data from an individual transaction each time the statement CALL TRANSACTION USING is called 
You can update the database both synchronously and asynchronously
The program specifies the update type

Separate LUW (logical units of work) for the transaction
The system executes a database commit immediately before and after the CALL TRANSACTION USING statement 

No batch input processing log
Create a session on the batch input queue.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points  if it is  usefull  .......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 06:42:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-method/m-p/2397191#M533711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-05T06:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-method/m-p/2397192#M533712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2007 06:50:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-method/m-p/2397192#M533712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-03T06:50:56Z</dc:date>
    </item>
  </channel>
</rss>

