<?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: fetchind data problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetchind-data-problem/m-p/3451367#M829136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u plz send the complete code..it is difficult to understand where the data in it_final1 is populated from??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Feb 2008 09:01:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-12T09:01:21Z</dc:date>
    <item>
      <title>fetchind data problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetchind-data-problem/m-p/3451363#M829132</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;&lt;/P&gt;&lt;P&gt;this is my syntax for fetching kunnar value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF IT_FINAL1[] IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;SELECT SINGLE KUNNR FROM VBPA&lt;/P&gt;&lt;P&gt;INTO WA_VBPA1 WHERE VBELN = IT_FINAL1-VBELN AND PARVW = 'SP'.&lt;/P&gt;&lt;P&gt;MOVE WA_VBPA1-KUNNR TO WA_FINAL1-KUNNR.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;MESSAGE E000(0) WITH 'VALUE NOT THERE' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;INPUT = WA_FINAL1-KUNNR&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;OUTPUT = WA_FINAL1-KUNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY IT_FINAL1 FROM WA_FINAL1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data is not coming in debugging mode.&lt;/P&gt;&lt;P&gt;please tell me where is the fault..&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;subhasis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 07:04:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetchind-data-problem/m-p/3451363#M829132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-12T07:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: fetchind data problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetchind-data-problem/m-p/3451364#M829133</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;Incase you are fetching VBELN from VBAK you do have Sold-To Party in VBAK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table-Field Name: &lt;STRONG&gt;VBAK-KUNNR&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else post how it_final1 is populated and that might help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 07:10:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetchind-data-problem/m-p/3451364#M829133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-12T07:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: fetchind data problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetchind-data-problem/m-p/3451365#M829134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;can u plz send the whole code.&lt;/P&gt;&lt;P&gt;u r comapring looks different.&lt;/P&gt;&lt;P&gt;if u r using kna1 kunnr and vbpa kunnr&lt;/P&gt;&lt;P&gt;then the data will be entairly different.&lt;/P&gt;&lt;P&gt;plz paste u r code so that it will be help full.&lt;/P&gt;&lt;P&gt;to answer u.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 07:18:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetchind-data-problem/m-p/3451365#M829134</guid>
      <dc:creator>mahaboob_pathan</dc:creator>
      <dc:date>2008-02-12T07:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: fetchind data problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetchind-data-problem/m-p/3451366#M829135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; We normally use IF IT_FINAL1[] IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;before select for "For All Entries".&lt;/P&gt;&lt;P&gt;In this case you have not used that.&lt;/P&gt;&lt;P&gt;You are selecting singel data from VBPA table using condition - IT_FINAL1-VBELN AND PARVW = 'SP'.&lt;/P&gt;&lt;P&gt;in Debug please see whats is coming in IT_FINAL1-VBELN .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this...&lt;/P&gt;&lt;P&gt;if IT_FINAL1[] is initial.&lt;/P&gt;&lt;P&gt;   SELECT KUNNR &lt;/P&gt;&lt;P&gt;       FROM VBPA&lt;/P&gt;&lt;P&gt;    INTO IT_VBPA1 &lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN IT_FINAL1&lt;/P&gt;&lt;P&gt;WHERE VBELN = IT_FINAL1-VBELN AND PARVW = 'SP'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;MESSAGE E000(0) WITH 'VALUE NOT THERE' .&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;Loop at it_final1 into wa_final1.&lt;/P&gt;&lt;P&gt;read table it_vbpa1 into wa_vbpa1 with key kunnr = wa_final1-kunnr.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;       INPUT = WA_VBPA1-KUNNR&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;     OUTPUT = WA_VBPA1-KUNNR.&lt;/P&gt;&lt;P&gt;move WA_VBPA1-KUNNR to wa_final1-kunnr.&lt;/P&gt;&lt;P&gt;modify it_final1 from wa_final1-kunnr transporting kunnr.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Avi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 07:27:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetchind-data-problem/m-p/3451366#M829135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-12T07:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: fetchind data problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetchind-data-problem/m-p/3451367#M829136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u plz send the complete code..it is difficult to understand where the data in it_final1 is populated from??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 09:01:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetchind-data-problem/m-p/3451367#M829136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-12T09:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: fetchind data problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetchind-data-problem/m-p/3451368#M829137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first need to see the complete code &lt;/P&gt;&lt;P&gt;bt why have u given the error message when sy-subrc = 0.&lt;/P&gt;&lt;P&gt;it should come when your sql command doesn't works bt if sy-subrc = 0  you should call the function module without giving any error message and give the error message if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 10:55:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetchind-data-problem/m-p/3451368#M829137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-12T10:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: fetchind data problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetchind-data-problem/m-p/3451369#M829138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 20:23:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetchind-data-problem/m-p/3451369#M829138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-28T20:23:19Z</dc:date>
    </item>
  </channel>
</rss>

