<?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 Controlling Screen Resolution in BDCs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/controlling-screen-resolution-in-bdcs/m-p/2030164#M416540</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;Can any one explain about the process for Controlling Screen Resolution in BDCs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Mar 2007 08:09:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-22T08:09:41Z</dc:date>
    <item>
      <title>Controlling Screen Resolution in BDCs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/controlling-screen-resolution-in-bdcs/m-p/2030164#M416540</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;Can any one explain about the process for Controlling Screen Resolution in BDCs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 08:09:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/controlling-screen-resolution-in-bdcs/m-p/2030164#M416540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-22T08:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling Screen Resolution in BDCs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/controlling-screen-resolution-in-bdcs/m-p/2030165#M416541</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;Do something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data x_ctuparams type ctu_params.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x_ctuparams-defsize = 'X'. " This would freeze the resolution in any system&lt;/P&gt;&lt;P&gt;x_ctuparams-dismode = 'N'.&lt;/P&gt;&lt;P&gt;x_ctuparams-updmode = 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction &amp;lt;TCODE&amp;gt; using it_bdcdata options from x_ctuparams.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this resolves your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Simha.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 08:13:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/controlling-screen-resolution-in-bdcs/m-p/2030165#M416541</guid>
      <dc:creator>Simha_</dc:creator>
      <dc:date>2007-03-22T08:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling Screen Resolution in BDCs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/controlling-screen-resolution-in-bdcs/m-p/2030166#M416542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amruta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_CTU_PARAMS type ctu_params.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_CTU_PARAMS-DISMODE = 'N'. "no screen mode&lt;/P&gt;&lt;P&gt;WA_CTU_PARAMS-UPDMODE = 'S'. "synchronus update&lt;/P&gt;&lt;P&gt;WA_CTU_PARAMS-NOBINPT = 'X'. &lt;/P&gt;&lt;P&gt;WA_CTU_PARAMS-NOBIEND = 'X'.&lt;/P&gt;&lt;P&gt;WA_CTU_PARAMS-DEFSIZE = 'X'. "Default size&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'VA01' USING it_bdcdata&lt;/P&gt;&lt;P&gt;OPTIONS FROM WA_CTU_PARAMS&lt;/P&gt;&lt;P&gt;MESSAGES INTO it_mesg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Default size will play good role in terms of resoultion. in one system in table control you can see 10rows, but in others system it will show 20 records. it depends on resoultion. but when you set the default size then it will take same (default screen size) in all the systems when you run BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this resolves your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 09:09:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/controlling-screen-resolution-in-bdcs/m-p/2030166#M416542</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-22T09:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling Screen Resolution in BDCs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/controlling-screen-resolution-in-bdcs/m-p/2030167#M416543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If u write table control bdc program in 14'' monitor screen, then if the same program u run at different monitor size, then the screen resolution problem comes in to the picture,&lt;/P&gt;&lt;P&gt;like, u get 5 records in table control in one screen, and some other records in other screen, to avoid this screen resolution problem we use CTU-PARAMS Structure.&lt;/P&gt;&lt;P&gt;In ur program u have to set &lt;/P&gt;&lt;P&gt;defsize type ctu_params-defsize value 'X', &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then u will be free of screen resolution problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fill the str CTU_PARAMS-defsize = 'X' and pass in CTU stmnt as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction 'XXX' options using t_bdcdata ctu_params.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Analysing :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. If nothing works, then we have to&lt;/P&gt;&lt;P&gt;some ifs &amp;amp; buts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. There shall be normally&lt;/P&gt;&lt;P&gt;2-4 different kinds of resolution&lt;/P&gt;&lt;P&gt;on various users comptuers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Based on this,&lt;/P&gt;&lt;P&gt;we have to know beforehand,&lt;/P&gt;&lt;P&gt;what will be the number of rows&lt;/P&gt;&lt;P&gt;in the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. The user can be given&lt;/P&gt;&lt;P&gt;a selection/paraemter&lt;/P&gt;&lt;P&gt;for resolution &lt;/P&gt;&lt;P&gt;eg. 800x600&lt;/P&gt;&lt;P&gt;1024x100&lt;/P&gt;&lt;P&gt;axb&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Based on this, we will hardcode&lt;/P&gt;&lt;P&gt;in the program (based upon our knowledge/recording &lt;/P&gt;&lt;P&gt;which we have seen and done)&lt;/P&gt;&lt;P&gt;we will hardcode&lt;/P&gt;&lt;P&gt;the number of lines&lt;/P&gt;&lt;P&gt;in the VARIBLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Then we can simply use this variable&lt;/P&gt;&lt;P&gt;for our LOOP and logic purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. It will be the responsibiltiy of the&lt;/P&gt;&lt;P&gt;use to CHOOSE THE CORRECT resolution,&lt;/P&gt;&lt;P&gt;on the selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------------------------" /&gt;&lt;P&gt;For screen resolution use ctu_params, with default size&lt;/P&gt;&lt;P&gt;Data : f_option type ctu_params,&lt;/P&gt;&lt;P&gt;f_option-updmode = 'S'.&lt;/P&gt;&lt;P&gt;f_option-defsize = 'X'.&lt;/P&gt;&lt;P&gt;f_option-dismode = 'N'.&lt;/P&gt;&lt;P&gt;call transaction 'VA01' using bdcdata options from f_option messages into bdcerror.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION tcode... OPTIONS FROM opt &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... OPTIONS FROM opt &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Allows you to control processing using the values of the componetns of the structure opt, which must have the ABAP Dictionary type CTU_PARAMS. The components have the following meanings: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DISMODE&lt;/P&gt;&lt;P&gt;Display mode (like the MODE addition) &lt;/P&gt;&lt;P&gt;UPDMODE&lt;/P&gt;&lt;P&gt;Update mode (like the UPDATE addition) &lt;/P&gt;&lt;P&gt;CATTMODE&lt;/P&gt;&lt;P&gt;CATT mode (controls a CATT) &lt;/P&gt;&lt;P&gt;CATT mode can have the following values: &lt;/P&gt;&lt;P&gt;' ' No CATT active &lt;/P&gt;&lt;P&gt;'N' CATT without single-screen control &lt;/P&gt;&lt;P&gt;'A' CATT with single-screen control &lt;/P&gt;&lt;P&gt;DEFSIZE&lt;/P&gt;&lt;P&gt;Use default window size &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RACOMMIT&lt;/P&gt;&lt;P&gt;Do not end transaction at COMMIT WORK &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOBINPT&lt;/P&gt;&lt;P&gt;No batch input mode (that is, SY-BINPT = SPACE) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOBIEND&lt;/P&gt;&lt;P&gt;No batch input mode after the end of BDC data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The components DEFSIZE , RACOMMIT, NOBINPT, and NOBIEND always take the following values: &lt;/P&gt;&lt;P&gt;'X' Yes &lt;/P&gt;&lt;P&gt;' ' No &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do not use the OPTIONS FROM addition, the following control parameter settings apply: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DISMODE&lt;/P&gt;&lt;P&gt;From addition MODE &lt;/P&gt;&lt;P&gt;UPDMODE&lt;/P&gt;&lt;P&gt;From addition UPDATE &lt;/P&gt;&lt;P&gt;CATTMODE&lt;/P&gt;&lt;P&gt;No CATT active &lt;/P&gt;&lt;P&gt;DEFSIZE&lt;/P&gt;&lt;P&gt;Do not use default window size &lt;/P&gt;&lt;P&gt;RACOMMIT &lt;/P&gt;&lt;P&gt;Successful end on COMMIT WORK &lt;/P&gt;&lt;P&gt;NOBINPT&lt;/P&gt;&lt;P&gt;Batch input mode active ( SY-BINPT = X &lt;/P&gt;&lt;P&gt;NOBIEND&lt;/P&gt;&lt;P&gt;Batch input mode remains active after the BDC data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it makes u understand...&lt;/P&gt;&lt;P&gt;Reagrds,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 07:01:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/controlling-screen-resolution-in-bdcs/m-p/2030167#M416543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T07:01:28Z</dc:date>
    </item>
  </channel>
</rss>

