<?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: Resizable screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253639#M487635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DONE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2007 09:32:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-21T09:32:38Z</dc:date>
    <item>
      <title>Resizable screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253626#M487622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to create a resizable screen?&lt;/P&gt;&lt;P&gt;i mean, a screen which can be resized with a mouse...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does anyone know?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 05:30:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253626#M487622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T05:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Resizable screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253627#M487623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly be specific about your requirement. Why exactly do you want a resizable screen??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 06:03:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253627#M487623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T06:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Resizable screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253628#M487624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to be able to resize the screen.  make it wider or longer. &lt;/P&gt;&lt;P&gt;does it make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 06:37:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253628#M487624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T06:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Resizable screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253629#M487625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mean, instead of   cl_gui_custom_container,&lt;/P&gt;&lt;P&gt;i want to use &lt;/P&gt;&lt;P&gt;cl_gui_dialogbox_container&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but how exactly to use it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 06:44:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253629#M487625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T06:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Resizable screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253630#M487626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just as you use cl_gui_custom_container, in the same way you can use cl_gui_dialogbox_container. (i hope you know how to use the former one). The only difference is that , it would create an entirely different screen for your contrl (ex. different screen for displaying ALV grid report). The navigation between this different window and main program is taken care by SAP itself. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using it in your application and revert if you have any issues. &lt;/P&gt;&lt;P&gt;See the following sample code. It is about ALV grid display using dialog box. The piece of code shown is the PBO module of the ALV screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: g_custom_container TYPE REF TO cl_gui_dialogbox_container,&lt;/P&gt;&lt;P&gt;      g_alv_grid TYPE REF TO cl_gui_alv_grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: gt_fieldcat TYPE lvc_t_fcat,&lt;/P&gt;&lt;P&gt;      gs_layout   TYPE lvc_s_layo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: gt_mara TYPE STANDARD TABLE OF mara,&lt;/P&gt;&lt;P&gt;      gs_mara LIKE LINE OF gt_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'ZKM_ALV'.&lt;/P&gt;&lt;P&gt;  SET TITLEBAR 'ZKM'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CREATE OBJECT g_custom_container&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   PARENT                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   WIDTH                       = 30&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   HEIGHT                      = 30&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   STYLE                       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   REPID                       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   DYNNR                       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   LIFETIME                    = lifetime_default&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   TOP                         = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   LEFT                        = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   CAPTION                     =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   NO_AUTODEF_PROGID_DYNNR     =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   METRIC                      = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   NAME                        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      cntl_error                  = 1&lt;/P&gt;&lt;P&gt;      cntl_system_error           = 2&lt;/P&gt;&lt;P&gt;      create_error                = 3&lt;/P&gt;&lt;P&gt;      lifetime_error              = 4&lt;/P&gt;&lt;P&gt;      lifetime_dynpro_dynpro_link = 5&lt;/P&gt;&lt;P&gt;      event_already_registered    = 6&lt;/P&gt;&lt;P&gt;      error_regist_event          = 7&lt;/P&gt;&lt;P&gt;      OTHERS                      = 8&lt;/P&gt;&lt;P&gt;      .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CREATE OBJECT g_alv_grid&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_parent          = g_custom_container&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      error_cntl_create = 1&lt;/P&gt;&lt;P&gt;      error_cntl_init   = 2&lt;/P&gt;&lt;P&gt;      error_cntl_link   = 3&lt;/P&gt;&lt;P&gt;      error_dp_create   = 4&lt;/P&gt;&lt;P&gt;      OTHERS            = 5&lt;/P&gt;&lt;P&gt;      .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM get_data.&lt;/P&gt;&lt;P&gt;  PERFORM prepare_field_catlog.&lt;/P&gt;&lt;P&gt;  PERFORM prepare_layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD g_alv_grid-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_save                        = 'A'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     I_DEFAULT                     = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      is_layout                     = gs_layout&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     IT_TOOLBAR_EXCLUDING          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     IT_HYPERLINK                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     IT_ALV_GRAPHICS               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     IT_EXCEPT_QINFO               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     IR_SALV_ADAPTER               =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      it_outtab                     = gt_mara&lt;/P&gt;&lt;P&gt;      it_fieldcatalog               = gt_fieldcat&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      invalid_parameter_combination = 1&lt;/P&gt;&lt;P&gt;      program_error                 = 2&lt;/P&gt;&lt;P&gt;      too_many_lines                = 3&lt;/P&gt;&lt;P&gt;      OTHERS                        = 4&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Revert in case of issues and mark helpful answers.&lt;/P&gt;&lt;P&gt;Karan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 07:03:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253630#M487626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T07:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Resizable screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253631#M487627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes thats what i was trying to do. &lt;/P&gt;&lt;P&gt;it works but i get two windows(screens) instead of one.  one of them has buttons and the status and another one has ALV grid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 07:31:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253631#M487627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T07:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Resizable screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253632#M487628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do u understand what i was sayin?&lt;/P&gt;&lt;P&gt;how to make it as one screen?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 08:02:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253632#M487628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T08:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Resizable screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253633#M487629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats the advantage. You normally use dialogbox only when you want to display the details in seperate window. You can not have resizable window for your main output list. If you want one screen, that means you want the custom container to be resizable, and thats ofcourse possible. But you will not get any other  functionality for resizable screen except that given by cl_gui_dialogbox_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope i am clear. &lt;/P&gt;&lt;P&gt;Karan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 08:30:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253633#M487629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T08:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Resizable screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253634#M487630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont understand. is it possible to make custom container resizable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing, i cant close the screen if i use the dialogbox container.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 08:44:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253634#M487630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T08:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Resizable screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253635#M487631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, its not possible to make the custome container resizable. And if you want to close the dialogbox container then , you will have to add an extra button on the application tool bar of the ALV . And in the PAI module , read the sy-ucomm value, and when its equal to the Fcode you assigned, you just say "Leave to screen 0'. In that way you will be able to close that screen. This is because, whenever you create a custom dialogbox (for ALV or anyother thing), the cancel button which all the normal screens have on the top right corner, is always disabled and there's no way you can enable that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Karan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 08:56:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253635#M487631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T08:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Resizable screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253636#M487632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok good. thank you.&lt;/P&gt;&lt;P&gt; But is it possible to take away the empty screen with the status?&lt;/P&gt;&lt;P&gt;so that users could see only screen with ALV.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 09:01:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253636#M487632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T09:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Resizable screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253637#M487633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A dialogbox always has a calling screen attached to it and it can never be closed. So, in the same manner, the empty screen which you see behind your ALV screen is the calling screen of that ALV and hence it can not be kept away or closed. It is always displayed.&lt;/P&gt;&lt;P&gt;Hope this is clear.&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 09:27:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253637#M487633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T09:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Resizable screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253638#M487634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you Karan.&lt;/P&gt;&lt;P&gt;it was very helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 09:32:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253638#M487634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T09:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Resizable screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253639#M487635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DONE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 09:32:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resizable-screen/m-p/2253639#M487635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T09:32:38Z</dc:date>
    </item>
  </channel>
</rss>

