<?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: QUERRY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/querry/m-p/2703530#M626171</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;Please check the following code &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : ITAB_LQUA type standard table of LQUA.&lt;/P&gt;&lt;P&gt;Data : ITAB_ ZCORE type standard table of  ZCORE. &lt;/P&gt;&lt;P&gt;or define a structures and tables for your need with required fields only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from LQUA into table/corresponding fields of  table  ITAB_LQUA &lt;/P&gt;&lt;P&gt;where &lt;/P&gt;&lt;P&gt;XXXXXXXXX. "Write your condition here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if  ITAB_LQUA[] is not initial.&lt;/P&gt;&lt;P&gt;select * from ZCORE into table/corresponding fields of  table  ITAB_ZCORE&lt;/P&gt;&lt;P&gt;for all entries in LQUA&lt;/P&gt;&lt;P&gt;where RMATNR = LQUA-MATNR.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;"It means for all MATNR present in LQUA,if the same material number is present in table ZCORE for field RMATNR selection will occur and add entries to your internal table itab_ZCORE&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;"Not successful&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope they were of some use&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;Regards&lt;/P&gt;&lt;P&gt;Byju Edamana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Aug 2007 13:30:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-22T13:30:23Z</dc:date>
    <item>
      <title>QUERRY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/querry/m-p/2703529#M626170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,can any one let me know how to do this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i need to extracted the few fields from LQUA and put them in the itab &lt;/P&gt;&lt;P&gt;and i need to compared LQUA-MATNR to another custom table RMATNR field from ZCORE talbe, and i need to extract the records which are matching, but the zcore and lqua table having different structures.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 13:18:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/querry/m-p/2703529#M626170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T13:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: QUERRY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/querry/m-p/2703530#M626171</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;Please check the following code &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : ITAB_LQUA type standard table of LQUA.&lt;/P&gt;&lt;P&gt;Data : ITAB_ ZCORE type standard table of  ZCORE. &lt;/P&gt;&lt;P&gt;or define a structures and tables for your need with required fields only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from LQUA into table/corresponding fields of  table  ITAB_LQUA &lt;/P&gt;&lt;P&gt;where &lt;/P&gt;&lt;P&gt;XXXXXXXXX. "Write your condition here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if  ITAB_LQUA[] is not initial.&lt;/P&gt;&lt;P&gt;select * from ZCORE into table/corresponding fields of  table  ITAB_ZCORE&lt;/P&gt;&lt;P&gt;for all entries in LQUA&lt;/P&gt;&lt;P&gt;where RMATNR = LQUA-MATNR.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;"It means for all MATNR present in LQUA,if the same material number is present in table ZCORE for field RMATNR selection will occur and add entries to your internal table itab_ZCORE&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;"Not successful&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope they were of some use&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;Regards&lt;/P&gt;&lt;P&gt;Byju Edamana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 13:30:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/querry/m-p/2703530#M626171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T13:30:23Z</dc:date>
    </item>
  </channel>
</rss>

