<?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: get screen resolution in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution/m-p/1460397#M217339</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe, there's a quite complicated way to do it. You may try to write some Windows application, which is able to get screen resolution using Windows API. And then, you may connect to this application using RFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But is it worth doing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jul 2006 13:39:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-20T13:39:34Z</dc:date>
    <item>
      <title>get screen resolution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution/m-p/1460394#M217336</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;is there any way to get the current screen resolution from the system with ABAP? I would like to make some changes on the Dynpro depending on what resolution the users's GUI runs.&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>Thu, 20 Jul 2006 10:28:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution/m-p/1460394#M217336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-20T10:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: get screen resolution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution/m-p/1460395#M217337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tobias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is Purely Related to GUI.so i don't think you have control on it,But if your requirement is in BDC then you can have option to maintain the same resolution in all the systems.&lt;/P&gt;&lt;P&gt;this can be done using the CTU_PARMS-DEFSIZE parameter.&lt;/P&gt;&lt;P&gt;this DEFSIZE will maintian the default size in all the systems(with out consider GUI).&lt;/P&gt;&lt;P&gt;OPT is of type CTU_PARMS.&lt;/P&gt;&lt;P&gt;call transaction tcode option &amp;lt;b&amp;gt;OPT&amp;lt;/b&amp;gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2006 10:35:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution/m-p/1460395#M217337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-20T10:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: get screen resolution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution/m-p/1460396#M217338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your quick reply.&lt;/P&gt;&lt;P&gt;But I don't want to change the GUI size or resolution. I just want to get the current screen resolution in pixels.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2006 10:44:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution/m-p/1460396#M217338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-20T10:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: get screen resolution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution/m-p/1460397#M217339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe, there's a quite complicated way to do it. You may try to write some Windows application, which is able to get screen resolution using Windows API. And then, you may connect to this application using RFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But is it worth doing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2006 13:39:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution/m-p/1460397#M217339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-20T13:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: get screen resolution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution/m-p/1460398#M217340</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 hoped there would be an "easy-to-use" function or object in ABAP. Using external code is no option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2006 13:39:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution/m-p/1460398#M217340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-21T13:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: get screen resolution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution/m-p/1460399#M217341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tobias,&lt;/P&gt;&lt;P&gt;I had the same question today, and did a search on "screen resolution".  This thread came up along with several others.  There is another thread that has your answer.  But I can't figure out to post a link to the thread. So I just copied the text from the answer and will post it here.  I want to make this clear.  THIS IS NOT MY ANSWER SO DON'T AWARD ME POINTS, I DON'T DESERVE THEM!!!&lt;/P&gt;&lt;P&gt;**********************************************************************&lt;/P&gt;&lt;P&gt;Hi Fabian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following code will give you the screen metrics,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ref_consumer TYPE REF TO cl_gui_props_consumer,&lt;/P&gt;&lt;P&gt;s_metric_factors TYPE CNTL_METRIC_FACTORS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ref_consumer = cl_gui_props_consumer=&amp;gt;create_consumer( ).&lt;/P&gt;&lt;P&gt;s_metric_factors = ref_consumer-&amp;gt;get_metric_factors( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now s_metric_factors-screen-x&lt;/P&gt;&lt;P&gt;and s_metric_factors-screen-y has the GUI screen resolution values. You can code your logic based on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="48" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2007 18:18:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution/m-p/1460399#M217341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-02T18:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: get screen resolution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution/m-p/1460400#M217342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tobias,&lt;/P&gt;&lt;P&gt;Well, there could be some way to get the screen resolution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand what you are trying to do with the GUI resolution.&lt;/P&gt;&lt;P&gt;But it is definitely not advisable to code based on the GUI resolution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember 2 reward points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Prashanth,&lt;/P&gt;&lt;P&gt;SAP India.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2007 18:59:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution/m-p/1460400#M217342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-02T18:59:48Z</dc:date>
    </item>
  </channel>
</rss>

