<?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: indexing problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-problem/m-p/9140190#M1709447</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Santosh, please be more specific in your questions. If you have mentioned at the very beginning that this was for BDC then the whole example wouldn't be necessary. Otherwise everyone just gets confused and you get no answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this question (or a similar one) has already been answered on SCN since this is not an unusual task with BDC. In such cases it is usually required to read the existing entries first and then calculate the position where new entries need to be added. It might be more complex if data does not fit on one screen, so you'd have to program for scrolling. Please do more search on SCN, all this has already been discussed many times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm assuming you have already done research to confirm that BDC is the only option and there is no BAPI or other alternative available. If not, please do so first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Nov 2012 17:57:59 GMT</pubDate>
    <dc:creator>Jelena_Perfiljeva</dc:creator>
    <dc:date>2012-11-07T17:57:59Z</dc:date>
    <item>
      <title>indexing problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-problem/m-p/9140183#M1709440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; dear experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i have one table control requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose my table control have 4 column and 20 rows. it contain the first value as shown below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2nd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3rd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4th&lt;/P&gt;&lt;P&gt;......................................................&lt;/P&gt;&lt;P&gt;10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; kg&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; kilogram&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want to upload data from 2nd row. i have written code for this like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : it type standard table of ............&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa type ..........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : lv_indx(2) type N,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_indx&amp;nbsp; = 2. ( if i assign here '1' it will overlap with 1st one.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it into wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// codes here......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_indx = lv_indx + 1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose i have uploaded 3 data here.(means 4 rows )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; it works fine up to here.&amp;nbsp; now, problem cames here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose&amp;nbsp; again i want to upload 3 data here.. &lt;/P&gt;&lt;P&gt;so, data should comes to the 5th column , 6th &amp;amp; 7th.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to solve this issue so, that data will be uploaded from next row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;help plz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 13:18:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-problem/m-p/9140183#M1709440</guid>
      <dc:creator>santosh_kumar94</dc:creator>
      <dc:date>2012-11-06T13:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: indexing problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-problem/m-p/9140184#M1709441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure I understand your question. What do you mean by "5th column , 6th &amp;amp; 7th"? You wrote your table has 4 columns-- are you trying to add new columns? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or are you trying to append new rows onto the table, e.g., &lt;STRONG&gt;APPEND wa TO itab&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or are you trying to insert a new row at a specific index in the table, e.g., &lt;STRONG&gt;INSERT wa INTO itab INDEX idx&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide more detail about your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Amy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 13:31:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-problem/m-p/9140184#M1709441</guid>
      <dc:creator>amy_king</dc:creator>
      <dc:date>2012-11-06T13:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: indexing problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-problem/m-p/9140185#M1709442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; it's 5th, 6th &amp;amp; 7th rows..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 13:37:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-problem/m-p/9140185#M1709442</guid>
      <dc:creator>santosh_kumar94</dc:creator>
      <dc:date>2012-11-06T13:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: indexing problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-problem/m-p/9140186#M1709443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then does APPEND or INSERT meet your requirement to add rows to the table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Amy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 13:40:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-problem/m-p/9140186#M1709443</guid>
      <dc:creator>amy_king</dc:creator>
      <dc:date>2012-11-06T13:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: indexing problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-problem/m-p/9140187#M1709444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; dear experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i have one table control requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose my table control have 4 column and 20 rows. it contain the first value as shown below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2nd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3rd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4th&lt;/P&gt;&lt;P&gt;......................................................&lt;/P&gt;&lt;P&gt;10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; kg&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; kilogram&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want to upload data from 2nd row. i have written code for this like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : it type standard table of ............&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa type ..........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : lv_indx(2) type N,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_indx&amp;nbsp; = 2. ( if i assign here '1' it will overlap with 1st one.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it into wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// codes here......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_indx = lv_indx + 1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose i have uploaded 3 data here.(means 4 rows )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; it works fine up to here.&amp;nbsp; now, problem cames here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose&amp;nbsp; again i want to upload 3 data here.. &lt;/P&gt;&lt;P&gt;so, data should comes to the 5th , 6th &amp;amp; 7th rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to solve this issue so, that data will be uploaded from next row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;help plz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 13:40:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-problem/m-p/9140187#M1709444</guid>
      <dc:creator>santosh_kumar94</dc:creator>
      <dc:date>2012-11-06T13:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: indexing problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-problem/m-p/9140188#M1709445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually,&lt;/P&gt;&lt;P&gt;&amp;nbsp; it's a bdc requirement. so, i have to upload data index wise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;apeend or insert doesn't work here..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 13:43:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-problem/m-p/9140188#M1709445</guid>
      <dc:creator>santosh_kumar94</dc:creator>
      <dc:date>2012-11-06T13:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: indexing problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-problem/m-p/9140189#M1709446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santhosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No need to use index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify itab from wa_itab.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;append wa_itab tp itab.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 15:46:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-problem/m-p/9140189#M1709446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-07T15:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: indexing problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-problem/m-p/9140190#M1709447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Santosh, please be more specific in your questions. If you have mentioned at the very beginning that this was for BDC then the whole example wouldn't be necessary. Otherwise everyone just gets confused and you get no answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this question (or a similar one) has already been answered on SCN since this is not an unusual task with BDC. In such cases it is usually required to read the existing entries first and then calculate the position where new entries need to be added. It might be more complex if data does not fit on one screen, so you'd have to program for scrolling. Please do more search on SCN, all this has already been discussed many times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm assuming you have already done research to confirm that BDC is the only option and there is no BAPI or other alternative available. If not, please do so first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 17:57:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-problem/m-p/9140190#M1709447</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2012-11-07T17:57:59Z</dc:date>
    </item>
  </channel>
</rss>

