<?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: Screen programming and OO ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming-and-oo-alv/m-p/6094815#M1359318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I see. It sounds too time consuming to work on a solution for this.&lt;/P&gt;&lt;P&gt;I will work on the ALV-popup instead.&lt;/P&gt;&lt;P&gt;Thank you very much &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Sep 2009 12:57:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-03T12:57:09Z</dc:date>
    <item>
      <title>Screen programming and OO ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming-and-oo-alv/m-p/6094811#M1359314</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 have a selection screen in my program - 1000.&lt;/P&gt;&lt;P&gt;Then when pressing F8 I display an ALV report based on class CL_SALV_TABLE&lt;/P&gt;&lt;P&gt;with the seleced records.&lt;/P&gt;&lt;P&gt;In this report I have added a push-button for updating the displayed records.&lt;/P&gt;&lt;P&gt;Now, when I press this button I want to go back to the selection screen&lt;/P&gt;&lt;P&gt;(so it will show) and then the code should continue and my pop-up should appear.&lt;/P&gt;&lt;P&gt;This doesn't happen. I have tried various options to make this happen.&lt;/P&gt;&lt;P&gt;The closest solution is within the code below, but the pop-up will not trigger&lt;/P&gt;&lt;P&gt;until I do like back in the selection screen.&lt;/P&gt;&lt;P&gt;Can anyone please help me?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;/Fredrik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;=====&lt;/P&gt;&lt;P&gt;CLASS lcl_handle_events DEFINITION.&lt;/P&gt;&lt;P&gt;  PUBLIC SECTION.&lt;/P&gt;&lt;P&gt;    METHODS:&lt;/P&gt;&lt;P&gt;      on_user_command FOR EVENT added_function OF cl_salv_events&lt;/P&gt;&lt;P&gt;        IMPORTING e_salv_function.&lt;/P&gt;&lt;P&gt;ENDCLASS.                    "lcl_handle_events DEFINITION&lt;/P&gt;&lt;P&gt;CLASS lcl_handle_events IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;  METHOD on_user_command.&lt;/P&gt;&lt;P&gt;    PERFORM handle_user_command USING e_salv_function.&lt;/P&gt;&lt;P&gt;  ENDMETHOD.                    "on_user_command&lt;/P&gt;&lt;P&gt;ENDCLASS.                    "lcl_handle_events IMPLEMENTATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM handle_user_command  USING    u_salv_function.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Handle own user commands&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CASE u_salv_function.&lt;/P&gt;&lt;P&gt;      WHEN 'UPDATE'.&lt;/P&gt;&lt;P&gt;        TP_UPDATE = C_TRUE.                      "Indicator for Action Update&lt;/P&gt;&lt;P&gt;        CALL SELECTION-SCREEN '1000'. "Display the Selection Screen&lt;/P&gt;&lt;P&gt;        SET SCREEN 0.                            "Activate End-of Selection&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " HANDLE_USER_COMMAND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM display_report.&lt;/P&gt;&lt;P&gt;*&amp;gt;&amp;gt;&amp;gt; I want the code to continue here after the display of the selection screen&lt;/P&gt;&lt;P&gt;  SET SCREEN 0.                              "Activate End-of Selection&lt;/P&gt;&lt;P&gt;  CHECK TP_UPDATE = C_TRUE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Confirm run actions&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'POPUP_TO_CONFIRM'&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;Run Actions if answer is yes&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Print/Save Error/Update log&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;End-of Program *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 10:17:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming-and-oo-alv/m-p/6094811#M1359314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-03T10:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Screen programming and OO ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming-and-oo-alv/m-p/6094812#M1359315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand what you want to do. If you call the selection screen, it will be displayed. It's only when you leave it that the program continues. All this is normal. Do you want to display the popup when you click EXECUTE on the selection screen? I'd appreciate if you could explain again in other words.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 10:56:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming-and-oo-alv/m-p/6094812#M1359315</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-09-03T10:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Screen programming and OO ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming-and-oo-alv/m-p/6094813#M1359316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Actually all I want is that from the ALV report when I press the update button I will return to the selection screen&lt;/P&gt;&lt;P&gt;(with the screen shown) and then the popup will appear.&lt;/P&gt;&lt;P&gt;When I just do leave screen and set screen to 0 the popup will come, but the background screen will be empty.&lt;/P&gt;&lt;P&gt;I want the background screen to be my selection screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 11:00:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming-and-oo-alv/m-p/6094813#M1359316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-03T11:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Screen programming and OO ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming-and-oo-alv/m-p/6094814#M1359317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you, I understand. This is really unusual to do that, and cannot be done easily, probably.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you never saw a program act like that, I recommend you to do it &lt;STRONG&gt;as usual&lt;/STRONG&gt; (popup on the current screen, which is the ALV in your case).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may try to find a workaround (like using aRFC with wait, so that the popup is displayed as new amodal screen, at the "same time" the selection screen is displayed), but it's not sure that all GUI technologies will render it always correctly (for example, the amodal screen might not be put in the foreground or might be hidden behind the selection screen window)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 12:32:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming-and-oo-alv/m-p/6094814#M1359317</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-09-03T12:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Screen programming and OO ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming-and-oo-alv/m-p/6094815#M1359318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I see. It sounds too time consuming to work on a solution for this.&lt;/P&gt;&lt;P&gt;I will work on the ALV-popup instead.&lt;/P&gt;&lt;P&gt;Thank you very much &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 12:57:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming-and-oo-alv/m-p/6094815#M1359318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-03T12:57:09Z</dc:date>
    </item>
  </channel>
</rss>

