<?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: select statement, not working, please help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979200#M703350</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the leading zeros for both the fields. If your GT_DISPLAY-INVNO doesnot have leading zeros and your ZSDFET_NEW-DELNO has leading zeros than you need to fill the leading zeros ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the conversio routine or do it with UNPACK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT GT_DISPLY.&lt;/P&gt;&lt;P&gt;UNPACK GT_DISPLY-INVNO to GT_DISPLAY-INVNO.&lt;/P&gt;&lt;P&gt;modify GT_DISAPLY.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than use this table into select query...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Nov 2007 20:09:47 GMT</pubDate>
    <dc:creator>naimesh_patel</dc:creator>
    <dc:date>2007-11-12T20:09:47Z</dc:date>
    <item>
      <title>select statement, not working, please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979192#M703342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;everything looks good but the select query is giving sy-subrc = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: begin of lt_zsfdet_new occurs 0,&lt;/P&gt;&lt;P&gt;      invnmb like zsfdet_new-invnmb,&lt;/P&gt;&lt;P&gt;      shipdt like zsfdet_new-shipdt,&lt;/P&gt;&lt;P&gt;      end of lt_zsfdet_new.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select invnmb shipdt from zsfdet_new into table lt_zsfdet_new for all entries in gt_display where invnmb = gt_display-delno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 19:53:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979192#M703342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T19:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: select statement, not working, please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979193#M703343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out the gt_display entries. It seems that you don't have mathching entries in the with the zsfdet_new -invmb and gt_display-delno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 19:56:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979193#M703343</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-12T19:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: select statement, not working, please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979194#M703344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keep the break-point at select query and check gt_display-delno has values or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if no values found it will returns 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 19:56:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979194#M703344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T19:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: select statement, not working, please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979195#M703345</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;Please check table zsfdet_new.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBRC = 4 means no data was found in the database.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 19:57:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979195#M703345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T19:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: select statement, not working, please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979196#M703346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you looked in Debugging ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First see the data in gt_display internal table ,if data is availble then check in database table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 19:57:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979196#M703346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T19:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: select statement, not working, please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979197#M703347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestions,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked them in debug mode, gt_display has the entries which even exist in the zsfdet_new .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 20:02:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979197#M703347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T20:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: select statement, not working, please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979198#M703348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take one or two records in debugging ( gt_display-delno),now goto SE16 -&amp;gt; check the entries in zsfdet_new ( Look at exact field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be wrong field name mentioned in where clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 20:06:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979198#M703348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T20:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: select statement, not working, please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979199#M703349</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;keep all delno values of internal table lt_zsfdet_new into table zsfdet_new from SE11 and see whether u r getting any values or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not problem then there is no data in ZSFDET_NEW with delno values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 20:08:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979199#M703349</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T20:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: select statement, not working, please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979200#M703350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the leading zeros for both the fields. If your GT_DISPLAY-INVNO doesnot have leading zeros and your ZSDFET_NEW-DELNO has leading zeros than you need to fill the leading zeros ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the conversio routine or do it with UNPACK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT GT_DISPLY.&lt;/P&gt;&lt;P&gt;UNPACK GT_DISPLY-INVNO to GT_DISPLAY-INVNO.&lt;/P&gt;&lt;P&gt;modify GT_DISAPLY.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than use this table into select query...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 20:09:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979200#M703350</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-12T20:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: select statement, not working, please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979201#M703351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;gt_display-delno may be missing leading zeroes that are present in the database. You should run these through the proper conversion exit before doing the SELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 20:10:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979201#M703351</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T20:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: select statement, not working, please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979202#M703352</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;Perhaps you need to add leading zeros to field delno in internal table gt_display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do, you can use FM  CONVERSION_EXIT_ALPHA_INPUT to update with leading zeros prior to use in select statement.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 20:12:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-not-working-please-help/m-p/2979202#M703352</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T20:12:39Z</dc:date>
    </item>
  </channel>
</rss>

