<?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 Module pool programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming/m-p/3438331#M825697</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;i am working with modulepool programs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i designed screen with two buttons...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by click of first button i should get script to be displayed(designed it seperately) and by click of second button smartform (designed it seperately) should be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you suggest me what to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Feb 2008 07:19:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-19T07:19:02Z</dc:date>
    <item>
      <title>Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming/m-p/3438331#M825697</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;i am working with modulepool programs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i designed screen with two buttons...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by click of first button i should get script to be displayed(designed it seperately) and by click of second button smartform (designed it seperately) should be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you suggest me what to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 07:19:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming/m-p/3438331#M825697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T07:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming/m-p/3438332#M825698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An SAP script is called using the OPEN_FORM, WRITE_FORM and CLOSE_FORM function modules, and a smartform is called using a combination of SSF_FUNCTION_MODULE_NAME and function module call (for the smartform interface).  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence, now once you have embedded the two buttons in the screen, you would assign a function code to each button, say for SAP script the function code you assign is COD1 and for smartform button COD2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in PAI Module in flow logic of screen where buttons are embedded you do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE OKCODE. "Assuming OKCODE is your function code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'COD1'.&lt;/P&gt;&lt;P&gt;  Call sequence of OPEN_FORM, WRITE_FORM and CLOSE_FORM for SAP script display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'COD2'.&lt;/P&gt;&lt;P&gt;  Call sequence of SSF_FUNCTION_MODULE_NAME and the FM call for triggering the smartform.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 07:33:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming/m-p/3438332#M825698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T07:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming/m-p/3438333#M825699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi aditya,&lt;/P&gt;&lt;P&gt;your concept seems clear, but is it practicable.  I mean have you tried working on it and executed it.  How will you design the screens for this scenario and how will you assign the sapscript and smartforms.  Could you elaborate please.  Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 09:35:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming/m-p/3438333#M825699</guid>
      <dc:creator>former_member188594</dc:creator>
      <dc:date>2008-02-19T09:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming/m-p/3438334#M825700</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 worked out that problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its easy..but i used submit &amp;lt;report name&amp;gt; and return in the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it worked and i got output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 10:05:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming/m-p/3438334#M825700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T10:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming/m-p/3438335#M825701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds simple. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With differenct OK Codes ( When u push the button event genertated code ) of the two buttons...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just call transacation of that report program (ABAP Pgm Calling SAP Script) &lt;/P&gt;&lt;P&gt;for eg &lt;STRONG&gt;Submit Zscript0001&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In scond button click too &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;submit Zsmform0001.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;if u also want to come back follow &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;submit Zsmform0001 and return.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will work, &lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Pramendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 10:05:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming/m-p/3438335#M825701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T10:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming/m-p/3438336#M825702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds simple. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With differenct OK Codes ( When u push the button event genertated code ) of the two buttons...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just call transacation of that report program (ABAP Pgm Calling SAP Script) &lt;/P&gt;&lt;P&gt;for eg &lt;STRONG&gt;Submit Zscript0001&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In scond button click too &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;submit Zsmform0001.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;if u also want to come back follow &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;submit Zsmform0001 and return.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will work, &lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 11:49:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming/m-p/3438336#M825702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-18T11:49:38Z</dc:date>
    </item>
  </channel>
</rss>

