<?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: diff between Processing and Execution in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-processing-and-execution/m-p/2556960#M582808</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;synchronous processing is  that in which the progaram can not continue to execute until u get the response from it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;execution is normal execution of the prgram which can be either synchronous and asynchronous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;example&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

data: oref type ref to CX_SY_DYN_CALL_ILLEGAL_FUNC,
      text type string  .

try.

CALL FUNCTION 'ABAP4_CALL_TRANSACTION' 
  EXPORTING
    tcode                   = 'SM59'"                   
"transaction sm59  opens in same session
  
EXCEPTIONS
    call_transaction_denied = 1
    tcode_invalid           = 2
    OTHERS                  = 3.
IF sy-subrc &amp;lt;&amp;gt; 0.
 MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.


CASE sy-subrc.

  when 1.
    WRITE :/ 'call transaction denied'.

  WHEN 2.
    WRITE :/ ' transaction doesnot exist'.

ENDCASE.

catch CX_SY_DYN_CALL_ILLEGAL_FUNC  into oref.

text = oref-&amp;gt;get_text( ).


endtry.

WRITE / text.

WRITE: / 'End Of Demo For Synchronous RFC'.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ravish&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz dont forget to reward points if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jul 2007 12:42:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-17T12:42:04Z</dc:date>
    <item>
      <title>diff between Processing and Execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-processing-and-execution/m-p/2556958#M582806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please Help Me??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is synchronous processing and Execution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 09:01:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-processing-and-execution/m-p/2556958#M582806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T09:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: diff between Processing and Execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-processing-and-execution/m-p/2556959#M582807</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;In &amp;lt;b&amp;gt;synchronous processing&amp;lt;/b&amp;gt;, the program waits: control returns to the program only when the task has been completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In asynchronous processing, the program does not wait: the system returns control after merely logging the request for execution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To run an external, non-SAP program, you must identify the host to run the program on and the path to the program as well as any arguments the program needs. The background processing system runs the external program by starting the SAP server program SAPXPG on the target host system and then uses RFCs to communicate with SAPXPG. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also specify how to manage the execution of the external program. For example, in &amp;lt;b&amp;gt;synchronous execution&amp;lt;/b&amp;gt;, the background job waits until SAPXPG returns with the final status of the external program, while in asynchronous execution, the job proceeds immediately to the next job step once it has started SAPXPG. &amp;lt;b&amp;gt;Synchronous execution&amp;lt;/b&amp;gt; also allows you to retrieve error output and a return code from the external program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls reward points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ameet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 09:11:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-processing-and-execution/m-p/2556959#M582807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T09:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: diff between Processing and Execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-processing-and-execution/m-p/2556960#M582808</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;synchronous processing is  that in which the progaram can not continue to execute until u get the response from it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;execution is normal execution of the prgram which can be either synchronous and asynchronous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;example&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

data: oref type ref to CX_SY_DYN_CALL_ILLEGAL_FUNC,
      text type string  .

try.

CALL FUNCTION 'ABAP4_CALL_TRANSACTION' 
  EXPORTING
    tcode                   = 'SM59'"                   
"transaction sm59  opens in same session
  
EXCEPTIONS
    call_transaction_denied = 1
    tcode_invalid           = 2
    OTHERS                  = 3.
IF sy-subrc &amp;lt;&amp;gt; 0.
 MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.


CASE sy-subrc.

  when 1.
    WRITE :/ 'call transaction denied'.

  WHEN 2.
    WRITE :/ ' transaction doesnot exist'.

ENDCASE.

catch CX_SY_DYN_CALL_ILLEGAL_FUNC  into oref.

text = oref-&amp;gt;get_text( ).


endtry.

WRITE / text.

WRITE: / 'End Of Demo For Synchronous RFC'.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ravish&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz dont forget to reward points if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 12:42:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-processing-and-execution/m-p/2556960#M582808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T12:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: diff between Processing and Execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-processing-and-execution/m-p/2556961#M582809</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;A href="http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm" target="test_blank"&gt;http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 12:50:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-processing-and-execution/m-p/2556961#M582809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T12:50:55Z</dc:date>
    </item>
  </channel>
</rss>

