<?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: Problem with  Write Statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068969#M972735</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;yes on that time declare the field symbol like  &amp;lt;fs&amp;gt; type any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aassign internal table to this  field symbol.&lt;/P&gt;&lt;P&gt;finally.&lt;/P&gt;&lt;P&gt;write:/  &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sriram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2008 07:18:14 GMT</pubDate>
    <dc:creator>venkatasriram_mygapula</dc:creator>
    <dc:date>2008-07-10T07:18:14Z</dc:date>
    <item>
      <title>Problem with  Write Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068958#M972724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select * from ekko into table i_ekko up to 100 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at i_ekko into w_ekko.&lt;/P&gt;&lt;P&gt;write : w_ekko.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i write the above code i am getting an error "cannot be converted in to charater type".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i want to display the all the coloums and rows from the DB table in the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;kumar m&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 07:04:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068958#M972724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T07:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with  Write Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068959#M972725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Either you have to specify each and every column like w_ekko-field1, w_ekko-field2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you have to dynamically assign field-symbols to do the job if number of fields are very high&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 07:06:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068959#M972725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T07:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with  Write Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068960#M972726</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;w_ekko is workarea so u cannot get data into that,u have to define all the fileds in order to get them in output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 07:07:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068960#M972726</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2008-07-10T07:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with  Write Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068961#M972727</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;PRE&gt;&lt;CODE&gt;loop at i_ekko into w_ekko&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here w_ekko is considered as the field string which cannot be written with name with reference of the field name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You shold try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at i_ekko into w_ekko.
write : w_ekko-filed1.

endloop&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sumit Agarwal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 07:07:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068961#M972727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T07:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with  Write Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068962#M972728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mukesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Here you are writing the field string at once. It considers the field string as a completer character type. But it contains fields other than character type. So, they cannot be converted into character type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead you try to write each field individually as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_ekko-field1 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra Sekhar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Chandrasekhar Gandla on Jul 10, 2008 9:08 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 07:08:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068962#M972728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T07:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with  Write Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068963#M972729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my issue was.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;List all the rows from the table LAGP(Storage Bins) in a report&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 07:08:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068963#M972729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T07:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with  Write Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068964#M972730</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;&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;Loop at itab into wa .&lt;/P&gt;&lt;P&gt; write: wa-field.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sujit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sujit Pal on Jul 10, 2008 9:10 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 07:10:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068964#M972730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T07:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with  Write Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068965#M972731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;   W_EKKO is only a work area which is like the line type of your internal table so you haveto explicitly write all teh column names &lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write :&lt;/P&gt;&lt;P&gt;/ W-EKKO-&amp;lt;name of the column&amp;gt;.&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;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 07:10:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068965#M972731</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2008-07-10T07:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with  Write Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068966#M972732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI mukesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you loop at a internal table without a header line,that time while retrieving/printing  the data , you should deal at field level &amp;amp; not work area level.&lt;/P&gt;&lt;P&gt;So instaed of writing the complete work area,try to write field one by one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;eg,

write : workarea-field 1,
         workarea-field 2,&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code which you have writeen would work for table with header line..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;Bhumika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 07:12:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068966#M972732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T07:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with  Write Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068967#M972733</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;you need to specify the fields in the write statement as your work area which contains a single row of your internal table , can not be converted into a single  character string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so u have to specify lilke this  inside a loop statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; w_ekko-fld1 , w_ekko-fld2 , .......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 07:12:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068967#M972733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T07:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with  Write Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068968#M972734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But LAGP contains 50 fields,,&lt;/P&gt;&lt;P&gt;ok if Any table contain 250 fields &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i should write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa-&amp;lt;tab&amp;gt;-field1  ....... to wa_&amp;lt;tab&amp;gt;-field250. ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 07:13:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068968#M972734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T07:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with  Write Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068969#M972735</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;yes on that time declare the field symbol like  &amp;lt;fs&amp;gt; type any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aassign internal table to this  field symbol.&lt;/P&gt;&lt;P&gt;finally.&lt;/P&gt;&lt;P&gt;write:/  &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sriram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 07:18:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068969#M972735</guid>
      <dc:creator>venkatasriram_mygapula</dc:creator>
      <dc:date>2008-07-10T07:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with  Write Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068970#M972736</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;in yoour code try like this,&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;&lt;/P&gt;&lt;P&gt;Select * from ekko into table i_ekko up to 100 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at i_ekko into w_ekko.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign lw_ekko to &amp;lt;FS&amp;gt;.&lt;/P&gt;&lt;P&gt;write : &amp;lt;FS&amp;gt;.&lt;/P&gt;&lt;P&gt;endloop.&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;&lt;/P&gt;&lt;P&gt;sriram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 07:21:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068970#M972736</guid>
      <dc:creator>venkatasriram_mygapula</dc:creator>
      <dc:date>2008-07-10T07:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with  Write Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068971#M972737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think structure of i_ekko and wai_ekko not same as ekko DB table. You have define them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syed Tayab shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 07:22:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068971#M972737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T07:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with  Write Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068972#M972738</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;U cannot call the Itab directil into the write statement. Instead u have to specify whatever fields you want in the output that u have to give.&lt;/P&gt;&lt;P&gt;For eg.&lt;/P&gt;&lt;P&gt;loop at itab into w_itab.&lt;/P&gt;&lt;P&gt;write:/ w_itab-field1,&lt;/P&gt;&lt;P&gt;         w_itab-field2,&lt;/P&gt;&lt;P&gt;        w_itab-field3,&lt;/P&gt;&lt;P&gt;         w_itab-field4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;Reward points if helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Y.R.Prem Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 07:25:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068972#M972738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T07:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with  Write Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068973#M972739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mukesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually you can do like this because each record is taken into the work area &lt;STRONG&gt;w_ekko&lt;/STRONG&gt; . But probably you have some fields which cannot be converted into character types. and this character type can be of type &lt;STRONG&gt;C , N , D  or T&lt;/STRONG&gt;. And I also think that you might have observed some &lt;STRONG&gt;special characters&lt;/STRONG&gt; also which appear. So it is always advisable to &lt;STRONG&gt;write the fields&lt;/STRONG&gt; &lt;STRONG&gt;individually.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swapna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 07:26:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068973#M972739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T07:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with  Write Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068974#M972740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this it may work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : iekko like ekko occurs 0.

data : wekko like ekko.
field-symbols : &amp;lt;fs&amp;gt; type any.

select * from ekko into table iekko up to 100 rows.

loop at iekko into wekko.
do 100 times.
assign component sy-index of structure wekko to &amp;lt;fs&amp;gt;.
if sy-subrc = 0.

write :  &amp;lt;fs&amp;gt;.
else.
exit.
endif.
unassign &amp;lt;fs&amp;gt;.

enddo.
write : /.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 08:22:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-write-statement/m-p/4068974#M972740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T08:22:30Z</dc:date>
    </item>
  </channel>
</rss>

