<?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 Table control cursor issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-cursor-issue/m-p/8911044#M1690640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;I have been given with a task regarding Module pool programming.I have created one table control ,where i will give input as material number then it should populate other details in remaining fields of the row.What my issue is,for the first record it is giving correct values,but if i enter next value in table control, it is doubling up.After debugging i came to know that,cursor is always pointing to the first record only.so it is taking work area of first record.I tried changing my cursor position useing SET CURSOR FIELD.But no use.Here i have attached my test case screen shots .please help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flow logic:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/123647" width="450" /&gt;&lt;/P&gt;&lt;P&gt;PAI module:(process)&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/123648" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Ouput one:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/123649" width="450" /&gt;&lt;/P&gt;&lt;P&gt;output two:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/123650" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jul 2012 17:51:36 GMT</pubDate>
    <dc:creator>naresh_bammidi</dc:creator>
    <dc:date>2012-07-26T17:51:36Z</dc:date>
    <item>
      <title>Table control cursor issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-cursor-issue/m-p/8911044#M1690640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;I have been given with a task regarding Module pool programming.I have created one table control ,where i will give input as material number then it should populate other details in remaining fields of the row.What my issue is,for the first record it is giving correct values,but if i enter next value in table control, it is doubling up.After debugging i came to know that,cursor is always pointing to the first record only.so it is taking work area of first record.I tried changing my cursor position useing SET CURSOR FIELD.But no use.Here i have attached my test case screen shots .please help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flow logic:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/123647" width="450" /&gt;&lt;/P&gt;&lt;P&gt;PAI module:(process)&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/123648" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Ouput one:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/123649" width="450" /&gt;&lt;/P&gt;&lt;P&gt;output two:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/123650" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 17:51:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-cursor-issue/m-p/8911044#M1690640</guid>
      <dc:creator>naresh_bammidi</dc:creator>
      <dc:date>2012-07-26T17:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Table control cursor issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-cursor-issue/m-p/8911045#M1690641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NAresh,&lt;/P&gt;&lt;P&gt;In the PAI, change the blank LOOP..ENDLOOP to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;LOOP at LT_MARA into LS_MARA&lt;/P&gt;&lt;P&gt;chain&lt;/P&gt;&lt;P&gt;add all your fields of table control&lt;/P&gt;&lt;P&gt;module process on chain request&lt;/P&gt;&lt;P&gt;endchain&lt;/P&gt;&lt;P&gt;endloop&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;MODULE PROCESS&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;MODIFY IT_MARA&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;LS_DISP&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt; &lt;SPAN class="L0S52"&gt;INDEX &lt;/SPAN&gt;TC_DISP&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;CURRENT_LINE&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;IF subrc &amp;lt;&amp;gt; 0 APPEND IT_MARA&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out the Table control documentation for more details on how the cursor is controlled and other fields to manipulate the behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Puneet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 18:54:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-cursor-issue/m-p/8911045#M1690641</guid>
      <dc:creator>Puneet_Gupta</dc:creator>
      <dc:date>2012-07-26T18:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Table control cursor issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-cursor-issue/m-p/8911046#M1690642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's resolved.thanks for your contribution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 14:43:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-cursor-issue/m-p/8911046#M1690642</guid>
      <dc:creator>naresh_bammidi</dc:creator>
      <dc:date>2012-08-02T14:43:05Z</dc:date>
    </item>
  </channel>
</rss>

