<?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 query not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-working/m-p/6681232#M1449617</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;Use FM &lt;STRONG&gt;CONVERSION_EXIT_ATINN_INPUT&lt;/STRONG&gt; for convert 'ZYMER' into internal format and pass this into select query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Mar 2010 13:32:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-03T13:32:17Z</dc:date>
    <item>
      <title>Select query not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-working/m-p/6681231#M1449616</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;The below code is not selecting the data though the table has value for this selection criteria&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZTEST_EZHIL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables : AUSP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: atwrt like ausp-atwrt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select atwrt from AUSP into ausp-atwrt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                         where OBJEK = '000000000000888143' AND ATINN = 'ZYMER' and MAFID = 'O'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write: ausp-atwrt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me why because?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ezhil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Mar 2010 13:27:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-working/m-p/6681231#M1449616</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-03T13:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Select query not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-working/m-p/6681232#M1449617</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;Use FM &lt;STRONG&gt;CONVERSION_EXIT_ATINN_INPUT&lt;/STRONG&gt; for convert 'ZYMER' into internal format and pass this into select query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Mar 2010 13:32:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-working/m-p/6681232#M1449617</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-03T13:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Select query not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-working/m-p/6681233#M1449618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZTEST_EZHIL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables : AUSP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: atwrt like ausp-atwrt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select atwrt from AUSP into ausp-atwrt &amp;lt;=== Declaration of the said object missing &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where OBJEK = '000000000000888143' AND ATINN = 'ZYMER' and MAFID = 'O'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write: ausp-atwrt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Mar 2010 13:33:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-working/m-p/6681233#M1449618</guid>
      <dc:creator>manthanraja</dc:creator>
      <dc:date>2010-03-03T13:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Select query not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-working/m-p/6681234#M1449619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZTEST_EZHIL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables : AUSP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: atwrt like ausp-atwrt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select atwrt from AUSP into atwrt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                         where OBJEK = '000000000000888143' AND ATINN = 'ZYMER' and MAFID = 'O'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write: atwrt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But still its not working&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Mar 2010 13:37:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-working/m-p/6681234#M1449619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-03T13:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Select query not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-working/m-p/6681235#M1449620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;guess you should try &lt;/P&gt;&lt;P&gt;Dzed Maro''s solution .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this way&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'CONVERSION_EXIT_ATINN_INPUT'
                 EXPORTING
                   input         =
*                IMPORTING
*                  OUTPUT        =
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;                         .&lt;/P&gt;&lt;P&gt;Might work ...&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Manthan Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Mar 2010 13:48:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-working/m-p/6681235#M1449620</guid>
      <dc:creator>manthanraja</dc:creator>
      <dc:date>2010-03-03T13:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Select query not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-working/m-p/6681236#M1449621</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;PRE&gt;&lt;CODE&gt;"Please note

if you are using the FM as mentioned above 
most of the cases this conversion is used with in a loop.
this becomes performance issue.
so you can get all the corresponding ATINN outside the loop from CABN table
Just check the FM it also gets the ATINN against the ATNAM from CABN Table only
" Hope this would help in your future issues/Requirements&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Tables : CABN.
DATA : WA_CABN TYPE CABN.
SELECT ATINN FROM CABN INTO WA_CABN-ATINN WHER ATNAM = 'ZYMER'.
IF SY-SUBRC = 0.

Select atwrt from AUSP into ausp-atwrt &amp;lt;=== Declaration of the said object missing 

where OBJEK = '000000000000888143' AND ATINN = WA_CABN-ATINN and MAFID = 'O'.
else.
message 'ZYMER is not maintained' type 'E' " or any other type
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Mar 2010 14:11:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-working/m-p/6681236#M1449621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-03T14:11:31Z</dc:date>
    </item>
  </channel>
</rss>

