<?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 used in Query gives Dump in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-in-query-gives-dump/m-p/843209#M44677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Umang!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks more like your z-program is a report -&amp;gt; load-of-program event is defined. In an infoset you handle probably a subroutine pool -&amp;gt; load-of-program event is not defined and you get a dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to change your z-function group more widely than you thought. A starting point might be: deletion of all unchanged function modules (because you can call the standard function), so that the rest of includes is easier to handle. &lt;/P&gt;&lt;P&gt;It might get tricky, if your function needs some action at load-of-program, but hopefully that part belongs to something else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 May 2005 07:31:28 GMT</pubDate>
    <dc:creator>christian_wohlfahrt</dc:creator>
    <dc:date>2005-05-04T07:31:28Z</dc:date>
    <item>
      <title>Function Module used in Query gives Dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-in-query-gives-dump/m-p/843208#M44676</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;I have created a function module which is in Function which was copied froma standard function group.&lt;/P&gt;&lt;P&gt;The Problem is that when i use that function module in an infoset to get the value of a particular field it gives a dump but when i use it in custom program it works fine.&lt;/P&gt;&lt;P&gt;I debugged the query program and found out taht there is include in the main program of the function which has an event call for LOAD-OF-Program so when it goes into that event it gives DUMP.&lt;/P&gt;&lt;P&gt;I want to know why does the function module event load-of -program call happens when used in a infoset but not in a "Z" program.&lt;/P&gt;&lt;P&gt;I cannot remove that include from the main program since the function group is used by many other function Modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Umang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2005 21:35:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-in-query-gives-dump/m-p/843208#M44676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-03T21:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module used in Query gives Dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-in-query-gives-dump/m-p/843209#M44677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Umang!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks more like your z-program is a report -&amp;gt; load-of-program event is defined. In an infoset you handle probably a subroutine pool -&amp;gt; load-of-program event is not defined and you get a dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to change your z-function group more widely than you thought. A starting point might be: deletion of all unchanged function modules (because you can call the standard function), so that the rest of includes is easier to handle. &lt;/P&gt;&lt;P&gt;It might get tricky, if your function needs some action at load-of-program, but hopefully that part belongs to something else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2005 07:31:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-in-query-gives-dump/m-p/843209#M44677</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2005-05-04T07:31:28Z</dc:date>
    </item>
  </channel>
</rss>

