<?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 how to get the cursor position from screen in module pool program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-the-cursor-position-from-screen-in-module-pool-program/m-p/6508113#M1423020</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 am doing the module pool program, I have one table control in one screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to give functionality to the user that when the user enters first record in the table control and after filling the last field&lt;/P&gt;&lt;P&gt;when he presses enter the cursor will have to come in the starting field of the second record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know the logic , but i m bit confused.&lt;/P&gt;&lt;P&gt;Can any body help me to solve this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jan 2010 09:52:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-12T09:52:19Z</dc:date>
    <item>
      <title>how to get the cursor position from screen in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-the-cursor-position-from-screen-in-module-pool-program/m-p/6508113#M1423020</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 am doing the module pool program, I have one table control in one screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to give functionality to the user that when the user enters first record in the table control and after filling the last field&lt;/P&gt;&lt;P&gt;when he presses enter the cursor will have to come in the starting field of the second record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know the logic , but i m bit confused.&lt;/P&gt;&lt;P&gt;Can any body help me to solve this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 09:52:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-the-cursor-position-from-screen-in-module-pool-program/m-p/6508113#M1423020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-12T09:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the cursor position from screen in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-the-cursor-position-from-screen-in-module-pool-program/m-p/6508114#M1423021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do it by using SET CURSOR command,&lt;/P&gt;&lt;P&gt;E.G.  SET CURSOR FIELD 'WA_MST-SRNO'  LINE 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 09:59:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-the-cursor-position-from-screen-in-module-pool-program/m-p/6508114#M1423021</guid>
      <dc:creator>mukundkansara</dc:creator>
      <dc:date>2010-01-12T09:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the cursor position from screen in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-the-cursor-position-from-screen-in-module-pool-program/m-p/6508115#M1423022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There is no specific coding required further the same..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use &lt;/P&gt;&lt;P&gt;LOOP AT IT_SCARR INTO ITAB WITH CONTROL TC_ITAB&lt;/P&gt;&lt;P&gt;                      CURSOR TC_ITAB-CURRENT_LINE.&lt;/P&gt;&lt;P&gt;Module &amp;lt;...&amp;gt; &lt;/P&gt;&lt;P&gt;ENDLLOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in PBO - and fill the table control in above module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 10:01:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-the-cursor-position-from-screen-in-module-pool-program/m-p/6508115#M1423022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-12T10:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the cursor position from screen in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-the-cursor-position-from-screen-in-module-pool-program/m-p/6508116#M1423023</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;Check this code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write it in the PBO&lt;/P&gt;&lt;P&gt;MODULE SET_CURSOR_WERTKONTRAKT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE SET_CURSOR_WERTKONTRAKT OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM SET_CURSOR USING 'VBAP-ZWERT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " SET_CURSOR_WERTKONTRAKT  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM SET_CURSOR USING US_FELDNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: DA_TFILL LIKE SY-TFILL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE IVBAP LINES DA_TFILL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FCODE 'Create Position':&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;==&amp;gt; Cursor to the first free line set to make the new position&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Can be created directly&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;    IF DA_TFILL EQ 0.&lt;/P&gt;&lt;P&gt;      SET CURSOR FIELD US_FELDNAME LINE 1.   &lt;SPAN __default_attr="red" __jive_macro_name="color"&gt; -&lt;/SPAN&gt;&lt;/P&gt;&lt;HR originaltext="----" /&gt;&amp;gt; set cursor position&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      SET CURSOR FIELD US_FELDNAME LINE 2.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Product proposal actively&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Set ==&amp;gt; cursor in the first row&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF DPP_ACTIVE   EQ CHARX AND&lt;/P&gt;&lt;P&gt;     XVBAP_UMFANG_OPV IS INITIAL.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;in the 'target volume' if available&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF KOPGR_MIT_ZMENG CS TVAK-KOPGR.&lt;/P&gt;&lt;P&gt;        SET CURSOR FIELD 'VBAP-ZMENG' LINE 1.&lt;/P&gt;&lt;P&gt;        EXIT.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Else in the field 'Order quantity'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      SET CURSOR FIELD 'RV45A-KWMENG' LINE 1.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhijit G. Borkar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 10:19:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-the-cursor-position-from-screen-in-module-pool-program/m-p/6508116#M1423023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-12T10:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the cursor position from screen in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-the-cursor-position-from-screen-in-module-pool-program/m-p/6508117#M1423024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The logic is in PAI get the curdor position and in PBO set the cursor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET CURSOR FIELD f LINE lin offset off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET CURSOR FIELD f LINE lin offset off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the variable lin holds your current line, f holds the field and off holds the offset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 10:20:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-the-cursor-position-from-screen-in-module-pool-program/m-p/6508117#M1423024</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-01-12T10:20:26Z</dc:date>
    </item>
  </channel>
</rss>

