<?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: Calling Dialog screen SCREEN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-dialog-screen-screen/m-p/2046780#M421492</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;Thanks for the response....but that is not working.&lt;/P&gt;&lt;P&gt;Can you send any sample program available...?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2007 09:06:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-14T09:06:42Z</dc:date>
    <item>
      <title>Calling Dialog screen SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-dialog-screen-screen/m-p/2046778#M421490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;I have a requirement. Please help me out.&lt;/P&gt;&lt;P&gt;On the existing MAIN screen.&lt;/P&gt;&lt;P&gt;I have added the two buttons, and called the dialog screen. When I try to come back to the MAIN screen the program is either exiting when I use "LEAVE TO SCREEN 0". or it is showing the MAIN screen in the dialog mode, already the MAIN screen is visible in the backgroung and the control is not going the the MAIN screen, but it is going to the new MAIN screen (in dialog mode).&lt;/P&gt;&lt;P&gt;And I wanted to have a F4 help for a input field in the dialog screen.&lt;/P&gt;&lt;P&gt;The actual requirement is as follows....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a.   Add two new buttons &amp;#145;Upload data by company code&amp;#146;, &amp;amp; &amp;#145;Upload data by Controlling&lt;/P&gt;&lt;P&gt;      area&amp;#146; in the initial screen of the ZMAU transaction.&lt;/P&gt;&lt;P&gt;b.   When user choose the option &amp;#145;Upload data by Company code&amp;#146; then do the following&lt;/P&gt;&lt;P&gt;      process:&lt;/P&gt;&lt;P&gt;      i. Call the popup screen to enter the file name (required).  User will have the option&lt;/P&gt;&lt;P&gt;         F4 to choose the file.&lt;/P&gt;&lt;P&gt;      ii. If user choose the option &amp;#145;Cancel&amp;#146; then it will take to the initial screen of the&lt;/P&gt;&lt;P&gt;          ZMAU transaction.&lt;/P&gt;&lt;P&gt;      iii. If user choose the option &amp;#145;Continue&amp;#146; or press &amp;#145;Enter key&amp;#146; then it will check if the&lt;/P&gt;&lt;P&gt;          file name field is blank then it will through the error message &amp;#145;Enter required&lt;/P&gt;&lt;P&gt;          fields&amp;#146;.&lt;/P&gt;&lt;P&gt;      iv. If user choose the option &amp;#145;Continue&amp;#146; or press &amp;#145;Enter key&amp;#146; then it will upload the&lt;/P&gt;&lt;P&gt;          data from the file with the Function Module &lt;/P&gt;&lt;P&gt;          &amp;#145;ALSM_EXCEL_TO_INTERNAL_TABLE&amp;#146;.  This function module will return the &lt;/P&gt;&lt;P&gt;          internal table with row number, column number and Cell value.&lt;/P&gt;&lt;P&gt;      v. Read the internal table based on the row number as &amp;#145;1&amp;#146; and column number as &amp;#145;1&amp;#146;. &lt;/P&gt;&lt;P&gt;         If the cell value is &amp;#145;ZMAU&amp;#146; then continue the next steps otherwise show the error &lt;/P&gt;&lt;P&gt;         message &amp;#145;Invalid file or wrong file&amp;#146;.&lt;/P&gt;&lt;P&gt;      vi. Process this internal table based on the row number and column number and &lt;/P&gt;&lt;P&gt;          check if the Company code is not initial then move the data into the internal table&lt;/P&gt;&lt;P&gt;          SB to display the data on the ZMAU transaction GUI (screen # 200).&lt;/P&gt;&lt;P&gt;      vii. Call the screen &amp;#145;200 &amp;#150; G/L Account Change Requests: Specify by Company&amp;#146; to &lt;/P&gt;&lt;P&gt;           show the uploaded data to the user.  &lt;/P&gt;&lt;P&gt;      viii. Once it displays the data on the screen 200, rest of the process is same as &lt;/P&gt;&lt;P&gt;           today&amp;#146;s manual operation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 13:00:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-dialog-screen-screen/m-p/2046778#M421490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T13:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Dialog screen SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-dialog-screen-screen/m-p/2046779#M421491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Umesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This problem araises when you use SET SCREEN and LEAVE SCREEN or LEAVE TO SCREEN in the main screen. Suggest you use CALL SCREEN in the main screen to call the popup window. In this case, LEAVE TO SCREEN 0 in the popup will take the control back to main screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the F4 help in the popup window, you can use PROCESS OV VALUE REQUEST event for the file field and use the method FILE_OPEN_DIALOG of the class CL_GUI_FRONTEND_SERVICES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naveen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 01:29:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-dialog-screen-screen/m-p/2046779#M421491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T01:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Dialog screen SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-dialog-screen-screen/m-p/2046780#M421492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;Thanks for the response....but that is not working.&lt;/P&gt;&lt;P&gt;Can you send any sample program available...?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 09:06:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-dialog-screen-screen/m-p/2046780#M421492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T09:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Dialog screen SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-dialog-screen-screen/m-p/2046781#M421493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vaidya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is some sample code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE exit INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ok_code = sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF ok_code = 'BACK' OR ok_code = 'ENTR'.&lt;/P&gt;&lt;P&gt;    CLEAR ok_code.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE ok_code.&lt;/P&gt;&lt;P&gt;    WHEN 'EXT' OR 'BCK' OR 'CANC'.&lt;/P&gt;&lt;P&gt;      LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " EXIT  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to Function key in gui status and give Function Type E.( Exit Command ) for all the button required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u have any further quries pls feel free to ask....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naveen Bohra.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;navinabap@yahoo.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 05:35:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-dialog-screen-screen/m-p/2046781#M421493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T05:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Dialog screen SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-dialog-screen-screen/m-p/2046782#M421494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Umesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          Cud u pls tell me how did u solve this? and wat was the actual requirement?&lt;/P&gt;&lt;P&gt;Iam new to dialog pgming and wud like to know how real time scenario wud be?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 17:36:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-dialog-screen-screen/m-p/2046782#M421494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-02T17:36:34Z</dc:date>
    </item>
  </channel>
</rss>

