<?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 BDC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1905307#M377441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;             I am doing a bdc for inspection plans(QP01).&lt;/P&gt;&lt;P&gt;First il call transaction for QP01 and after that if sy-subrc = 0. I will call transaction QP02.If i set a break point in the code if sy-subrc = 0 ,it is working properly but if i dint set any break point the code if sy-subrc = 0 it is  not calling QP02.&lt;/P&gt;&lt;P&gt;What is the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL TRANSACTION 'QP01' USING bdcdata MODE 'N'&lt;/P&gt;&lt;P&gt;                             MESSAGES INTO messtab.&lt;/P&gt;&lt;P&gt; if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;read table messtab with key  msgnr = '063'&lt;/P&gt;&lt;P&gt;                             msgid = 'QP'.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   ID              = messtab-MSGID&lt;/P&gt;&lt;P&gt;   LANG            = 'EN'&lt;/P&gt;&lt;P&gt;   NO              = messtab-msgnr&lt;/P&gt;&lt;P&gt;   V1              = messtab-MSGV1&lt;/P&gt;&lt;P&gt;   V2              = messtab-MSGV2&lt;/P&gt;&lt;P&gt;   V3              = messtab-MSGV3&lt;/P&gt;&lt;P&gt;   V4              = messtab-MSGV4&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   MSG             = v_mess&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   NOT_FOUND       = 1&lt;/P&gt;&lt;P&gt;   OTHERS          = 2  .&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt; l_group = messtab-msgv1.&lt;/P&gt;&lt;P&gt;      PERFORM qp02.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&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;Ashok...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Feb 2007 09:29:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-27T09:29:10Z</dc:date>
    <item>
      <title>BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1905307#M377441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;             I am doing a bdc for inspection plans(QP01).&lt;/P&gt;&lt;P&gt;First il call transaction for QP01 and after that if sy-subrc = 0. I will call transaction QP02.If i set a break point in the code if sy-subrc = 0 ,it is working properly but if i dint set any break point the code if sy-subrc = 0 it is  not calling QP02.&lt;/P&gt;&lt;P&gt;What is the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL TRANSACTION 'QP01' USING bdcdata MODE 'N'&lt;/P&gt;&lt;P&gt;                             MESSAGES INTO messtab.&lt;/P&gt;&lt;P&gt; if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;read table messtab with key  msgnr = '063'&lt;/P&gt;&lt;P&gt;                             msgid = 'QP'.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   ID              = messtab-MSGID&lt;/P&gt;&lt;P&gt;   LANG            = 'EN'&lt;/P&gt;&lt;P&gt;   NO              = messtab-msgnr&lt;/P&gt;&lt;P&gt;   V1              = messtab-MSGV1&lt;/P&gt;&lt;P&gt;   V2              = messtab-MSGV2&lt;/P&gt;&lt;P&gt;   V3              = messtab-MSGV3&lt;/P&gt;&lt;P&gt;   V4              = messtab-MSGV4&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   MSG             = v_mess&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   NOT_FOUND       = 1&lt;/P&gt;&lt;P&gt;   OTHERS          = 2  .&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt; l_group = messtab-msgv1.&lt;/P&gt;&lt;P&gt;      PERFORM qp02.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&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;Ashok...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2007 09:29:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1905307#M377441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-27T09:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1905308#M377442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the UPDATE = 'S' in the call transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'QP01' USING bdcdata MODE 'N' &amp;lt;b&amp;gt;UPDATE = 'S'&amp;lt;/b&amp;gt;&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;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2007 09:30:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1905308#M377442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-27T09:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1905309#M377443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of putting a breakpoint after sy-subrc = 0 put this syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wait up to 5 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now execute it &amp;amp; see.&lt;/P&gt;&lt;P&gt;Still u get the same error increase the seconds from 5 &amp;amp; check it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2007 09:32:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1905309#M377443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-27T09:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1905310#M377444</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;use update in the call transaction......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'QP01' USING bdcdata MODE 'N' update = 'S'&lt;/P&gt;&lt;P&gt;MESSAGES INTO messtab.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;read table messtab with key msgnr = '063'&lt;/P&gt;&lt;P&gt;msgid = 'QP'.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;ID = messtab-MSGID&lt;/P&gt;&lt;P&gt;LANG = 'EN'&lt;/P&gt;&lt;P&gt;NO = messtab-msgnr&lt;/P&gt;&lt;P&gt;V1 = messtab-MSGV1&lt;/P&gt;&lt;P&gt;V2 = messtab-MSGV2&lt;/P&gt;&lt;P&gt;V3 = messtab-MSGV3&lt;/P&gt;&lt;P&gt;V4 = messtab-MSGV4&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;MSG = v_mess&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;NOT_FOUND = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2 .&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;l_group = messtab-msgv1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;PERFORM qp02.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2007 09:34:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1905310#M377444</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-02-27T09:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1905311#M377445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;  Instead of sy-subrc use wait.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After QP01 you can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wait for n .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then call perform QP02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It can work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2007 09:35:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1905311#M377445</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2007-02-27T09:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1905312#M377446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ashok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I have faced the same problem.What i found is When i debugged  sy-subrc &lt;/P&gt;&lt;P&gt;  became  0,though error is there.So final statement is in debugg especially under call transaction sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2007 09:42:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1905312#M377446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-27T09:42:04Z</dc:date>
    </item>
  </channel>
</rss>

