<?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: Join Query Issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-query-issue/m-p/7916114#M1598202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends, &lt;/P&gt;&lt;P&gt;           The query is not working when we use SELECT-OPTIONS for SPART. When using paramater its working fine.. For your more analysis, i am giving the Selection screen declarations and my Test Procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-h01.&lt;/P&gt;&lt;P&gt;PARAMETERS:     p_mtart   TYPE mtart MEMORY ID mta OBLIGATORY&lt;/P&gt;&lt;P&gt;                                       DEFAULT 'FERT'.               "Material Type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_ersda   FOR  mara-ersda   ,         "Created on&lt;/P&gt;&lt;P&gt;                s_laeda   FOR  mara-laeda   ,         "Changed on&lt;/P&gt;&lt;P&gt;                s_vkorg   FOR  mvke-vkorg,            "Sales Organization&lt;/P&gt;&lt;P&gt;                s_vtweg   FOR  mvke-vtweg,            "Distribution Channel&lt;/P&gt;&lt;P&gt;                s_spart   for  mara-spart.             "Division&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-h02.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_lvorm AS CHECKBOX DEFAULT space,       "Marked for Deletion at Client Level&lt;/P&gt;&lt;P&gt;            p_plvor AS CHECKBOX DEFAULT space.       "Marked for Deletion at Plant Level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HERE is the Select Query,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT a&lt;SUB&gt;matnr a&lt;/SUB&gt;ersda a&lt;SUB&gt;laeda a&lt;/SUB&gt;prdha a&lt;SUB&gt;spart b&lt;/SUB&gt;maktx c&lt;SUB&gt;prodh c&lt;/SUB&gt;vkorg c&lt;SUB&gt;vtweg c&lt;/SUB&gt;mvgr1 c&lt;SUB&gt;mvgr2 c&lt;/SUB&gt;mvgr3 c&lt;SUB&gt;mvgr4 c&lt;/SUB&gt;mvgr5&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE tbl_initdata&lt;/P&gt;&lt;P&gt;FROM  mara AS a&lt;/P&gt;&lt;P&gt;INNER JOIN makt AS b ON  ( a&lt;SUB&gt;matnr = b&lt;/SUB&gt;matnr )&lt;/P&gt;&lt;P&gt;INNer JOIN mvke AS c ON  ( a&lt;SUB&gt;matnr = c&lt;/SUB&gt;matnr )&lt;/P&gt;&lt;P&gt;WHERE a~mtart EQ p_mtart AND&lt;/P&gt;&lt;P&gt;a~ersda IN s_ersda AND&lt;/P&gt;&lt;P&gt;a~laeda IN s_laeda AND&lt;/P&gt;&lt;P&gt;a~lvorm EQ p_lvorm AND&lt;/P&gt;&lt;P&gt;a~spart IN s_spart AND&lt;/P&gt;&lt;P&gt;c~vkorg IN s_vkorg AND&lt;/P&gt;&lt;P&gt;c~vtweg IN s_vtweg AND&lt;/P&gt;&lt;P&gt;c~lvorm EQ p_plvor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEST PROCEDURE ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am just selecting Material Type 'FERT', VKORG ,VTWEG and SPART.... Its returning a fixed value of 20 entries even when there are 1000+ entries in the Database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please put this code in your SAP environment and help me out...You can see this strange issue!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, Thanks a lot for all SAP folks who are helping me out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 02 Jul 2011 15:27:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-07-02T15:27:46Z</dc:date>
    <item>
      <title>Join Query Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-query-issue/m-p/7916109#M1598197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;      I have issue in the following query when selecting SPART . If spart is selected , the results are not correct. Is there anything i am missing in the query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT  a&lt;SUB&gt;matnr a&lt;/SUB&gt;ersda a&lt;SUB&gt;laeda a&lt;/SUB&gt;prdha a&lt;SUB&gt;spart b&lt;/SUB&gt;maktx c&lt;SUB&gt;prodh c&lt;/SUB&gt;vkorg c&lt;SUB&gt;vtweg  c&lt;/SUB&gt;mvgr1  c&lt;SUB&gt;mvgr2  c&lt;/SUB&gt;mvgr3   c&lt;SUB&gt;mvgr4  c&lt;/SUB&gt;mvgr5&lt;/P&gt;&lt;P&gt;    INTO  CORRESPONDING FIELDS OF TABLE tbl_initdata&lt;/P&gt;&lt;P&gt;    FROM  ( ( mara AS a&lt;/P&gt;&lt;P&gt;              INNER JOIN makt AS b ON   a&lt;SUB&gt;matnr = b&lt;/SUB&gt;matnr    )&lt;/P&gt;&lt;P&gt;              INNer JOIN mvke AS c ON   a&lt;SUB&gt;matnr = c&lt;/SUB&gt;matnr     )&lt;/P&gt;&lt;P&gt;    WHERE a~mtart EQ p_mtart AND&lt;/P&gt;&lt;P&gt;          a~ersda IN s_ersda AND&lt;/P&gt;&lt;P&gt;          a~laeda IN s_laeda AND&lt;/P&gt;&lt;P&gt;          a~lvorm EQ p_lvorm AND&lt;/P&gt;&lt;P&gt;          a~spart IN s_spart AND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          c~vkorg IN s_vkorg AND&lt;/P&gt;&lt;P&gt;          c~vtweg IN s_vtweg AND&lt;/P&gt;&lt;P&gt;          c~lvorm EQ p_plvor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jul 2011 05:49:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-query-issue/m-p/7916109#M1598197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-02T05:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Join Query Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-query-issue/m-p/7916110#M1598198</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;.Change Select-Options s_spart for  &amp;lt;&amp;gt;, to parameter :  &lt;STRONG&gt;s_spart type &amp;lt;&amp;gt;&lt;/STRONG&gt;  and make it EQ.&lt;/P&gt;&lt;P&gt; its working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT a&lt;SUB&gt;matnr a&lt;/SUB&gt;ersda a&lt;SUB&gt;laeda a&lt;/SUB&gt;prdha a&lt;SUB&gt;spart b&lt;/SUB&gt;maktx c&lt;SUB&gt;prodh c&lt;/SUB&gt;vkorg c&lt;SUB&gt;vtweg c&lt;/SUB&gt;mvgr1 c&lt;SUB&gt;mvgr2 c&lt;/SUB&gt;mvgr3 c&lt;SUB&gt;mvgr4 c&lt;/SUB&gt;mvgr5&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE tbl_initdata&lt;/P&gt;&lt;P&gt;FROM ( ( mara AS a&lt;/P&gt;&lt;P&gt;INNER JOIN makt AS b ON a&lt;SUB&gt;matnr = b&lt;/SUB&gt;matnr )&lt;/P&gt;&lt;P&gt;INNer JOIN mvke AS c ON a&lt;SUB&gt;matnr = c&lt;/SUB&gt;matnr )&lt;/P&gt;&lt;P&gt;WHERE a~mtart EQ p_mtart AND&lt;/P&gt;&lt;P&gt;a~ersda IN s_ersda AND&lt;/P&gt;&lt;P&gt;a~laeda IN s_laeda AND&lt;/P&gt;&lt;P&gt;a~lvorm EQ p_lvorm AND&lt;/P&gt;&lt;P&gt;a~spart &lt;STRONG&gt;EQ&lt;/STRONG&gt; s_spart AND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c~vkorg IN s_vkorg AND&lt;/P&gt;&lt;P&gt;c~vtweg IN s_vtweg AND&lt;/P&gt;&lt;P&gt;c~lvorm EQ p_plvor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Annasaheb More on Jul 2, 2011 9:04 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jul 2011 07:03:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-query-issue/m-p/7916110#M1598198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-02T07:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Join Query Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-query-issue/m-p/7916111#M1598199</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;&lt;P&gt;Change Select-Options s_spart for  &amp;lt;&amp;gt;, to parameter :  &lt;STRONG&gt;s_spart type &amp;lt;&amp;gt;&lt;/STRONG&gt;  and make it EQ. its working.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I wonder why using &lt;STRONG&gt;select-options s_spart ...&lt;/STRONG&gt; along with &lt;STRONG&gt;IN s_spart&lt;/STRONG&gt; wouldn't work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jul 2011 09:56:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-query-issue/m-p/7916111#M1598199</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2011-07-02T09:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Join Query Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-query-issue/m-p/7916112#M1598200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Z,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I gave thecode a little formatting because use of AS is not required and does not give transparency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT 
  mara~matnr mara~ersda mara~laeda mara~prdha mara~spart 
  makt~maktx 
  mvke~prodh mvke~vkorg mvke~vtweg mvke~mvgr1 mvke~mvgr2 mvke~mvgr3 mvke~mvgr4 mvke~mvgr5
  INTO CORRESPONDING FIELDS OF TABLE tbl_initdata
  FROM mara
  INNER JOIN makt ON mara~matnr = makt~matnr
  INNer JOIN mvke ON mara~matnr = mvke~matnr
  WHERE 
    mara~mtart EQ p_mtart AND
    mara~ersda IN s_ersda AND
    mara~laeda IN s_laeda AND
    mara~lvorm EQ p_lvorm AND
    mara~spart IN s_spart AND
    mvke~vkorg IN s_vkorg AND
    mvke~vtweg IN s_vtweg AND
    mvke~lvorm EQ p_plvor.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. You did not say anything about the type of error. &lt;EM&gt;"results are not correct"&lt;/EM&gt; does not mean anything.&lt;/P&gt;&lt;P&gt;2. there is no condition for MAKT-SPRAS. All material with text maintained in more that one language will result in multiple records.&lt;/P&gt;&lt;P&gt;3. You dis not say what the purpose of the selection is.&lt;/P&gt;&lt;P&gt;4. MARA-SPART is not necessarily related to MVKE data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jul 2011 10:20:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-query-issue/m-p/7916112#M1598200</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-07-02T10:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Join Query Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-query-issue/m-p/7916113#M1598201</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;change according to Below query   &lt;/P&gt;&lt;P&gt;even  your query should also work   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no problem of s_spart condition with IN .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should  check values  such as  p_lvorm  and p_plvor  because  if those values are blank then your query will return  no values   as EQ is used  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT a~matnr a~ersda a~laeda a~prdha a~spart b~maktx c~prodh c~vkorg c~vtweg c~mvgr1 c~mvgr2 c~mvgr3 c~mvgr4 c~mvgr5
