<?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 error(?) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-error/m-p/5153072#M1193977</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to mention update type in this statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'VA02' &lt;/P&gt;&lt;P&gt;USING bdcdata &lt;/P&gt;&lt;P&gt;MODE mod&lt;/P&gt;&lt;P&gt;update c_s                " (Synchronous Update Type)&lt;/P&gt;&lt;P&gt;MESSAGES INTO messtab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Feb 2009 11:27:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-10T11:27:42Z</dc:date>
    <item>
      <title>Call transaction error(?)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-error/m-p/5153066#M1193971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used call transaction in batch program as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL TRANSACTION 'VA02' USING bdcdata MODE mod
                        MESSAGES INTO messtab           .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that when this is run in debugging mode, it works, no problem, but when &lt;/P&gt;&lt;P&gt;i have run it directly it does not update some of the orders data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:  I have tried to use; commit work and also commit work and wait commands after call transaciton but it did not work properly; updated some and did not update other some. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under debug everything is ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 08:43:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-error/m-p/5153066#M1193971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T08:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction error(?)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-error/m-p/5153067#M1193972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try using update 'S' ( synchronous update ).&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'VA02' USING bdcdata MODE mod&lt;/P&gt;&lt;P&gt;                        MESSAGES INTO messtab  update 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 08:46:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-error/m-p/5153067#M1193972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T08:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction error(?)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-error/m-p/5153068#M1193973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;  One reason can be the entries in the table BDCDATA , may not be sufficient , what might be  happening is that during debugging you might be pressing the Enter key or some other key which result in the record to be created , but in the direct execution the step is missing and hence the record is not created .&lt;/P&gt;&lt;P&gt;So what i would suggets is please check the recording again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 08:48:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-error/m-p/5153068#M1193973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T08:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction error(?)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-error/m-p/5153069#M1193974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add UPDATE 'S' to your CALL TRANSACTION command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sathar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 08:50:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-error/m-p/5153069#M1193974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T08:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction error(?)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-error/m-p/5153070#M1193975</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;Try this way..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;opt-dismode = 'N'. 
opt-defsize = 'X'. 
opt-racommit = 'X'.
opt-updmode ='S'.
CALL TRANSACTION 'VA02' USING bdcdata OPTIONS FROM opt
MESSAGES INTO itab&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 09:00:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-error/m-p/5153070#M1193975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T09:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction error(?)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-error/m-p/5153071#M1193976</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;&lt;/P&gt;&lt;P&gt;from you are call transaction syntax  update A/S/L  is missing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like call transaction 'tcode' using bdcdata mode A/E/N update A/S/L messages into bdcmsgcoll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Choose the update mode:&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;A : Asynchronous update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S : Synchronous update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L : Local update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add the update mode check once in debugg mode and   mode a/e/n&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 09:13:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-error/m-p/5153071#M1193976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T09:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction error(?)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-error/m-p/5153072#M1193977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to mention update type in this statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'VA02' &lt;/P&gt;&lt;P&gt;USING bdcdata &lt;/P&gt;&lt;P&gt;MODE mod&lt;/P&gt;&lt;P&gt;update c_s                " (Synchronous Update Type)&lt;/P&gt;&lt;P&gt;MESSAGES INTO messtab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 11:27:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-error/m-p/5153072#M1193977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T11:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction error(?)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-error/m-p/5153073#M1193978</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;Check the below syntax ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call Transaction u2018Transaction Nameu2019 using BDCDATA&lt;/P&gt;&lt;P&gt;                                                         MODE u2018Nu2019 or u2018Au2019 or u2018Eu2019&lt;/P&gt;&lt;P&gt;                                                          UPDATE u2018Su2019 or u2018Au2019 or u2018Lu2019&lt;/P&gt;&lt;P&gt;                                                            MESSAGES into ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anki Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 12:06:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-error/m-p/5153073#M1193978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T12:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction error(?)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-error/m-p/5153074#M1193979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deniz,&lt;/P&gt;&lt;P&gt;Try using below syntax for clling transaction:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL TRANSACTION 'VA02' USING bdcdata MODE mod UPDATE upd
                        MESSAGES INTO messtab&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mode should be 'N' [run in background i.e. without screens] and Update should be 'A' i.e. Asynchronous, so if in mid of transaction you exit then nothing will be updated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think so you need to call commit transaction BAPI after BDC as through BDC you are directly saving the data as per your recording. If still you are facing the same problem then please check your recording and process it in background [Click 'Process' button]. Check if still if gives you same issue i.e. data not saved for few orders. If still same prb persists then there is no fault in your program, just that do the recording again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 12:17:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-error/m-p/5153074#M1193979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T12:17:34Z</dc:date>
    </item>
  </channel>
</rss>

