<?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: Can we use use ' join ' with in a function module !!! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-use-use-join-with-in-a-function-module/m-p/3261094#M779102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes - you can use a JOIN in an FM. Maybe you get the error because there is no data that meets your selection conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may have to run vbeln1 through FM CONVERSION_EXIT_ALPHA_OUTPUT before doing the SELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Jan 2008 16:32:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-19T16:32:13Z</dc:date>
    <item>
      <title>Can we use use ' join ' with in a function module !!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-use-use-join-with-in-a-function-module/m-p/3261093#M779101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my case its giving an error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT vbak~vbeln&lt;/P&gt;&lt;P&gt;       vbak~erdat&lt;/P&gt;&lt;P&gt;       vbak~vkorg&lt;/P&gt;&lt;P&gt;        ABRVW&lt;/P&gt;&lt;P&gt;        augru&lt;/P&gt;&lt;P&gt;        kunnr&lt;/P&gt;&lt;P&gt;        posnr&lt;/P&gt;&lt;P&gt;        matnr&lt;/P&gt;&lt;P&gt;        vbap~vkaus&lt;/P&gt;&lt;P&gt;        vbap~spart&lt;/P&gt;&lt;P&gt;        vbap~netwr&lt;/P&gt;&lt;P&gt;        vbap~waerk&lt;/P&gt;&lt;P&gt;        kwmeng&lt;/P&gt;&lt;P&gt;        kondm&lt;/P&gt;&lt;P&gt;        mvgr1&lt;/P&gt;&lt;P&gt;        mvgr2&lt;/P&gt;&lt;P&gt;        mvgr3&lt;/P&gt;&lt;P&gt;        mvgr4&lt;/P&gt;&lt;P&gt;        mvgr5&lt;/P&gt;&lt;P&gt;  FROM vbak AS vbak INNER JOIN vbap AS vbap&lt;/P&gt;&lt;P&gt;  ON vbak&lt;SUB&gt;vbeln EQ vbap&lt;/SUB&gt;vbeln&lt;/P&gt;&lt;P&gt;  INTO corresponding fields of TABLE tvbak&lt;/P&gt;&lt;P&gt; WHERE vbak~vbeln = vbeln1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the above code  which is a part of function module.its&lt;/P&gt;&lt;P&gt;giving run time exception.....as its saying it cant read data from table VBAK.....NEED HLP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jan 2008 15:14:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-use-use-join-with-in-a-function-module/m-p/3261093#M779101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-19T15:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use use ' join ' with in a function module !!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-use-use-join-with-in-a-function-module/m-p/3261094#M779102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes - you can use a JOIN in an FM. Maybe you get the error because there is no data that meets your selection conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may have to run vbeln1 through FM CONVERSION_EXIT_ALPHA_OUTPUT before doing the SELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jan 2008 16:32:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-use-use-join-with-in-a-function-module/m-p/3261094#M779102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-19T16:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use use ' join ' with in a function module !!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-use-use-join-with-in-a-function-module/m-p/3261095#M779103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jyotirmoy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you can read data in FM using inner join as mentioned in the post from Rob.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the runtime exception you are getting?&lt;/P&gt;&lt;P&gt;Send the details of the runtime exception text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sanjeev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jan 2008 01:11:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-use-use-join-with-in-a-function-module/m-p/3261095#M779103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-20T01:11:19Z</dc:date>
    </item>
  </channel>
</rss>

