<?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: pass parameter from fm to subroutine in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameter-from-fm-to-subroutine/m-p/6561031#M1431339</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;Kindly Declare your variable in the Global area i.e the TOP include of your Function Group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Feb 2010 10:25:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-10T10:25:00Z</dc:date>
    <item>
      <title>pass parameter from fm to subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameter-from-fm-to-subroutine/m-p/6561027#M1431335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;how to pass import parameter of function module to "top of page'  subroutine wirtten for ALV. both are in same function group.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 09:14:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameter-from-fm-to-subroutine/m-p/6561027#M1431335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-10T09:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: pass parameter from fm to subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameter-from-fm-to-subroutine/m-p/6561028#M1431336</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;Your question is ambiguous. Can you please post the relevant portion of the code &amp;amp; explain what you are trying to achieve ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 09:30:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameter-from-fm-to-subroutine/m-p/6561028#M1431336</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-02-10T09:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: pass parameter from fm to subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameter-from-fm-to-subroutine/m-p/6561029#M1431337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;declare them as same variable. (use the same variable that you get from FM to top of page..)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clarify your question for more info..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 09:32:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameter-from-fm-to-subroutine/m-p/6561029#M1431337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-10T09:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: pass parameter from fm to subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameter-from-fm-to-subroutine/m-p/6561030#M1431338</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;Do you mean that your program is calling a FM and the FM returns a value and you need to use that value in the subroutine defined for the event top of page in an ALV?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so then declare a variable of the same type as the returning parameter from the FM and assign the variable that value. Now as it is defined as a global variable use it in the subroutine defined for the top of page for the ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 10:00:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameter-from-fm-to-subroutine/m-p/6561030#M1431338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-10T10:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: pass parameter from fm to subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameter-from-fm-to-subroutine/m-p/6561031#M1431339</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;Kindly Declare your variable in the Global area i.e the TOP include of your Function Group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 10:25:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameter-from-fm-to-subroutine/m-p/6561031#M1431339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-10T10:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: pass parameter from fm to subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameter-from-fm-to-subroutine/m-p/6561032#M1431340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need to dipspaly the user input in the top-of-page of alv. how to pass this value to the top of page subroutine written. this subroutine is called using events not by any perform top of page...hope u got my problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 10:51:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameter-from-fm-to-subroutine/m-p/6561032#M1431340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-10T10:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: pass parameter from fm to subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameter-from-fm-to-subroutine/m-p/6561033#M1431341</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;As per my understanding the ALV that you are calling is using the FM REUSE_ALV_GRID_DISPLAY. Now it has a parameter I_CALLBACK_TOP_OF_PAGE. Here you pass the name of a subroutine that you define and when the top of page of the ALV is triggered then this subroutine is called.&lt;/P&gt;&lt;P&gt;Now if you have defined a global variable holding the value then in the FORM ... ENDFORM statement for top of page you can use this variable holding the required value. To print the output you'll probably need to call the FM REUSE_ALV_COMMENTARY_WRITE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 10:57:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameter-from-fm-to-subroutine/m-p/6561033#M1431341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-10T10:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: pass parameter from fm to subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameter-from-fm-to-subroutine/m-p/6561034#M1431342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the function module is getting import parameter which i need to display in top of page. so , is it like i need to pass this value first to a global value and fetch from there in subroutine?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 11:29:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameter-from-fm-to-subroutine/m-p/6561034#M1431342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-10T11:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: pass parameter from fm to subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameter-from-fm-to-subroutine/m-p/6561035#M1431343</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;Yes.... as the subroutine for the top of page does not have any formal parameters so you will have to use a global variable and access it in the subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 11:32:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameter-from-fm-to-subroutine/m-p/6561035#M1431343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-10T11:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: pass parameter from fm to subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameter-from-fm-to-subroutine/m-p/6561036#M1431344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 11:58:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameter-from-fm-to-subroutine/m-p/6561036#M1431344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-10T11:58:22Z</dc:date>
    </item>
  </channel>
</rss>

