<?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: Doubt in Select statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-statement/m-p/2669558#M616243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;actually for parvw you have to use conversion exit fn module becuase the internal representation pf SH is WE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you can not hard code it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use fm CONVERSION_EXIT_PARVW_INPUT and pass SH and use the return value(WE) or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a~kunnr into table li_kunnr from kna1 as a inner join vbpa as b&lt;/P&gt;&lt;P&gt;on a&lt;SUB&gt;kunnr = b&lt;/SUB&gt;kunnr where a&lt;SUB&gt;kunnr in fp_kunnr and b&lt;/SUB&gt;parvw = 'WE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2007 05:49:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-14T05:49:23Z</dc:date>
    <item>
      <title>Doubt in Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-statement/m-p/2669557#M616242</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;I have a small doubt in select statement.&lt;/P&gt;&lt;P&gt;select a~kunnr into table li_kunnr from kna1 as a inner join vbpa as b&lt;/P&gt;&lt;P&gt;on a&lt;SUB&gt;kunnr = b&lt;/SUB&gt;kunnr where a&lt;SUB&gt;kunnr in fp_kunnr and b&lt;/SUB&gt;parvw = 'SH'.&lt;/P&gt;&lt;P&gt;I ahve written this select statement even though the value is there in the database no output coming in the select statement.&lt;/P&gt;&lt;P&gt;I think the error because of this line "b~parvw = 'SH' ".&lt;/P&gt;&lt;P&gt;when i tried with value from select option like the output is correct &lt;/P&gt;&lt;P&gt;which is &lt;/P&gt;&lt;P&gt;select a~kunnr into table li_kunnr from kna1 as a inner join vbpa as b&lt;/P&gt;&lt;P&gt;on a&lt;SUB&gt;kunnr = b&lt;/SUB&gt;kunnr where a&lt;SUB&gt;kunnr in fp_kunnr and b&lt;/SUB&gt;parvw in fp_parvw.&lt;/P&gt;&lt;P&gt;for the above query output is correct if i give value 'SH' in the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help  is there any mistake in the query or any other way to write the query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 05:44:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-statement/m-p/2669557#M616242</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T05:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-statement/m-p/2669558#M616243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;actually for parvw you have to use conversion exit fn module becuase the internal representation pf SH is WE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you can not hard code it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use fm CONVERSION_EXIT_PARVW_INPUT and pass SH and use the return value(WE) or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a~kunnr into table li_kunnr from kna1 as a inner join vbpa as b&lt;/P&gt;&lt;P&gt;on a&lt;SUB&gt;kunnr = b&lt;/SUB&gt;kunnr where a&lt;SUB&gt;kunnr in fp_kunnr and b&lt;/SUB&gt;parvw = 'WE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 05:49:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-statement/m-p/2669558#M616243</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T05:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-statement/m-p/2669559#M616244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Define a constant of a same type as parvw ,and default it to 'WE'.(Conversion for SH)&lt;/P&gt;&lt;P&gt;Then use that constant in your select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,CSR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****Reward if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        CSR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 05:51:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-statement/m-p/2669559#M616244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T05:51:03Z</dc:date>
    </item>
  </channel>
</rss>

