<?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: Does Dynamic subroutine accepts TYPES declared in Global area in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/does-dynamic-subroutine-accepts-types-declared-in-global-area/m-p/1579532#M261587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare a global workarea of type type_t_errlog. &lt;/P&gt;&lt;P&gt;And use that in the changing parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prakash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Oct 2006 10:40:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-09T10:40:05Z</dc:date>
    <item>
      <title>Does Dynamic subroutine accepts TYPES declared in Global area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/does-dynamic-subroutine-accepts-types-declared-in-global-area/m-p/1579530#M261585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried building a dynamic subroutine where the a piece of code is being generated as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZZZZZZ.&lt;/P&gt;&lt;P&gt;FORM dynamic_delete USING&lt;/P&gt;&lt;P&gt;IM_VKORG TYPE SHP_VKORG_RANGE_T&lt;/P&gt;&lt;P&gt;IM_VTWEG TYPE SHP_VTWEG_RANGE_T&lt;/P&gt;&lt;P&gt;IM_SPART TYPE SHP_SPART_RANGE_T&lt;/P&gt;&lt;P&gt;IM_KUNNR TYPE SHP_KUNNR_RANGE_T&lt;/P&gt;&lt;P&gt;CHANGING rt_errlog TYPE type_t_errlog.&lt;/P&gt;&lt;P&gt;DATA : s_errlog TYPE LINE OF rt_errlog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While GENERATE SUBROUTINE POOL, I am getting an error message(SY-SUBRC = 4):&lt;/P&gt;&lt;P&gt;The type "TYPE_T_ERRLOG" is unknown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have globally defined TYPE_T_ERRLOG. It is necessary that TYPE_T_ERRLOG should be defined in dictionary?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding TYPE declaration in Dynamic subroutine, i would like to know the visibility of subroutine. Sub routine can view(parses) DDIC types. Similarly, can it view Global types declared in program from which the dynamic subroutine is being created?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Surya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2006 10:35:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/does-dynamic-subroutine-accepts-types-declared-in-global-area/m-p/1579530#M261585</guid>
      <dc:creator>surya_gupta3</dc:creator>
      <dc:date>2006-10-09T10:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Does Dynamic subroutine accepts TYPES declared in Global area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/does-dynamic-subroutine-accepts-types-declared-in-global-area/m-p/1579531#M261586</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 must incude your global data in your subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report ZZZZZ.

incude ZZZZ_incl.

form...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Andreas Mann&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2006 10:38:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/does-dynamic-subroutine-accepts-types-declared-in-global-area/m-p/1579531#M261586</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-10-09T10:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Does Dynamic subroutine accepts TYPES declared in Global area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/does-dynamic-subroutine-accepts-types-declared-in-global-area/m-p/1579532#M261587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare a global workarea of type type_t_errlog. &lt;/P&gt;&lt;P&gt;And use that in the changing parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prakash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2006 10:40:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/does-dynamic-subroutine-accepts-types-declared-in-global-area/m-p/1579532#M261587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-09T10:40:05Z</dc:date>
    </item>
  </channel>
</rss>

