<?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: Help in Select Statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605486#M1085398</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venu,&lt;/P&gt;&lt;P&gt;Did you check in the debug mode what the value is coming in the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;zekko_94176-ebeln&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the value in the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chidanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Oct 2008 04:52:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-21T04:52:21Z</dc:date>
    <item>
      <title>Help in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605484#M1085396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a module pool program iam working on a select statement as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM zekko_94176 INTO zekko_94176 WHERE ebeln EQ zekko_94176-ebeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here zekko_94176 is screen workarea . Though the value is present in the database table zekko_94176&lt;/P&gt;&lt;P&gt;select statement is not retrieving it.So, its giving a sy-subrc value of 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me regarding this.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;removed_by_moderator&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance...&lt;/P&gt;&lt;P&gt;Venu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Julius Bussche on Oct 21, 2008 12:15 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 04:49:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605484#M1085396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T04:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605485#M1085397</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;What value is present in "zekko_94176-ebeln.", go and check the table whether any record exists for the given condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Navneeth K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 04:50:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605485#M1085397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T04:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605486#M1085398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venu,&lt;/P&gt;&lt;P&gt;Did you check in the debug mode what the value is coming in the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;zekko_94176-ebeln&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the value in the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chidanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 04:52:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605486#M1085398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T04:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605487#M1085399</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; At run time in debugging mode check whether zekko_94176-ebeln holds value or not.. other than that everything seems to be fine..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds.,&lt;/P&gt;&lt;P&gt;subash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 04:53:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605487#M1085399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T04:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605488#M1085400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the below code will surely help you.&lt;/P&gt;&lt;P&gt;No need of declaring any workarea.&lt;/P&gt;&lt;P&gt;You can directly name the screen fields with the name of the table fields.&lt;/P&gt;&lt;P&gt;Write this kind of code in PBO.&lt;/P&gt;&lt;P&gt;Here the screen fields are named as Z101754SBOOKHDR-bookid,&lt;/P&gt;&lt;P&gt;Z101754SBOOKHDR-custid...   etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module STATUS_2000 output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE OK_CODE1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'DISPLAY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-NAME NE 'PROCEED'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&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;SELECT BOOKID CARRID CONNID FLDATE CUSTNAME TELEPHONE&lt;/P&gt;&lt;P&gt;FROM Z101754SBOOKHDR INTO&lt;/P&gt;&lt;P&gt;CORRESPONDING FIELDS OF Z101754SBOOKHDR WHERE&lt;/P&gt;&lt;P&gt;BOOKID = Z101754SBOOKHDR-BOOKID.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'CHANGE'.&lt;/P&gt;&lt;P&gt;SELECT BOOKID CARRID CONNID FLDATE CUSTNAME TELEPHONE&lt;/P&gt;&lt;P&gt;FROM Z101754SBOOKHDR INTO&lt;/P&gt;&lt;P&gt;CORRESPONDING FIELDS OF Z101754SBOOKHDR WHERE&lt;/P&gt;&lt;P&gt;BOOKID = Z101754SBOOKHDR-BOOKID.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.                 " STATUS_2000  OUTPUT&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;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 04:56:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605488#M1085400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T04:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605489#M1085401</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 two things:&lt;/P&gt;&lt;P&gt;=&amp;gt; whether there is any record corresponding to the ebeln u r entering in table zekko_94176 .&lt;/P&gt;&lt;P&gt;=&amp;gt;.is there any conversion routine for ebeln in zekko_94176  table,if so then first convert ebeln into internal format and  then pass it ur select query..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 04:56:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605489#M1085401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T04:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605490#M1085402</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 you referred standard EBELN data element with domain EBELN. if that is the case for this field there will be ALPHA conversion routine will exists please check that. May be because of that while selecting using select statement it will consider leading zeros also but those zeros were not taking into consideration while entered that value so please do handle this leading zeros by taking another intermediate variable with length 10 and type of numc and then push that ebeln value into this before select statement and use that in select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will give you some idea,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aswini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 04:59:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605490#M1085402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T04:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605491#M1085403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM zekko_94176 INTO&lt;/P&gt;&lt;P&gt;(zekko_94176-&amp;lt;field name&amp;gt;, zekko_94176-&amp;lt;field name&amp;gt;)&lt;/P&gt;&lt;P&gt;WHERE ebeln = zekko_94176-ebeln.&lt;/P&gt;&lt;P&gt;This condition will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;P&gt;Balu&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 05:02:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605491#M1085403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T05:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605492#M1085404</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 with value of ebeln weather it ezists in data base table or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or try like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM zekko_94176 INTO corresponding fielids of table zekko_94176 WHERE ebeln EQ zekko_94176-ebeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run the program in debug mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;rajesh kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 05:08:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605492#M1085404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T05:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605493#M1085405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are you writing your query, I hope it is in the PAI of the screen you are processing. Also make sure that the zekko_94176-ebeln is populated with some value. Put a break point on this statment and run your program and see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Advait Gode on Oct 21, 2008 12:21 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 10:21:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605493#M1085405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T10:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605494#M1085406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is your problem solved. ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Navneeth K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 10:25:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605494#M1085406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T10:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605495#M1085407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;   thanks to all ur suggestions....&lt;/P&gt;&lt;P&gt;my problem is solved....&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;Venu..............&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 12:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select-statement/m-p/4605495#M1085407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T12:01:31Z</dc:date>
    </item>
  </channel>
</rss>

