<?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: Problem with select query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-query/m-p/2273890#M494223</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;   use for all entries &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT kunnr vgbel posnr vbeln&lt;/P&gt;&lt;P&gt;matnr lgort kdmat vrkme kunag lfimg erdat vstel&lt;/P&gt;&lt;P&gt;INTO TABLE it_likp_lips1&lt;/P&gt;&lt;P&gt;FROM SHP_IDX_GDSI&lt;/P&gt;&lt;P&gt;WHERE kunnr IN s_kunnr&lt;/P&gt;&lt;P&gt;AND vbeln IN s_vbeln&lt;/P&gt;&lt;P&gt;AND vstel IN s_vstel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it_likp_lips1[] is not initial.&lt;/P&gt;&lt;P&gt;SELECT kunnr vgbel posnr vbeln&lt;/P&gt;&lt;P&gt;matnr lgort kdmat vrkme kunag lfimg erdat vstel&lt;/P&gt;&lt;P&gt;INTO TABLE it_likp_lips&lt;/P&gt;&lt;P&gt;FROM zvsvs01&lt;/P&gt;&lt;P&gt;for all entries in it_likp_lips1 &lt;/P&gt;&lt;P&gt;WHERE kunnr eq it_likp_lips1-kunnr&lt;/P&gt;&lt;P&gt;AND vbeln eq it_likp_lips1-vbeln&lt;/P&gt;&lt;P&gt;AND vstel eq it_likp_lips1-vstel.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, reward&lt;/P&gt;&lt;P&gt;Sathish. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 May 2007 05:10:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-14T05:10:23Z</dc:date>
    <item>
      <title>Problem with select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-query/m-p/2273888#M494221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT kunnr vgbel posnr vbeln&lt;/P&gt;&lt;P&gt;       matnr lgort kdmat   vrkme kunag lfimg erdat vstel&lt;/P&gt;&lt;P&gt;       INTO  TABLE it_likp_lips&lt;/P&gt;&lt;P&gt;       FROM zvsvs01&lt;/P&gt;&lt;P&gt;       WHERE kunnr IN s_kunnr&lt;/P&gt;&lt;P&gt;       AND   vbeln IN s_vbeln&lt;/P&gt;&lt;P&gt;       AND   vstel IN s_vstel&lt;/P&gt;&lt;P&gt;I have written a select query like this,the problem is I want to comapre the selection screen fields with table SHP_IDX_GDSI fields Instead of View(zvsvs01),How can i do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 05:04:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-query/m-p/2273888#M494221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T05:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-query/m-p/2273889#M494222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You can join the View and the table SHP_IDX_GDSI&lt;/P&gt;&lt;P&gt;usiong the field VBELn and can write the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT a&lt;SUB&gt;kunnr a&lt;/SUB&gt;vgbel a&lt;SUB&gt;posnr a&lt;/SUB&gt;vbeln&lt;/P&gt;&lt;P&gt;a&lt;SUB&gt;matnr a&lt;/SUB&gt;lgort a&lt;SUB&gt;kdmat a&lt;/SUB&gt;vrkme a&lt;SUB&gt;kunag a&lt;/SUB&gt;lfimg a&lt;SUB&gt;erdat a&lt;/SUB&gt;vstel&lt;/P&gt;&lt;P&gt;INTO TABLE it_likp_lips&lt;/P&gt;&lt;P&gt;FROM zvsvs01 as a join SHP_IDX_GDSI as b on&lt;/P&gt;&lt;P&gt;a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vbeln&lt;/P&gt;&lt;P&gt;WHERE b~kunnr IN s_kunnr&lt;/P&gt;&lt;P&gt;AND b~vbeln IN s_vbeln&lt;/P&gt;&lt;P&gt;AND b~vstel IN s_vstel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 05:08:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-query/m-p/2273889#M494222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T05:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-query/m-p/2273890#M494223</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;   use for all entries &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT kunnr vgbel posnr vbeln&lt;/P&gt;&lt;P&gt;matnr lgort kdmat vrkme kunag lfimg erdat vstel&lt;/P&gt;&lt;P&gt;INTO TABLE it_likp_lips1&lt;/P&gt;&lt;P&gt;FROM SHP_IDX_GDSI&lt;/P&gt;&lt;P&gt;WHERE kunnr IN s_kunnr&lt;/P&gt;&lt;P&gt;AND vbeln IN s_vbeln&lt;/P&gt;&lt;P&gt;AND vstel IN s_vstel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it_likp_lips1[] is not initial.&lt;/P&gt;&lt;P&gt;SELECT kunnr vgbel posnr vbeln&lt;/P&gt;&lt;P&gt;matnr lgort kdmat vrkme kunag lfimg erdat vstel&lt;/P&gt;&lt;P&gt;INTO TABLE it_likp_lips&lt;/P&gt;&lt;P&gt;FROM zvsvs01&lt;/P&gt;&lt;P&gt;for all entries in it_likp_lips1 &lt;/P&gt;&lt;P&gt;WHERE kunnr eq it_likp_lips1-kunnr&lt;/P&gt;&lt;P&gt;AND vbeln eq it_likp_lips1-vbeln&lt;/P&gt;&lt;P&gt;AND vstel eq it_likp_lips1-vstel.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, reward&lt;/P&gt;&lt;P&gt;Sathish. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 05:10:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-query/m-p/2273890#M494223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T05:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-query/m-p/2273891#M494224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;    Your question is not very clear..Upto my understanding you can do this while declaring select-option...I mean while declaring just put,&lt;/P&gt;&lt;P&gt;select-option: s_kunnr for SHP_IDX_GDSI-kunnr.&lt;/P&gt;&lt;P&gt;Like that for other fields also...Now proceed with your same select query...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpfull answers..........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 05:10:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-query/m-p/2273891#M494224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T05:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-query/m-p/2273892#M494225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prasad,&lt;/P&gt;&lt;P&gt;               write a select query to Join table and view .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT a&lt;SUB&gt;kunnr a&lt;/SUB&gt;vgbel a&lt;SUB&gt;posnr a&lt;/SUB&gt;vbeln&lt;/P&gt;&lt;P&gt;a&lt;SUB&gt;matnr a&lt;/SUB&gt;lgort a&lt;SUB&gt;kdmat a&lt;/SUB&gt;vrkme a&lt;SUB&gt;kunag a&lt;/SUB&gt;lfimg a&lt;SUB&gt;erdat a&lt;/SUB&gt;vstel&lt;/P&gt;&lt;P&gt;b~vbeln &lt;/P&gt;&lt;P&gt;INTO TABLE it_likp_lips&lt;/P&gt;&lt;P&gt;FROM zvsvs01 as a inner join SHP_IDX_GDSI as b &lt;/P&gt;&lt;P&gt;on a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vbeln&lt;/P&gt;&lt;P&gt;WHERE b~kunnr IN s_kunnr&lt;/P&gt;&lt;P&gt;AND b~vbeln IN s_vbeln&lt;/P&gt;&lt;P&gt;AND b~vstel IN s_vstel.&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;Hemant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 05:13:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-query/m-p/2273892#M494225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T05:13:09Z</dc:date>
    </item>
  </channel>
</rss>

