<?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: help in SQL syntax in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-sql-syntax/m-p/1641300#M285590</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for pointing out the error.. n thx4 the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Nov 2006 07:25:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-13T07:25:33Z</dc:date>
    <item>
      <title>help in SQL syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-sql-syntax/m-p/1641298#M285588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT MARA&lt;SUB&gt;MATNR MARA&lt;/SUB&gt;PRDHA  MARA&lt;SUB&gt;MEINS MARD&lt;/SUB&gt;LGORT&lt;/P&gt;&lt;P&gt;         MARD&lt;SUB&gt;LABST MARD&lt;/SUB&gt;INSME&lt;/P&gt;&lt;P&gt;    INTO CORRESPONDING FIELDS OF TABLE ITAB_TEM_NORMAL&lt;/P&gt;&lt;P&gt;          FROM MARA INNER JOIN MARC ON MARC&lt;SUB&gt;MATNR = MARA&lt;/SUB&gt;MATNR&lt;/P&gt;&lt;P&gt;          INNER JOIN MARD ON MARD&lt;SUB&gt;MATNR = MARA&lt;/SUB&gt;MATNR&lt;/P&gt;&lt;P&gt;          INNER JOIN MSEG ON MSEG&lt;SUB&gt;MATNR = MSEG&lt;/SUB&gt;MATNR&lt;/P&gt;&lt;P&gt;          INNER JOIN MKPF ON MKPF&lt;SUB&gt;MBLNR = MSEG&lt;/SUB&gt;MBLNR&lt;/P&gt;&lt;P&gt;    WHERE MARA~MATNR IN Z_MATNR&lt;/P&gt;&lt;P&gt;     AND MARA&lt;SUB&gt;SPART IN Z_SPART  AND MARA&lt;/SUB&gt;MATKL IN Z_MATKL&lt;/P&gt;&lt;P&gt;     AND MARA&lt;SUB&gt;MTART IN Z_MTART  AND MARA&lt;/SUB&gt;PRDHA IN Z_PRDHA&lt;/P&gt;&lt;P&gt;     AND MARC&lt;SUB&gt;EKGRP IN Z_EKGRP  AND MARC&lt;/SUB&gt;DISPO IN Z_DISPO&lt;/P&gt;&lt;P&gt;     AND MARD~LGORT IN STR_LOC1&lt;/P&gt;&lt;P&gt;     AND MKPF~BUDAT IN SHIP_D&lt;/P&gt;&lt;P&gt;     AND NOT MARD~LGORT IN ('L001','L002','L003','V001','V002','V003')&lt;/P&gt;&lt;P&gt;     AND ( MSEG~BWART IN ('901','902','101','102','106','105') AND&lt;/P&gt;&lt;P&gt;     MSEG&lt;SUB&gt;LGORT = 'L002') OR ( MSEG&lt;/SUB&gt;BWART IN ('311','312') AND&lt;/P&gt;&lt;P&gt;     ( MSEG&lt;SUB&gt;LGORT = 'L001' OR MSEG&lt;/SUB&gt;UMLGO = 'L001')).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what's wrong with above coding? it said "(" has no closing ")".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 07:13:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-sql-syntax/m-p/1641298#M285588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T07:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: help in SQL syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-sql-syntax/m-p/1641299#M285589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems you have an error:&lt;/P&gt;&lt;P&gt;INNER JOIN MSEG ON MSEG&lt;SUB&gt;MATNR = MSEG&lt;/SUB&gt;MATNR&lt;/P&gt;&lt;P&gt;haven't you ment &lt;/P&gt;&lt;P&gt;INNER JOIN MSEG ON MSEG&lt;SUB&gt;MATNR = MARA&lt;/SUB&gt;MATNR&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;Regarding syntax error perhaps you should put a space between two closing brackets et the end of your statement...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 07:21:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-sql-syntax/m-p/1641299#M285589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T07:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: help in SQL syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-sql-syntax/m-p/1641300#M285590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for pointing out the error.. n thx4 the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 07:25:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-sql-syntax/m-p/1641300#M285590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T07:25:33Z</dc:date>
    </item>
  </channel>
</rss>

