<?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: Excel In Module Pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-in-module-pool/m-p/8705069#M1671265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Chandini Sharma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why are you writing a separate program just to upload data from excel ??? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead you can design a screen of your own and display it as a popup to the user, which has a text field for the file path to be entered and a button, upon clicking the button, data will be uploaded to your program and from there you may do your processing and then call screen 2000 to display the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways, if you still want to continue with your approach then try using submit.. and return statement, here after submiting the report control will comback to the program that has submitted it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps. For further clarifications or suggestions feel free to revert. Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kartik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Apr 2012 08:13:50 GMT</pubDate>
    <dc:creator>Kartik2</dc:creator>
    <dc:date>2012-04-25T08:13:50Z</dc:date>
    <item>
      <title>Excel In Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-in-module-pool/m-p/8705068#M1671264</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 have a requirement I have to display a screen say '1000' screen number of my module pool program and before navigating to the next screen I have to upload an excel sheet and using the data from excel sheet I have to display data on second screen say '2000' screen number. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying is I have created another report with selection screen asking for the file to be uploaded and from there through SET/GET Parameter ID I am importing Data from Excel Sheet to my module pool. I have used SUBMIT 'ZPROGRAM' in module pool to call that report program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how should I come back to the second screen '2000' after getting the data, how should I return to my code in module pool PBO after the statement SUBMIT 'ZPROGRAM'. I tried using CALL SCREEN 2000, but it says DYNPRO 2000 does not exist. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Chandni Sharma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 08:07:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-in-module-pool/m-p/8705068#M1671264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-25T08:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Excel In Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-in-module-pool/m-p/8705069#M1671265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Chandini Sharma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why are you writing a separate program just to upload data from excel ??? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead you can design a screen of your own and display it as a popup to the user, which has a text field for the file path to be entered and a button, upon clicking the button, data will be uploaded to your program and from there you may do your processing and then call screen 2000 to display the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways, if you still want to continue with your approach then try using submit.. and return statement, here after submiting the report control will comback to the program that has submitted it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps. For further clarifications or suggestions feel free to revert. Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kartik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 08:13:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-in-module-pool/m-p/8705069#M1671265</guid>
      <dc:creator>Kartik2</dc:creator>
      <dc:date>2012-04-25T08:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Excel In Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-in-module-pool/m-p/8705070#M1671266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your Quick Response Kartik, but I did try using Module Pool but I was not able to find a way for it to ask for the file to be uploaded. I created a field in module pool of type RLGRAP-FILENAME but how to request for the for the filepath since there is no search help attached to it how should I get that request pop up for the file, and we cannot use selection screen that is why I was using this method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in report program I tried using Return but still it comes back to the module pool to the submit statement and leaves the program after that it is not moving on to the next statement that is the problem I am facing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 08:49:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-in-module-pool/m-p/8705070#M1671266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-25T08:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Excel In Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-in-module-pool/m-p/8705071#M1671267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kartik, I used the FM 'WS_FILENAME_GET' and filled that field with the value I get from this FM. Thanks a lot. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 08:54:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-in-module-pool/m-p/8705071#M1671267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-25T08:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Excel In Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-in-module-pool/m-p/8705072#M1671268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Chandini,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have placed a field for file name on your screen then for F4 help you can do the following - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In the PAI section you have to use the following event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD p_file MODULE p_f4_help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In the module p_f4_help you may use the function module 'F4_FILENAME'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of your problem submit and return should work, please check in debugging why it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;kartik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 08:59:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-in-module-pool/m-p/8705072#M1671268</guid>
      <dc:creator>Kartik2</dc:creator>
      <dc:date>2012-04-25T08:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Excel In Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-in-module-pool/m-p/8705073#M1671269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not need that field, even without that It just asks for the filename and gets me the data from the excel. That is all I needed. Thank you for your Help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 09:02:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-in-module-pool/m-p/8705073#M1671269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-25T09:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Excel In Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-in-module-pool/m-p/8705074#M1671270</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;Have you used fm F4_FILENAME?&amp;nbsp; &lt;A _jive_internal="true" class="active_link" href="https://answers.sap.com/thread/1841061" title="http://scn.sap.com/thread/1841061"&gt;http://scn.sap.com/thread/1841061&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also, I think you should go with the suggestion of &lt;A __default_attr="74031" __jive_macro_name="user" class="jive_macro jive_macro_user" href="https://community.sap.com/"&gt;&lt;/A&gt; .&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Instead you can design a screen of your own and display it as a popup to the user, which has a text field for the file path to be entered and a button, upon clicking the button, data will be uploaded to your program and from there you may do your processing and then call screen 2000 to display the data.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;For your problem, &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;but how to request for the for the filepath since there is no search help attached to it how should I get that request pop up for the file, and we cannot use selection screen that is why I was using this method.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;you should add a button and for PAI of that button used fm F4_FILENAME , and so upon clicking that button data will be uploaded to your program then do processing then call screen 2000 and display your processed data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jake.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 09:06:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-in-module-pool/m-p/8705074#M1671270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-25T09:06:18Z</dc:date>
    </item>
  </channel>
</rss>

