<?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: Module pool - Index problem! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-index-problem/m-p/8595153#M1661933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this helps you. Try calling function DYNP_GET_STEPL to get the index. ( this is generally used in POV &amp;amp; POH )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2012 08:50:37 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2012-03-26T08:50:37Z</dc:date>
    <item>
      <title>Module pool - Index problem!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-index-problem/m-p/8595150#M1661930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have created a table control in modulepool. it has 3 columns like matnr, maktx and long text(shown as button) columns. The user will click on longtext button and enter the text for each material.&lt;/P&gt;&lt;P&gt;The problem is that when I have multiple entries and I scroll down and try to fill the long text for materials which are down the order, GET CURSOR line is not giving me the correct line index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say for example by default, 5 lines are shown and user enters long text for line item 3. Till&amp;nbsp; now everything fine, when I scroll down and try to enter texts for the line item 8,&amp;nbsp; the get cursor line is not giving me correct index number, it gives me index number as 3. What I am trying to say is it is considering only those lines which are visible as of now.In this case 6 to 10, so for line item 8 it gave result as 3 which is incorrect.&lt;/P&gt;&lt;P&gt;If you have better ideas of doing, let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Himayat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 08:27:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-index-problem/m-p/8595150#M1661930</guid>
      <dc:creator>Himayatullah</dc:creator>
      <dc:date>2012-03-26T08:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool - Index problem!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-index-problem/m-p/8595151#M1661931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do as follow. Lets say your table control is TC_TABLE.&lt;/P&gt;&lt;P&gt;Use the get cursor to fetch lines in LV_LINE&lt;/P&gt;&lt;P&gt;Curasr_index&amp;nbsp; = tc_table-top_line + lv_line -1.&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 08:37:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-index-problem/m-p/8595151#M1661931</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2012-03-26T08:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool - Index problem!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-index-problem/m-p/8595152#M1661932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Himayat,&lt;/P&gt;&lt;P&gt;GET CURSOR give you the current index on screen.&lt;BR /&gt; You have to add &amp;lt;CONTROLNAME&amp;gt;-TOP_LINE - 1 to the index returned by GET CURSOR to get the index into your internal table.&lt;/P&gt;&lt;P&gt;Cheers&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Adi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 08:37:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-index-problem/m-p/8595152#M1661932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-26T08:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool - Index problem!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-index-problem/m-p/8595153#M1661933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this helps you. Try calling function DYNP_GET_STEPL to get the index. ( this is generally used in POV &amp;amp; POH )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 08:50:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-index-problem/m-p/8595153#M1661933</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-03-26T08:50:37Z</dc:date>
    </item>
  </channel>
</rss>

