<?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: Regarding Module Pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/1894274#M373890</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;Create a structure S_STRUC in the top include of the function group..Which should be of the same structure of the IMPORTING structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE the value from the IMPORTING structure to the top include structure S_STRUC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_STRUC = IM_STRUC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use the structure S_STRUC any where in your screen..&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jan 2007 21:46:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-23T21:46:20Z</dc:date>
    <item>
      <title>Regarding Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/1894273#M373889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I would definatly appreciate if any one could solve my problem&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;My Problem is I Have created one FM and inside this FM module I called one Screen.&lt;/P&gt;&lt;P&gt;Inthe PAI of the screen i want to use one structure which is imported in the FM .&lt;/P&gt;&lt;P&gt;So please tell me how ot access that FM module structure in the PAI of the screen.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 21:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/1894273#M373889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T21:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/1894274#M373890</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;Create a structure S_STRUC in the top include of the function group..Which should be of the same structure of the IMPORTING structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE the value from the IMPORTING structure to the top include structure S_STRUC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_STRUC = IM_STRUC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use the structure S_STRUC any where in your screen..&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 21:46:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/1894274#M373890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T21:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/1894275#M373891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren&lt;/P&gt;&lt;P&gt;What would happen if i call this FM from one user exit and i want the data in userexit aswell.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 21:53:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/1894275#M373891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T21:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/1894276#M373892</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; The best way would be to EXPORT the parameters from one part of your program and then IMPORT them back when needed.&lt;/P&gt;&lt;P&gt;Please click the link below to know about IMPORT/EXPORT commands in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb3bc4358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb3bc4358411d1829f0000e829fbfe/content.htm&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 21:58:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/1894276#M373892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T21:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/1894277#M373893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please specify me how to access . &lt;/P&gt;&lt;P&gt;I am still not able to acees my structure inthe screen although i have declared the same type of structure in TOP include &lt;/P&gt;&lt;P&gt;Where should i use this statememnt &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;S_STRUC = IM_STRUC. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;please tell me again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 22:00:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/1894277#M373893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T22:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/1894278#M373894</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;I don't understand your question..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are calling the FM in a user exit...The value will be passed in the exporting parameter right..Which means in the calling place..You will have that data..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USEREXIT code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***In the user exit the value is available in the WA_STRUC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ZZZZ'&lt;/P&gt;&lt;P&gt;  EXPORTING EX_STRUC = WA_STRUC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION ZZZZ.&lt;/P&gt;&lt;P&gt;***IMPORTING EX_STRUC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Now you have the value in the work area EX_STRUC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 22:00:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/1894278#M373894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T22:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/1894279#M373895</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;&amp;gt;Can you please specify me how to access . &lt;/P&gt;&lt;P&gt;&amp;gt;I am still not able to acees my structure inthe screen although i have declared &amp;gt;the same type of structure in TOP include &lt;/P&gt;&lt;P&gt;&amp;gt;Where should i use this statememnt &lt;/P&gt;&lt;P&gt;&amp;gt;S_STRUC = IM_STRUC. &lt;/P&gt;&lt;P&gt;&amp;gt;please tell me again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to declare the structure S_STRUC in the top include of your function group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IM_STRUC will be your importing parameter..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN the function module you should give&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_STRUC = IM_STRUC.&lt;/P&gt;&lt;P&gt;&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 22:02:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/1894279#M373895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T22:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/1894280#M373896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not able to get the strucutre value on the screen. Although i have declared it on the same structre on hte TOP include of the Funciton Gruoup. But now the thing is how to get get the data in PAI. where should i use the statement &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;S_STRUC = IM_STRUC&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and how to change the value of the&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 22:07:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/1894280#M373896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T22:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/1894281#M373897</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;Ok..Let me explain clearly..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming this is your Z Function module code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION z_call_screen.&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;*"      IM_STRUC  TYPE MARA&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Move the value IM_STRUC to the top include structure..&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The structure S_STRUC should be declared in the top include of the FM.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;In the menu..GOTO -&amp;gt; GLOBAL DATA..&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;declare the structure S_STRUC which should of type MARA.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  S_STRUC = IM_STRUC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALL the screen.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; CALL SCREEN '0100'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************&lt;/P&gt;&lt;P&gt;****************&lt;STRONG&gt;FLOW LOGIC&lt;/STRONG&gt;**************&lt;/P&gt;&lt;P&gt;************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE get_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************&lt;/P&gt;&lt;P&gt;****************&lt;STRONG&gt;PAI MODULES&lt;/STRONG&gt;************&lt;/P&gt;&lt;P&gt;************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE get_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  IF S_STRUC-MATNR IS INITIAL.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 22:14:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/1894281#M373897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T22:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/1894282#M373898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Naren,&lt;/P&gt;&lt;P&gt; Now it works,&lt;/P&gt;&lt;P&gt;The problem was that i declared the structure in the global data but i didn't understand how to access this vlaue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks alot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 22:24:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/1894282#M373898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T22:24:30Z</dc:date>
    </item>
  </channel>
</rss>

