<?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: calling external subroutine in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-external-subroutine/m-p/9279418#M1723832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you cant do that, if the subroutine interface does not exsits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned by Akshat, you can investigate , for any FM, or other way, to pass the structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Feb 2013 14:15:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-02-18T14:15:28Z</dc:date>
    <item>
      <title>calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-external-subroutine/m-p/9279415#M1723829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Custum Function Module i am calling external subroutine which is in Standard Program. from my function module when it calls Standard Program all the Standard Structures does not have Values...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;PERFORM (gv_report) &lt;SPAN class="L1S52"&gt;IN&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;PROGRAM&lt;/SPAN&gt; SAPLV61A &lt;SPAN class="L1S52"&gt;IF&lt;/SPAN&gt; FOUND.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;from the above statement it is going to standard program but the structures used in that standard program does not have values.. Please help how to pass the structure values to the standard Program with the above statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;Vinod&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 10:55:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-external-subroutine/m-p/9279415#M1723829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-18T10:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-external-subroutine/m-p/9279416#M1723830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it's not possible to pass the structure from your function module. Because it's not using the same memory from your custom program to the standard one. So, it's not possible to populate your structure with data.&amp;nbsp; If it is generic type or static kind of program then it should have possible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhijit Mandal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 11:52:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-external-subroutine/m-p/9279416#M1723830</guid>
      <dc:creator>Abhijit74</dc:creator>
      <dc:date>2013-02-18T11:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-external-subroutine/m-p/9279417#M1723831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably there are other subroutines which need to be called first in order to populate the required tables or structures. Maybe you are not calling the correct subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why exactly do you need to call the subroutine externally? Does it encapsulate some logic that you want to re-use? What kind of logic is it? If it's something generic, you should probably look for available APIs (class methods or function modules).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 14:05:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-external-subroutine/m-p/9279417#M1723831</guid>
      <dc:creator>kakshat</dc:creator>
      <dc:date>2013-02-18T14:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-external-subroutine/m-p/9279418#M1723832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you cant do that, if the subroutine interface does not exsits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned by Akshat, you can investigate , for any FM, or other way, to pass the structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 14:15:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-external-subroutine/m-p/9279418#M1723832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-18T14:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-external-subroutine/m-p/9279419#M1723833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Yes you can do that, but only if:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;the subroutine is self-sufficient (ie does not rely on any global values in its parent program) and &lt;/LI&gt;&lt;LI&gt;you pass all the parameter values (via TABLEs, USING or CHANGING) that it needs.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, no can do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Paul﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 00:48:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-external-subroutine/m-p/9279419#M1723833</guid>
      <dc:creator>paul_bakker2</dc:creator>
      <dc:date>2013-02-19T00:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-external-subroutine/m-p/9279420#M1723834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Hi vinod,&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp; Try by this way,&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;PERFORM gv_report USING (your strucuture name).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;By this,you can pass the structure values from FM to the program.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Santhosh Kumar.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 07:02:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-external-subroutine/m-p/9279420#M1723834</guid>
      <dc:creator>former_member612950</dc:creator>
      <dc:date>2013-02-19T07:02:32Z</dc:date>
    </item>
  </channel>
</rss>