INTO CORRESPONDING FIELDS OF TABLE tbl_initdata
FROM  mara AS a
INNER JOIN makt AS b ON  ( a~matnr = b~matnr )
INNer JOIN mvke AS c ON  ( a~matnr = c~matnr )
WHERE a~mtart EQ p_mtart AND
a~ersda IN s_ersda AND
a~laeda IN s_laeda AND
a~lvorm EQ p_lvorm AND
a~spart IN s_spart AND
c~vkorg IN s_vkorg AND
c~vtweg IN s_vtweg AND
c~lvorm EQ p_plvor.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jul 2011 10:23:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-query-issue/m-p/7916113#M1598201</guid>
      <dc:creator>deepak_dhamat</dc:creator>
      <dc:date>2011-07-02T10:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Join Query Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-query-issue/m-p/7916114#M1598202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends, &lt;/P&gt;&lt;P&gt;           The query is not working when we use SELECT-OPTIONS for SPART. When using paramater its working fine.. For your more analysis, i am giving the Selection screen declarations and my Test Procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-h01.&lt;/P&gt;&lt;P&gt;PARAMETERS:     p_mtart   TYPE mtart MEMORY ID mta OBLIGATORY&lt;/P&gt;&lt;P&gt;                                       DEFAULT 'FERT'.               "Material Type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_ersda   FOR  mara-ersda   ,         "Created on&lt;/P&gt;&lt;P&gt;                s_laeda   FOR  mara-laeda   ,         "Changed on&lt;/P&gt;&lt;P&gt;                s_vkorg   FOR  mvke-vkorg,            "Sales Organization&lt;/P&gt;&lt;P&gt;                s_vtweg   FOR  mvke-vtweg,            "Distribution Channel&lt;/P&gt;&lt;P&gt;                s_spart   for  mara-spart.             "Division&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-h02.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_lvorm AS CHECKBOX DEFAULT space,       "Marked for Deletion at Client Level&lt;/P&gt;&lt;P&gt;            p_plvor AS CHECKBOX DEFAULT space.       "Marked for Deletion at Plant Level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HERE is the Select Query,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT a&lt;SUB&gt;matnr a&lt;/SUB&gt;ersda a&lt;SUB&gt;laeda a&lt;/SUB&gt;prdha a&lt;SUB&gt;spart b&lt;/SUB&gt;maktx c&lt;SUB&gt;prodh c&lt;/SUB&gt;vkorg c&lt;SUB&gt;vtweg c&lt;/SUB&gt;mvgr1 c&lt;SUB&gt;mvgr2 c&lt;/SUB&gt;mvgr3 c&lt;SUB&gt;mvgr4 c&lt;/SUB&gt;mvgr5&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE tbl_initdata&lt;/P&gt;&lt;P&gt;FROM  mara AS a&lt;/P&gt;&lt;P&gt;INNER JOIN makt AS b ON  ( a&lt;SUB&gt;matnr = b&lt;/SUB&gt;matnr )&lt;/P&gt;&lt;P&gt;INNer JOIN mvke AS c ON  ( a&lt;SUB&gt;matnr = c&lt;/SUB&gt;matnr )&lt;/P&gt;&lt;P&gt;WHERE a~mtart EQ p_mtart AND&lt;/P&gt;&lt;P&gt;a~ersda IN s_ersda AND&lt;/P&gt;&lt;P&gt;a~laeda IN s_laeda AND&lt;/P&gt;&lt;P&gt;a~lvorm EQ p_lvorm AND&lt;/P&gt;&lt;P&gt;a~spart IN s_spart AND&lt;/P&gt;&lt;P&gt;c~vkorg IN s_vkorg AND&lt;/P&gt;&lt;P&gt;c~vtweg IN s_vtweg AND&lt;/P&gt;&lt;P&gt;c~lvorm EQ p_plvor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEST PROCEDURE ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am just selecting Material Type 'FERT', VKORG ,VTWEG and SPART.... Its returning a fixed value of 20 entries even when there are 1000+ entries in the Database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please put this code in your SAP environment and help me out...You can see this strange issue!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, Thanks a lot for all SAP folks who are helping me out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jul 2011 15:27:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-query-issue/m-p/7916114#M1598202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-02T15:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Join Query Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-query-issue/m-p/7916115#M1598203</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;As advised by Deepak  ,it could be because of the conditional statements with Equal conditions for fields p_lvorm  and p_plvor. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or it could be because of the inner join , as  inner join only returns matching entries for the material in all the three tables . Try using outer join , depending on your requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pawan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jul 2011 15:50:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-query-issue/m-p/7916115#M1598203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-02T15:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Join Query Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-query-issue/m-p/7916116#M1598204</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;I see no reason that this query shouldn't work even stranger that it is returning only 20 rows.&lt;/P&gt;&lt;P&gt;I believe the only possibility can be that YOU are missing something while checking in database and there must be only 20 relevant rows. Please re-check again with someone's help, you might be missing some silly thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, it is good to add language condition for MAKT. Please note carefully that your relevant SPART materials have sales views on them (MVKE entries).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Diwakar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2011 05:46:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-query-issue/m-p/7916116#M1598204</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-04T05:46:06Z</dc:date>
    </item>
  </channel>
</rss>

