<?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: Function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2449949#M548957</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the table is defined as local then you can't get the data in the include for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define all your global tables in TOP include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2007 04:01:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-03T04:01:14Z</dc:date>
    <item>
      <title>Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2449947#M548955</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;I have created one function module and used subroutines. Form definations are written in the TOP include. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select * from mata into table i_mara where plnat = '105'&lt;/P&gt;&lt;P&gt; if sy-sunrc eq 0.&lt;/P&gt;&lt;P&gt;perform call_marc.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In above statment when sy-subrc eq 0. it is going to topi nclude as form defination is call_marc is written in Top include. I am not able to see data in I_marc once i enter in the call_marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one suggest the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 03:55:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2449947#M548955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-03T03:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2449948#M548956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Welcome TO SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To view internal tables, variables and work areas globaly in a function Group they need to be declared in the TOP include.&lt;/P&gt;&lt;P&gt;Subroutines/ Form Includes are not the part of TOP include. They need to be declare in a seperate INCLUDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 04:00:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2449948#M548956</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-07-03T04:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2449949#M548957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the table is defined as local then you can't get the data in the include for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define all your global tables in TOP include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 04:01:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2449949#M548957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-03T04:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2449950#M548958</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;Check how did u declared l_marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whether it is local variable or global variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as if it is local variable u can't see the values in that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u need to declare it as global variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Local variable means with in the form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Global means global to entire program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 04:01:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2449950#M548958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-03T04:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2449951#M548959</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;You need to write the coding in U* subroutine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 04:06:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2449951#M548959</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2007-07-03T04:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2449952#M548960</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 wn't see it if the table is local!&lt;/P&gt;&lt;P&gt;if you want to see L_marc data in form call_marc,&lt;/P&gt;&lt;P&gt;Select * from mata into table i_mara where plnat = '105'&lt;/P&gt;&lt;P&gt;if sy-sunrc eq 0.&lt;/P&gt;&lt;P&gt;perform call_marc &amp;lt;b&amp;gt;tables I_marc.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reegards, &lt;/P&gt;&lt;P&gt;Sooness.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 04:23:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2449952#M548960</guid>
      <dc:creator>dev_parbutteea</dc:creator>
      <dc:date>2007-07-03T04:23:28Z</dc:date>
    </item>
  </channel>
</rss>

