<?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: Error with call transaction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-call-transaction/m-p/3122957#M741667</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;Instead of check for sy-subrc = 0 please check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
read table messtab with key msgty = 'E'.
if sy-subrc eq 0.
  move '51' to idoc_status-status.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Nov 2007 15:53:32 GMT</pubDate>
    <dc:creator>former_member194669</dc:creator>
    <dc:date>2007-11-29T15:53:32Z</dc:date>
    <item>
      <title>Error with call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-call-transaction/m-p/3122955#M741665</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 developed the FM for idoc Z over the transaction deliveries VL01. At the first, in the FM read the data segments of the idoc, then it make a "call transaction" over the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL TRANSACTION 'VL01' USING bdcdata&lt;/P&gt;&lt;P&gt;                   MODE   v_mode&lt;/P&gt;&lt;P&gt;                   UPDATE 'S'&lt;/P&gt;&lt;P&gt;                   MESSAGES INTO messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the FM takes 2 years of operation ok. During the last week, in the system have appeared Idoc with status wrong, because after running the "call transaction" the table "messtab" is empty and the value of sy-subrc is 0, therefore the idoc status is 51.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone because it happens with the call transaction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advantage&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 15:47:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-call-transaction/m-p/3122955#M741665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T15:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error with call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-call-transaction/m-p/3122956#M741666</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;Set the MODE to 'A' to step-by-step, or 'E' to stop-at-error mode processing. With this you will be able to find the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 15:52:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-call-transaction/m-p/3122956#M741666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T15:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error with call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-call-transaction/m-p/3122957#M741667</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;Instead of check for sy-subrc = 0 please check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
read table messtab with key msgty = 'E'.
if sy-subrc eq 0.
  move '51' to idoc_status-status.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 15:53:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-call-transaction/m-p/3122957#M741667</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-11-29T15:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error with call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-call-transaction/m-p/3122958#M741668</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;The error only happen in sometimes, in fact, when I made a debbuging over the call transaction the result was ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the table messtab is empty, without message the errors neither message of confirmation; like if the call transaction not executed the operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ARF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 16:41:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-call-transaction/m-p/3122958#M741668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T16:41:36Z</dc:date>
    </item>
  </channel>
</rss>

