<?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: READ CURRENT LINE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-current-line/m-p/3151098#M749359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are 2 ways.&lt;/P&gt;&lt;P&gt;READ CURRENT LINE FIELD VALUE &amp;lt;fieldname&amp;gt;.&lt;/P&gt;&lt;P&gt;READ CURRENT LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first statement does'nt work on numeric type fields especially when there are commas ',' like 5,600,00.&lt;/P&gt;&lt;P&gt;it'll give you dump.&lt;/P&gt;&lt;P&gt;but always works on CHAR type.&lt;/P&gt;&lt;P&gt; so in your case use second statement. though you're reading entire row but use only single field what ever you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF itab OCCURS 0,&lt;/P&gt;&lt;P&gt;          matnr LIKE eban-matnr,&lt;/P&gt;&lt;P&gt;          menge LIKE eban-menge,&lt;/P&gt;&lt;P&gt;       END OF itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;  READ CURRENT LINE.&lt;/P&gt;&lt;P&gt;  WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; itab-menge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  SELECT matnr menge  INTO TABLE itab  FROM eban UP TO&lt;/P&gt;&lt;P&gt;  10 ROWS WHERE matnr NE space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT itab.&lt;/P&gt;&lt;P&gt;    WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; itab-matnr, itab-menge.&lt;/P&gt;&lt;P&gt;    HIDE : itab-matnr, itab-menge.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2007 09:37:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-19T09:37:50Z</dc:date>
    <item>
      <title>READ CURRENT LINE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-current-line/m-p/3151093#M749354</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 reading one line from classical report using READ CURRENT LINE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i select one line then the value gets stored in entire row. I have one variable(lv_int) having data type INTEGER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the value of variable(lv_int) 100,236 then i m getting dump but if the value of variable lv_int = 60 then I am getting desired result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I can solve the problem so that I can read the value of variable LV_INT = 100,236.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 08:05:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-current-line/m-p/3151093#M749354</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T08:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: READ CURRENT LINE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-current-line/m-p/3151094#M749355</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;just declare the variable ' lv_int' of the same type as the field having data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;reward points if helpfull&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 08:10:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-current-line/m-p/3151094#M749355</guid>
      <dc:creator>Vijay</dc:creator>
      <dc:date>2007-12-19T08:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: READ CURRENT LINE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-current-line/m-p/3151095#M749356</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;Integer variable doesnt store decimal values.&lt;/P&gt;&lt;P&gt;so declare your variable should be packed or it should be the same data type from where you are getting this value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open database table and see data type of that variable i.e. you are getting 103.26 from some data base field na.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your variable also same type as dat base field  type and length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sivaparvathi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points if helpful..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 08:22:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-current-line/m-p/3151095#M749356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T08:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: READ CURRENT LINE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-current-line/m-p/3151096#M749357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Are you using this statement along with FILED value or not?&lt;/P&gt;&lt;P&gt;reason I'm asking &lt;/P&gt;&lt;P&gt;If you use READ CURRENT LINE FIELD VALUE var&lt;/P&gt;&lt;P&gt;gives you dump. but if you use only READ CURRENT LINE.&lt;/P&gt;&lt;P&gt;it's not giving any dump. check this below statments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : var TYPE i VALUE '5034234'.&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; READ current LINE field value var.  "error&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ current LINE.                 "OK&lt;/P&gt;&lt;P&gt;  WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; var.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; var.&lt;/P&gt;&lt;P&gt;  HIDE var.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 08:39:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-current-line/m-p/3151096#M749357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T08:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: READ CURRENT LINE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-current-line/m-p/3151097#M749358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Perez,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to read the one field of selected row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I can write the read current line statement for above mentioned problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you pls elobrate?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 09:14:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-current-line/m-p/3151097#M749358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T09:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: READ CURRENT LINE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-current-line/m-p/3151098#M749359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are 2 ways.&lt;/P&gt;&lt;P&gt;READ CURRENT LINE FIELD VALUE &amp;lt;fieldname&amp;gt;.&lt;/P&gt;&lt;P&gt;READ CURRENT LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first statement does'nt work on numeric type fields especially when there are commas ',' like 5,600,00.&lt;/P&gt;&lt;P&gt;it'll give you dump.&lt;/P&gt;&lt;P&gt;but always works on CHAR type.&lt;/P&gt;&lt;P&gt; so in your case use second statement. though you're reading entire row but use only single field what ever you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF itab OCCURS 0,&lt;/P&gt;&lt;P&gt;          matnr LIKE eban-matnr,&lt;/P&gt;&lt;P&gt;          menge LIKE eban-menge,&lt;/P&gt;&lt;P&gt;       END OF itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;  READ CURRENT LINE.&lt;/P&gt;&lt;P&gt;  WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; itab-menge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  SELECT matnr menge  INTO TABLE itab  FROM eban UP TO&lt;/P&gt;&lt;P&gt;  10 ROWS WHERE matnr NE space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT itab.&lt;/P&gt;&lt;P&gt;    WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; itab-matnr, itab-menge.&lt;/P&gt;&lt;P&gt;    HIDE : itab-matnr, itab-menge.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 09:37:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-current-line/m-p/3151098#M749359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T09:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: READ CURRENT LINE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-current-line/m-p/3151099#M749360</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;  declare lv_int as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: lv_int type p decimals 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you declare like this you will get value with decimals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 10:40:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-current-line/m-p/3151099#M749360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T10:40:35Z</dc:date>
    </item>
  </channel>
</rss>

