<?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: ctu_params in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-params/m-p/1510549#M235482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DEFSIZE = 'X' means the screen size will be constant irrespective of the screen resolution.&lt;/P&gt;&lt;P&gt;Say you are doing a bdc for some transaction which has X number of lines in a table control when resolution is some A.&lt;/P&gt;&lt;P&gt;If you change the resolution to some other value say B, the number of visible line wil change to Y.&lt;/P&gt;&lt;P&gt;You cannot know how many lines are visible to handle your BDC logic at run time. If the defsize is not set to 'X', then it may lead to errors in BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in your call transaction statement, we use this defsize.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x_ctu_params-mode = 'N'.&lt;/P&gt;&lt;P&gt;x_ctu_params-update = 'S'.&lt;/P&gt;&lt;P&gt;x_ctu_params-defsize = 'X'.&lt;/P&gt;&lt;P&gt;call transaction 'VA01' using t_bdcdata options from x_ctu_params.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Aug 2006 16:14:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-23T16:14:09Z</dc:date>
    <item>
      <title>ctu_params</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-params/m-p/1510547#M235480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi!&lt;/P&gt;&lt;P&gt;wat does the field &amp;lt;b&amp;gt;defsize&amp;lt;/b&amp;gt; in the structure ctu_params mean actually? &lt;/P&gt;&lt;P&gt;i mean wat is default screen size? &lt;/P&gt;&lt;P&gt;where do we set it?&lt;/P&gt;&lt;P&gt;Wat is the use of it?&lt;/P&gt;&lt;P&gt;(we use this structure in call transaction tc1 using...options..)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 16:09:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-params/m-p/1510547#M235480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-23T16:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: ctu_params</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-params/m-p/1510548#M235481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You use this in BDC programming to make the screen size as one default size regardless of frontend size.  This is so that the processing of table controls does not get messed up when the programming is set for 1 screen size and the actual runtime is seeing another size.  If the resolution is bigger, then there will be more lines of a table control, which means that the program will need to handle it.  I think I may have confused myself here, sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 16:14:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-params/m-p/1510548#M235481</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-23T16:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: ctu_params</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-params/m-p/1510549#M235482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DEFSIZE = 'X' means the screen size will be constant irrespective of the screen resolution.&lt;/P&gt;&lt;P&gt;Say you are doing a bdc for some transaction which has X number of lines in a table control when resolution is some A.&lt;/P&gt;&lt;P&gt;If you change the resolution to some other value say B, the number of visible line wil change to Y.&lt;/P&gt;&lt;P&gt;You cannot know how many lines are visible to handle your BDC logic at run time. If the defsize is not set to 'X', then it may lead to errors in BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in your call transaction statement, we use this defsize.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x_ctu_params-mode = 'N'.&lt;/P&gt;&lt;P&gt;x_ctu_params-update = 'S'.&lt;/P&gt;&lt;P&gt;x_ctu_params-defsize = 'X'.&lt;/P&gt;&lt;P&gt;call transaction 'VA01' using t_bdcdata options from x_ctu_params.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 16:14:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-params/m-p/1510549#M235482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-23T16:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: ctu_params</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-params/m-p/1510550#M235483</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;This is for Default screen size for CALL TRANSACTION. It signifies the screen size will be constant irrespective of the screen resolution(which can vary for different user). The importance of this lies in programs(module pool) that contain table controls. With default screen size we can control the no of rows in the table control which otherwise may vary depending on the screen resolution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DEFSIZE is the Selection as to whether the screens of the called transaction are displayed in the standard screen size. Values "X" (standard size), " " (current size).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : x_ctu_params type ctu_params.

* To have default screen size, mode and update

  x_ctu_params-defsize = 'X'.
  x_ctu_params-dismode = 'X'.
  x_ctu_params-updmode = 'X'.

call transaction tscode using  bdcdata
                          options from x_ctu_params&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 16:14:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-params/m-p/1510550#M235483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-23T16:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: ctu_params</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-params/m-p/1510551#M235484</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;Please check this from SAP help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;This addition gives you control using the values of the components of the structure opt, which must be of the Dictionary type CTU_PARAMS. The components have the following meaning: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DISMODE&lt;/P&gt;&lt;P&gt;Processing mode (comparable with the MODE addition) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDMODE&lt;/P&gt;&lt;P&gt;Update mode (comparable with the UPDATE addition) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CATTMODE&lt;/P&gt;&lt;P&gt;CATT mode (controlling a CATT procedure) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CATT mode can have the following values: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' ' No CATT procedure active &lt;/P&gt;&lt;P&gt;'N' CATT procedure without single screen control &lt;/P&gt;&lt;P&gt;'A' CATT procedure with single screen control &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DEFSIZE&lt;/P&gt;&lt;P&gt;Use standard window size &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RACOMMIT&lt;/P&gt;&lt;P&gt;COMMIT WORK does not end CATT procedure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOBINPT&lt;/P&gt;&lt;P&gt;No batch input mode, that s 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 BDC data has been read &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The components DEFSIZE , RACOMMIT, NOBINPT, 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;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;ramakrishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 16:17:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-params/m-p/1510551#M235484</guid>
      <dc:creator>venkata_ramisetti</dc:creator>
      <dc:date>2006-08-23T16:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: ctu_params</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-params/m-p/1510552#M235485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ravi kanth!&lt;/P&gt;&lt;P&gt;first of all thanq for ur valuable reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so when i'm doing bdc,if i set DEFSIZE = X,example for PO(PO has table control in items,isn't it), will this BDC program work for all screen resolutiobs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 17:35:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-params/m-p/1510552#M235485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-23T17:35:20Z</dc:date>
    </item>
  </channel>
</rss>

