<?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: bdc table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control/m-p/2685580#M621079</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;in BDC we have some EVENTS &lt;/P&gt;&lt;P&gt;by useing that EVENTS we can maintain the table control through BDC &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can tell like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if usefull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2007 09:43:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-14T09:43:08Z</dc:date>
    <item>
      <title>bdc table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control/m-p/2685574#M621073</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;in interviews how to answer for the questions&lt;/P&gt;&lt;P&gt; HOW TO HANDLE TABLE CONTROL IN BDC?.(NOT THE EXAMPLE CODE.)JUST I HAVE TO ANSWER THE QUESTION.pls help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 09:20:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control/m-p/2685574#M621073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T09:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: bdc table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control/m-p/2685575#M621074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need to take care of Page up and Pag down, and logic needs to be written that will calculate the nu,ber of lines displayed ons creen depending on System variables, such as SY-LOOPC, sy-SROWS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 09:25:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control/m-p/2685575#M621074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T09:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: bdc table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control/m-p/2685576#M621075</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;The approach to handle a table control in BDC should be something like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you record for a table control you have to use index &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the lines in a table control are numbered 01,02,03 .... these are the indexs you have to calculate this index in your program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Do a recording in SHDB with default size option checked in the screen where you enter the transaction code and the program name &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you do this find out the number of lines that show up in the table control. lets say its 5. that means after every 5 records you have to do a page down to enter more records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLALDB' '3000'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=P+'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Index should be calculated during run time and used in the BDC something like &lt;/P&gt;&lt;P&gt;if there are 5 records already idx shuould be 6 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'RSCSEL-SLOW_I(' idx ')' INTO fname.&lt;/P&gt;&lt;P&gt;CONDENSE fname NO-GAPS.&lt;/P&gt;&lt;P&gt;PERFORM bdc_field USING fname&lt;/P&gt;&lt;P&gt;'80000016'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to do somethin like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if it helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Omkar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 09:25:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control/m-p/2685576#M621075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T09:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: bdc table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control/m-p/2685577#M621076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You will first loop the header internal table&lt;/P&gt;&lt;P&gt;then in that Loop the Item level internal table which contains the table control records&lt;/P&gt;&lt;P&gt;for each header table control is populated&lt;/P&gt;&lt;P&gt;you have to take care that each record will enter into table control line one below the other&lt;/P&gt;&lt;P&gt;if the line items are more than the table control lines you have to handle PAGEUP and PAGE-down controls of the table control correctly&lt;/P&gt;&lt;P&gt;you have to take the resolution of the screen, so that table control lines are same &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 09:29:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control/m-p/2685577#M621076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T09:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: bdc table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control/m-p/2685578#M621077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can handle table controls in multiple ways,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) if there is a scroll down button on your screen for which you are writing the BDC, then make use of the scroll button and not traverse between rows of the table control manually.&lt;/P&gt;&lt;P&gt;2) there are some screens in which the table control behaves differently. like-&amp;gt;&lt;/P&gt;&lt;P&gt;   sometimes if you enter some data into the first row of the table control  and press enter then the row moves up and the table control looks as if there is not data entered, but in reality the second row is shown to you as the first line to be entered where the first row has already moved up. In such a case you need to enter data only in the first row always and there is not much to be done here.&lt;/P&gt;&lt;P&gt;3) If you are pretty much sure about the number of rows that you shall be entering into the table control and if the count is always in 2's or 3's then you can do a manual handling of that by using a counter variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another question in table control is of utmost importance, how do we handle in case of varied resolutions of various screens. Answer to this question would be usage of CTU_PARAMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if you find this helpful,&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 09:29:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control/m-p/2685578#M621077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T09:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: bdc table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control/m-p/2685579#M621078</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;in data for complete screen should be in one itab. and data to be updated in table control should be in seprate itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now. while looping through main itab give inside scond loop for table control .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table control entries are accessed rowwise using indexes. &lt;/P&gt;&lt;P&gt;say :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab2.&lt;/P&gt;&lt;P&gt;bdc_filedname = itab2-fileld1( 1 ). "for first row n so on, u can concatenate this &lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jogdand M B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 09:31:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control/m-p/2685579#M621078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T09:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: bdc table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control/m-p/2685580#M621079</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;in BDC we have some EVENTS &lt;/P&gt;&lt;P&gt;by useing that EVENTS we can maintain the table control through BDC &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can tell like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if usefull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 09:43:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control/m-p/2685580#M621079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T09:43:08Z</dc:date>
    </item>
  </channel>
</rss>

