<?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: Adding rows to a table without an insert or append row button in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-rows-to-a-table-without-an-insert-or-append-row-button/m-p/6421268#M1409423</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinay,&lt;/P&gt;&lt;P&gt;Thanks for your suggestion; I haven't forgotten. I'm going to spend some time over Christmas vacation with an ABAP book and try out your suggestion. I'll let you know how it goes, thanks again.&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Dec 2009 00:07:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-22T00:07:27Z</dc:date>
    <item>
      <title>Adding rows to a table without an insert or append row button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-rows-to-a-table-without-an-insert-or-append-row-button/m-p/6421266#M1409421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's a challenging one for anyone up to it.&lt;/P&gt;&lt;P&gt;I am trying to add multiple identification rows to business partners.&lt;/P&gt;&lt;P&gt;It's easy to duplicate:&lt;/P&gt;&lt;P&gt;In transaction BP create a Person or Organization Business Partner (General). You don't need to enter any data.&lt;/P&gt;&lt;P&gt;On the "Identification" tab, in the "Identification Numbers" box enter a row. For example:&lt;/P&gt;&lt;P&gt;CRM001		1&lt;/P&gt;&lt;P&gt;CRM001		2&lt;/P&gt;&lt;P&gt;CRM001		3&lt;/P&gt;&lt;P&gt;CRM001		4&lt;/P&gt;&lt;P&gt;CRM001		5&lt;/P&gt;&lt;P&gt;CRM001		6&lt;/P&gt;&lt;P&gt;CRM001		7&lt;/P&gt;&lt;P&gt;CRM001		8&lt;/P&gt;&lt;P&gt;CRM001		9&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is all well and good if I record each row. Of course I don't know the data or number of rows before so I have to create a loop around one insert. I can loop and add rows, the problem is that after 4 rows I can't get it to enter a new row; it just keeps overwriting the last row. I have tried recording page downs, enters. I have tried parameterizing the row ID in the script (&amp;lt;!V_ROWNUM!&amp;gt;) and looping on that; it works for the first rows but after that just keeps overwriting. This is a different type of table than I have been able to add rows before; it doesn't have an insert row button. I have spent three full days trying everything I can think of. Can anybody help? Thank you.&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. I am not an ABAP'er so prefer not to use ABAP...ENDABAP if possible. I'd like to be able to use the technique in the future without trying to get a programmer's time (which is not possible).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Dec 2009 18:14:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-rows-to-a-table-without-an-insert-or-append-row-button/m-p/6421266#M1409421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-13T18:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Adding rows to a table without an insert or append row button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-rows-to-a-table-without-an-insert-or-append-row-button/m-p/6421267#M1409422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi david,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do a mod 4 on  loop counter count and after every 0 ( 1 mod 4, 2 mod 4, 3 mod 4, 4 mod 4).&lt;/P&gt;&lt;P&gt;4 mod 4 is 0 , here please record a page down , you can see 3 rows get moved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now problem is i dont have last row for mod 4.&lt;/P&gt;&lt;P&gt;So for every count of multiple of 3 do a page down .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should work.&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;vinay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note - use ABAP ENDABAP for MOD , ecatt does not support MOD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 11:25:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-rows-to-a-table-without-an-insert-or-append-row-button/m-p/6421267#M1409422</guid>
      <dc:creator>Vny12</dc:creator>
      <dc:date>2009-12-16T11:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Adding rows to a table without an insert or append row button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-rows-to-a-table-without-an-insert-or-append-row-button/m-p/6421268#M1409423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinay,&lt;/P&gt;&lt;P&gt;Thanks for your suggestion; I haven't forgotten. I'm going to spend some time over Christmas vacation with an ABAP book and try out your suggestion. I'll let you know how it goes, thanks again.&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2009 00:07:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-rows-to-a-table-without-an-insert-or-append-row-button/m-p/6421268#M1409423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-22T00:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Adding rows to a table without an insert or append row button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-rows-to-a-table-without-an-insert-or-append-row-button/m-p/6421269#M1409424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as i see it should work. Usually recordings are performed to add one row into the table and the looping is performed based on the number of entries passed to enter into the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using GETLEN find the number of entries passed , get this value into the local variable and loop the recording of entrieing the value into the table some many times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you are saying the entry is getting overwritten, this is due to not change in the ID. probably you can paste your coding in the word docuement . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can have a look at it. I have worked rigrously adding multiple rows and till now it works as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Merry Christmas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Best regards,&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 14:39:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-rows-to-a-table-without-an-insert-or-append-row-button/m-p/6421269#M1409424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-23T14:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding rows to a table without an insert or append row button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-rows-to-a-table-without-an-insert-or-append-row-button/m-p/6421270#M1409425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as i see it should work. Usually recordings are performed to add one row into the table and the looping is performed based on the number of entries passed to enter into the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using GETLEN find the number of entries passed , get this value into the local variable and loop the recording of entrieing the value into the table some many times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you are saying the entry is getting overwritten, this is due to not change in the ID. probably you can paste your coding in the word docuement . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can have a look at it. I have worked rigrously adding multiple rows and till now it works as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Merry Christmas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Best regards,&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 14:41:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-rows-to-a-table-without-an-insert-or-append-row-button/m-p/6421270#M1409425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-23T14:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Adding rows to a table without an insert or append row button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-rows-to-a-table-without-an-insert-or-append-row-button/m-p/6421271#M1409426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my suggestion is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
