<?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: Get cursor value... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-value/m-p/1832779#M354762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;refer this demo code and click on the any one field value of the output ..&lt;/P&gt;&lt;P&gt;it wil take u to secondary list - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables pa0001.&lt;/P&gt;&lt;P&gt;data: cursorfield(20).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0.&lt;/P&gt;&lt;P&gt;   include structure pa0001.&lt;/P&gt;&lt;P&gt;   data end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;select * from pa0001 up to 2 rows into table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write:/ itab-pernr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;  GET CURSOR FIELD CURSORFIELD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case cursorfield.&lt;/P&gt;&lt;P&gt;  when 'ITAB-PERNR' .&lt;/P&gt;&lt;P&gt;  read table itab with key pernr = itab-pernr.&lt;/P&gt;&lt;P&gt;  write:/ itab-plans.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jan 2007 09:46:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-18T09:46:42Z</dc:date>
    <item>
      <title>Get cursor value...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-value/m-p/1832773#M354756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai friends,&lt;/P&gt;&lt;P&gt;  Can any explain clearly the purpose of get cursor value with an simple example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 09:38:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-value/m-p/1832773#M354756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-18T09:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Get cursor value...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-value/m-p/1832774#M354757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;get cursor value  writes the contents of the screen field as a string to the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds,&lt;/P&gt;&lt;P&gt;kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 09:42:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-value/m-p/1832774#M354757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-18T09:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Get cursor value...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-value/m-p/1832775#M354758</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;go thru this url:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/get_curs.htm" target="test_blank"&gt;http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/get_curs.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 09:43:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-value/m-p/1832775#M354758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-18T09:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get cursor value...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-value/m-p/1832776#M354759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;   Check out this....&lt;/P&gt;&lt;P&gt;   DATA: HOTSPOT(10) VALUE 'Click me!',&lt;/P&gt;&lt;P&gt;      F(10), OFF TYPE I, LIN TYPE I, VAL(40), LEN TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;FS&amp;gt;.&lt;/P&gt;&lt;P&gt;ASSIGN HOTSPOT TO &amp;lt;FS&amp;gt;.&lt;/P&gt;&lt;P&gt;WRITE 'Demonstration of GET CURSOR statement'.&lt;/P&gt;&lt;P&gt;SKIP TO LINE 4.&lt;/P&gt;&lt;P&gt;POSITION 20.&lt;/P&gt;&lt;P&gt;WRITE &amp;lt;FS&amp;gt; HOTSPOT COLOR 5 INVERSE ON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;  WINDOW STARTING AT 5 6 ENDING AT 45 20.&lt;/P&gt;&lt;P&gt;  GET CURSOR FIELD F OFFSET OFF &lt;/P&gt;&lt;P&gt;             LINE LIN VALUE VAL LENGTH LEN.&lt;/P&gt;&lt;P&gt;  WRITE: 'Result of GET CURSOR FIELD: '.&lt;/P&gt;&lt;P&gt;  ULINE AT /(28).&lt;/P&gt;&lt;P&gt;  WRITE: / 'Field: ', F,&lt;/P&gt;&lt;P&gt;         / 'Offset:', OFF,&lt;/P&gt;&lt;P&gt;         / 'Line:  ', LIN,&lt;/P&gt;&lt;P&gt;         / 'Value: ', (10) VAL,&lt;/P&gt;&lt;P&gt;         / 'Length:', LEN.&lt;/P&gt;&lt;P&gt;  SKIP.&lt;/P&gt;&lt;P&gt;  GET CURSOR LINE LIN OFFSET OFF VALUE VAL LENGTH LEN.&lt;/P&gt;&lt;P&gt;  WRITE: 'Result of GET CURSOR LINE: '.&lt;/P&gt;&lt;P&gt;  ULINE AT /(27).&lt;/P&gt;&lt;P&gt;  WRITE: / 'Offset:', OFF,&lt;/P&gt;&lt;P&gt;         / 'Value: ', VAL,&lt;/P&gt;&lt;P&gt;         / 'Length:', LEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Su&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 09:43:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-value/m-p/1832776#M354759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-18T09:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Get cursor value...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-value/m-p/1832777#M354760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;get cursor is giving the field name , field value etc. where your cursor is currently located.&lt;/P&gt;&lt;P&gt;generally we are using for interactive reporting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in at line-selection.&lt;/P&gt;&lt;P&gt;get cursor field v_field value v_value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here if you are dbl clicking on a perticular field v_field will contain the field name and v_value will contain the value of that field on that position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 09:44:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-value/m-p/1832777#M354760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-18T09:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Get cursor value...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-value/m-p/1832778#M354761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for eg in interactive reporting, when ever u click on matnr field and the same value need to be passed to mm01 matnr then get cursor need to be used for this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 09:46:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-value/m-p/1832778#M354761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-18T09:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Get cursor value...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-value/m-p/1832779#M354762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;refer this demo code and click on the any one field value of the output ..&lt;/P&gt;&lt;P&gt;it wil take u to secondary list - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables pa0001.&lt;/P&gt;&lt;P&gt;data: cursorfield(20).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0.&lt;/P&gt;&lt;P&gt;   include structure pa0001.&lt;/P&gt;&lt;P&gt;   data end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;select * from pa0001 up to 2 rows into table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write:/ itab-pernr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;  GET CURSOR FIELD CURSORFIELD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case cursorfield.&lt;/P&gt;&lt;P&gt;  when 'ITAB-PERNR' .&lt;/P&gt;&lt;P&gt;  read table itab with key pernr = itab-pernr.&lt;/P&gt;&lt;P&gt;  write:/ itab-plans.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 09:46:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-value/m-p/1832779#M354762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-18T09:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Get cursor value...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-value/m-p/1832780#M354763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vighnesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET CURSOR is used to uniquely identify the field where your cursor is clicked.&lt;/P&gt;&lt;P&gt;In contrast HIDE will hide the whole row and supply for further processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 09:53:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-value/m-p/1832780#M354763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-18T09:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get cursor value...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-value/m-p/1832781#M354764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt; check this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET CURSOR FIELD f &lt;A href="OFFSET off"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;                   &lt;A href="LINE lin"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;                   &lt;A href="VALUE val"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;                   &lt;A href="LENGTH len"&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement transfers the name of the screen element on which the cursor is positioned during a user action to the variable f. If the cursor is on a screen element, sy-subrc is set to 0. Otherwise it is set to 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        OFFSET writes the cursor position within the screen element to the variable off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        LINE writes the line number of the table to the variable lin if the cursor is positioned in a table control. If the cursor is not in a table control, lin is set to zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        VALUE writes the contents of the screen field in display format &amp;#150; that is, with all of its formatting characters &amp;#150; as a string to the variable val.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        LENGTH writes the display length of the screen field to the variable len.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 09:56:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-value/m-p/1832781#M354764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-18T09:56:11Z</dc:date>
    </item>
  </channel>
</rss>

