<?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: Internal table in user exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-user-exit/m-p/4666056#M1097685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a TOP Include MV45ATZZ for the data declaration which can be used in the USER EXITs of the MV45AFZZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare your internal table in the MV45ATZZ include and than you can use them in the USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Oct 2008 13:32:20 GMT</pubDate>
    <dc:creator>naimesh_patel</dc:creator>
    <dc:date>2008-10-24T13:32:20Z</dc:date>
    <item>
      <title>Internal table in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-user-exit/m-p/4666054#M1097683</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 am using user exit "MV45AFZZ" - Sales order, I have declaired one internal table in userexit_save_document_prepare and storing some data in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM userexit_save_document_prepare.&lt;/P&gt;&lt;P&gt;ENDFORM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish to use the data from internal table declared in userexit_save_document_prepare in&lt;/P&gt;&lt;P&gt;FORM userexit_save_document.&lt;/P&gt;&lt;P&gt;ENDFORM.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should i declare the internal table at some other place so that it can be accessed from other user exits.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 12:59:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-user-exit/m-p/4666054#M1097683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T12:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-user-exit/m-p/4666055#M1097684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;define that in MV45ATZZ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 13:31:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-user-exit/m-p/4666055#M1097684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T13:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-user-exit/m-p/4666056#M1097685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a TOP Include MV45ATZZ for the data declaration which can be used in the USER EXITs of the MV45AFZZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare your internal table in the MV45ATZZ include and than you can use them in the USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 13:32:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-user-exit/m-p/4666056#M1097685</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-10-24T13:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-user-exit/m-p/4666057#M1097686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ganesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are asking if your internal table can be declared globally.  I don't believe there is an area (an include program for example) in SAPMV45A that allows customers to declare their own global data.  This would of course be the most straight-forward solution, but if we don't have this option, you can always do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM userexit_save_document_prepare.
  ...
  EXPORT my_itab TO MEMORY ID 'CUST_MEMORY'.
  ...
ENDFORM. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM userexit_save_document.
  ...
  IMPORT my_itab FORM MEMORY ID 'CUST_MEMORY'.
  ...
ENDFORM. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jamie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 13:35:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-user-exit/m-p/4666057#M1097686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T13:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-user-exit/m-p/4666058#M1097687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are incorrect, see MV45ATZZ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 13:37:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-user-exit/m-p/4666058#M1097687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T13:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-user-exit/m-p/4666059#M1097688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;True enough.  I stand corrected.  Guess I'm slipping in my old age.  &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In cases where there is no include such as MV45ATZZ, the export/import would be an option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jamie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 13:40:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-user-exit/m-p/4666059#M1097688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T13:40:59Z</dc:date>
    </item>
  </channel>
</rss>