...
session.findById("wnd[0]/usr/subSCREEN_3000_RESIZING_AREA:SAPLBUS_LOCATOR:2036/subSCREEN_1010_RIGHT_AREA:SAPLBUPA_DIALOG_JOEL:1000/ssubSCREEN_1000_WORKAREA_AREA:SAPLBUPA_DIALOG_JOEL:1100/ssubSCREEN_1100_MAIN_AREA:SAPLBUPA_DIALOG_JOEL:1101/tabsGS_SCREEN_1100_TABSTRIP/tabpSCREEN_1100_TAB_03/ssubSCREEN_1100_TABSTRIP_AREA:SAPLBUSS:0028/ssubGENSUB:SAPLBUSS:7014/subA06P02:SAPLBUD0:1520/tblSAPLBUD0TCTRL_BUT0ID/ctxtGT_BUT0ID-TYPE[0,0]").text = "CRM0001"
session.findById("wnd[0]/usr/subSCREEN_3000_RESIZING_AREA:SAPLBUS_LOCATOR:2036/subSCREEN_1010_RIGHT_AREA:SAPLBUPA_DIALOG_JOEL:1000/ssubSCREEN_1000_WORKAREA_AREA:SAPLBUPA_DIALOG_JOEL:1100/ssubSCREEN_1100_MAIN_AREA:SAPLBUPA_DIALOG_JOEL:1101/tabsGS_SCREEN_1100_TABSTRIP/tabpSCREEN_1100_TAB_03/ssubSCREEN_1100_TABSTRIP_AREA:SAPLBUSS:0028/ssubGENSUB:SAPLBUSS:7014/subA06P02:SAPLBUD0:1520/tblSAPLBUD0TCTRL_BUT0ID/txtGT_BUT0ID-IDNUMBER[2,0]").text = "1"
session.findById("wnd[0]/usr/subSCREEN_3000_RESIZING_AREA:SAPLBUS_LOCATOR:2036/subSCREEN_1010_RIGHT_AREA:SAPLBUPA_DIALOG_JOEL:1000/ssubSCREEN_1000_WORKAREA_AREA:SAPLBUPA_DIALOG_JOEL:1100/ssubSCREEN_1100_MAIN_AREA:SAPLBUPA_DIALOG_JOEL:1101/tabsGS_SCREEN_1100_TABSTRIP/tabpSCREEN_1100_TAB_03/ssubSCREEN_1100_TABSTRIP_AREA:SAPLBUSS:0028/ssubGENSUB:SAPLBUSS:7014/subA06P02:SAPLBUD0:1520/tblSAPLBUD0TCTRL_BUT0ID").verticalScrollbar.position = 1
...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mouse click on the next line allows the use of always the same relative coordinates for the new parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Merry Christmas,&lt;/P&gt;&lt;P&gt;ScriptMan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ScriptMan on Dec 23, 2009 10:58 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 21:57:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-rows-to-a-table-without-an-insert-or-append-row-button/m-p/6421271#M1409426</guid>
      <dc:creator>script_man</dc:creator>
      <dc:date>2009-12-23T21:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Adding rows to a table without an insert or append row button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-rows-to-a-table-without-an-insert-or-append-row-button/m-p/6421272#M1409427</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;I may suggest a workaround, you can always call a Bapi wrapper ( or a Function module ) which is exposed by SAP and try to pass multiple rows , rather than trying to input throught GUI .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example there will be some  BAPI Wrapper or Function module exposed by name PARTNER_CHANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help to sovle ur issue to some extent .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;harsha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2010 19:31:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-rows-to-a-table-without-an-insert-or-append-row-button/m-p/6421272#M1409427</guid>
      <dc:creator>harsha_s</dc:creator>
      <dc:date>2010-02-01T19:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Adding rows to a table without an insert or append row button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-rows-to-a-table-without-an-insert-or-append-row-button/m-p/6421273#M1409428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please look into the thread :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1607557"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This thread also talks about adding multiple rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Best regards,&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 04:19:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-rows-to-a-table-without-an-insert-or-append-row-button/m-p/6421273#M1409428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-24T04:19:46Z</dc:date>
    </item>
  </channel>
</rss>

