<?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 parameters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-parameters/m-p/2760447#M642617</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Surya..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check one of the Important usage of CTUPARAMS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In BDC.........while Recordingthe screen resolution for line items differs from system to system. .......how to make the coding fit for all the resolutions in case of BATCH INPUT METHOD &lt;/P&gt;&lt;P&gt;While using CALL TRANSACTION ...we can declare a structure with type CTUPARAMS....and set the DEFAULT SIZE ....By doing so...the screen resolution becomes 10.no matter where u r executing the program.&lt;/P&gt;&lt;P&gt;And so we can write as....&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'VK11' OPTIONS FROM S_CTUPARAMS.&lt;/P&gt;&lt;P&gt;But how to do with Batch I/p...... ..As we use FM's...BDC_OPEN_GROUP, BDC_INSERT, BDC_CLOSE_GROUP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can handle this in Session method also.&lt;/P&gt;&lt;P&gt;If you check the FM BDC_INSERT there is a parameter&lt;/P&gt;&lt;P&gt;CTUPARAMS LIKE  CTU_PARAMS which can be used to fill the Default size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward if Helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Sep 2007 04:16:32 GMT</pubDate>
    <dc:creator>varma_narayana</dc:creator>
    <dc:date>2007-09-04T04:16:32Z</dc:date>
    <item>
      <title>ctu parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-parameters/m-p/2760445#M642615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need some information about ctu parameters and why we use ctu parameters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2007 15:10:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-parameters/m-p/2760445#M642615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-03T15:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: ctu parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-parameters/m-p/2760446#M642616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Surya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Already i answered this question in other thread ,if not then see again &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: f_option type ctu_params,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f_option-updmode = 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f_option-defsize = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f_option-dismode = 'N'.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally we use above statement if screen is small from system to system then we use screen resolution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose you are uploading the data into one transaction,there you can see table control total lines per each page 13 lines ,if you upload from other system ,then it may vary,if you use above command then system will keep exact table controls lines for all system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you got it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2007 15:23:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-parameters/m-p/2760446#M642616</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-03T15:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: ctu parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-parameters/m-p/2760447#M642617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Surya..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check one of the Important usage of CTUPARAMS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In BDC.........while Recordingthe screen resolution for line items differs from system to system. .......how to make the coding fit for all the resolutions in case of BATCH INPUT METHOD &lt;/P&gt;&lt;P&gt;While using CALL TRANSACTION ...we can declare a structure with type CTUPARAMS....and set the DEFAULT SIZE ....By doing so...the screen resolution becomes 10.no matter where u r executing the program.&lt;/P&gt;&lt;P&gt;And so we can write as....&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'VK11' OPTIONS FROM S_CTUPARAMS.&lt;/P&gt;&lt;P&gt;But how to do with Batch I/p...... ..As we use FM's...BDC_OPEN_GROUP, BDC_INSERT, BDC_CLOSE_GROUP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can handle this in Session method also.&lt;/P&gt;&lt;P&gt;If you check the FM BDC_INSERT there is a parameter&lt;/P&gt;&lt;P&gt;CTUPARAMS LIKE  CTU_PARAMS which can be used to fill the Default size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward if Helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 04:16:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-parameters/m-p/2760447#M642617</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-09-04T04:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: ctu parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-parameters/m-p/2760448#M642618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this post&lt;/P&gt;&lt;P&gt;How to insert data in table control through bdc ....problem is every system displays different no of rows in the table control when you enter the application....for ex .. purchase order, pur req, bom.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution: &lt;/P&gt;&lt;P&gt;Use CALL TRANSACTION 'ME21N'  OPTIONS FROM w_ctu_params.( type CTU_PARAMS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This structure contains the follwing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DISMODE : Display mode (like the MODE addition) &lt;/P&gt;&lt;P&gt;UPDMODE: Update mode (like the UPDATE addition) &lt;/P&gt;&lt;P&gt;CATTMODE: 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;&lt;/P&gt;&lt;P&gt;DEFSIZE : Use default window size (Here we are handling those transaction by giving default window size) &lt;/P&gt;&lt;P&gt;RACOMMIT: Do not end transaction at COMMIT WORK &lt;/P&gt;&lt;P&gt;NOBINPT : No batch input mode (that is, SY-BINPT = SPACE) &lt;/P&gt;&lt;P&gt;NOBIEND : 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;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/ab001.htm" target="test_blank"&gt;http://www.sap-img.com/ab001.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 04:18:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ctu-parameters/m-p/2760448#M642618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T04:18:32Z</dc:date>
    </item>
  </channel>
</rss>

