<?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 stat. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-stat/m-p/1901527#M376307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry guys I forgot to add this ..... that my problem is in the char fields  b &amp;amp; c..... the rows underneth these to colums I'm getting it as blank no data is dispalyed .... thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Jan 2007 08:40:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-21T08:40:57Z</dc:date>
    <item>
      <title>select stat.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-stat/m-p/1901523#M376303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi and good morning,&lt;/P&gt;&lt;P&gt;I've problem in getting the data..... I guess the problem is in my select statement.....please help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a               b                              c                            d&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w1              h01                         h12                       12/04/06&lt;/P&gt;&lt;P&gt;w2               wc1                        hr8                        01/08/04&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where a,b and c are of char type and d is of date type... my select statement is  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select a b  c d from mara into corresponding&lt;/P&gt;&lt;P&gt;    fields of table it_tab2 where a = pa_a and c in&lt;/P&gt;&lt;P&gt;    s_c and b in s_b.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is not working please suggest.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jan 2007 08:18:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-stat/m-p/1901523#M376303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-21T08:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: select stat.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-stat/m-p/1901524#M376304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u post exact select statement along with description of internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds,&lt;/P&gt;&lt;P&gt;kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jan 2007 08:23:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-stat/m-p/1901524#M376304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-21T08:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: select stat.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-stat/m-p/1901525#M376305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shaheen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just check how the DATE is stored in database.&lt;/P&gt;&lt;P&gt;Usually its as per User setting or YYYYMMDD format.&lt;/P&gt;&lt;P&gt;So you need to change your Select-option Date format in to User setting or YYYYDDMM format and then select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if this Helps.&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jan 2007 08:35:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-stat/m-p/1901525#M376305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-21T08:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: select stat.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-stat/m-p/1901526#M376306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;The date is stored as YYYYMMDD internally in the Database.&lt;/P&gt;&lt;P&gt;Use some date conversion FM or some other technique to change date fromYYYYMMDD to DD/MM/YY format and then display it on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this info helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jan 2007 08:36:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-stat/m-p/1901526#M376306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-21T08:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: select stat.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-stat/m-p/1901527#M376307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry guys I forgot to add this ..... that my problem is in the char fields  b &amp;amp; c..... the rows underneth these to colums I'm getting it as blank no data is dispalyed .... thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jan 2007 08:40:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-stat/m-p/1901527#M376307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-21T08:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: select stat.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-stat/m-p/1901528#M376308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Are u using the selct query in a loop? In dat case u need to use appending in ur query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jan 2007 15:00:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-stat/m-p/1901528#M376308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-21T15:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: select stat.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-stat/m-p/1901529#M376309</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 following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Make sure you have the records in the table MARA for the corresponding combination give in the selection screen...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Also make sure the parameter pa_a is entered in the selection-screen..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since in the where clause..You are using EQ operator..Which means if the value is not give in the selection screen..It will look for blank value..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make the parameter as mandatory  OR if it is optional parameter..Use SELECT-OPTIONS NO INTERVALS NO-EXTENSION addition..And use IN in your select statement..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS SO_A FOR MARA-A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a b c d from mara into corresponding&lt;/P&gt;&lt;P&gt;fields of table it_tab2 where &amp;lt;b&amp;gt;A IN SO_A&amp;lt;/b&amp;gt; and c in&lt;/P&gt;&lt;P&gt;s_c and b in s_b.&lt;/P&gt;&lt;P&gt;&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jan 2007 18:15:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-stat/m-p/1901529#M376309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-21T18:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: select stat.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-stat/m-p/1901530#M376310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks all for your participation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 03:56:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-stat/m-p/1901530#M376310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T03:56:31Z</dc:date>
    </item>
  </channel>
</rss>

