<?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: global parameter in Module function in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-parameter-in-module-function/m-p/3769396#M907014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;If you want to have P1 as a global parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first you need to rename your importing parameter to say p2..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then &lt;/P&gt;&lt;P&gt;in SE37-&amp;gt;Goto-&amp;gt;Main Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you would find an Include XXXXXXXXXTOP program&lt;/P&gt;&lt;P&gt;where you can put your declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 May 2008 11:42:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-02T11:42:51Z</dc:date>
    <item>
      <title>global parameter in Module function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-parameter-in-module-function/m-p/3769395#M907013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i create Function Module with P1 as importing parametre . in source code of  the Module  fuction  i call a FROM AA.&lt;/P&gt;&lt;P&gt;the problem that P1 is considerate as local parametre.   &lt;/P&gt;&lt;P&gt;i want to use P1  in  code  of  the FORM AA  without passing as parametre  in FROM.&lt;/P&gt;&lt;P&gt;can anybody help me please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;source of MF Z_SPLIT_LONG_TEXT&lt;/P&gt;&lt;P&gt;**********************************************************************************&lt;/P&gt;&lt;P&gt;FUNCTION Z_SPLIT_LONG_TEXT.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local interface:&lt;/P&gt;&lt;P&gt;*"       IMPORTING&lt;/P&gt;&lt;P&gt;*"             P1  LIKE  TYPE1.&lt;/P&gt;&lt;P&gt;PRFORM AA&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM AAA.&lt;/P&gt;&lt;P&gt;P1 =  P1 + I&lt;/P&gt;&lt;P&gt;ENDFORM&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt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t;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 11:38:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-parameter-in-module-function/m-p/3769395#M907013</guid>
      <dc:creator>adil</dc:creator>
      <dc:date>2008-05-02T11:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: global parameter in Module function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-parameter-in-module-function/m-p/3769396#M907014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;If you want to have P1 as a global parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first you need to rename your importing parameter to say p2..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then &lt;/P&gt;&lt;P&gt;in SE37-&amp;gt;Goto-&amp;gt;Main Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you would find an Include XXXXXXXXXTOP program&lt;/P&gt;&lt;P&gt;where you can put your declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 11:42:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-parameter-in-module-function/m-p/3769396#M907014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T11:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: global parameter in Module function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-parameter-in-module-function/m-p/3769397#M907015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi yassine82 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; declare ur p1 as &lt;STRONG&gt;reference&lt;/STRONG&gt; insteed of &lt;STRONG&gt;like&lt;/STRONG&gt; it will work &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;snehi chouhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 11:47:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-parameter-in-module-function/m-p/3769397#M907015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T11:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: global parameter in Module function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-parameter-in-module-function/m-p/3769398#M907016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I understand that you want to define a subroutine inside a function module and want to use the importing parameter. While this being the case, just declare a local variable with in that subroutine definition with using or changing parameters and while calling the routine use your importing parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijayalakshmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 11:51:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-parameter-in-module-function/m-p/3769398#M907016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T11:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: global parameter in Module function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-parameter-in-module-function/m-p/3769399#M907017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I like to see in source code , importing parametr with the word " globale"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like this ( globale interface) instead of  'local interface'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION Z_SPLIT_LONG_TEXT.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;**&lt;STRONG&gt;"&lt;/STRONG&gt;"Globale interface:**&lt;/P&gt;&lt;P&gt;*"       IMPORTING&lt;/P&gt;&lt;P&gt;*"             VALUE(LIMIET) LIKE  ZSPLIT-LIMIET&lt;/P&gt;&lt;P&gt;*"       TABLES&lt;/P&gt;&lt;P&gt;*"              TE_SPLITSEN STRUCTURE  TLINE&lt;/P&gt;&lt;P&gt;*"              GESPLITST STRUCTURE  ZSPLIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: yassine82 on May 2, 2008 5:20 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 15:19:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-parameter-in-module-function/m-p/3769399#M907017</guid>
      <dc:creator>adil</dc:creator>
      <dc:date>2008-05-02T15:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: global parameter in Module function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-parameter-in-module-function/m-p/3769400#M907018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Forget about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Micky Oestreich on May 2, 2008 9:34 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 19:29:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-parameter-in-module-function/m-p/3769400#M907018</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-05-02T19:29:46Z</dc:date>
    </item>
  </channel>
</rss>

