<?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: Write statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/2757329#M641753</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you dont have any value in w_pernr, so this may cause not to print anything. Try to check whether there is any value for w_pernr in debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For output format check this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;WRITE:/005 'P', 025 'Error Messages'.&lt;/P&gt;&lt;P&gt;ULINE.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab_bapiret2_t&lt;/P&gt;&lt;P&gt;INTO wa_bapiret2_t where Type = ' E '.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; w_pernr, wa_bapiret2-MESSAGE. &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ULINE.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Aug 2007 16:09:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-29T16:09:33Z</dc:date>
    <item>
      <title>Write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/2757326#M641750</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;        The w-pernr(personnel number) is not getting displayed when i use the statement below. i am only getting messages. What is my mistake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab_bapiret2_t&lt;/P&gt;&lt;P&gt;INTO wa_bapiret2_t where Type = ' E '.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;    w_pernr,  wa_bapiret2-MESSAGE. &lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt; Also i want the output to be displayed like this . How should i use the write statement&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;P                                         Error Messages&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------" /&gt;&lt;P&gt;1                                         xxxxxxxxxxxxx&lt;/P&gt;&lt;P&gt;                                                  &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------" /&gt;&lt;P&gt;2                                          xxxxxxxxxxxx&lt;/P&gt;&lt;P&gt;                                                    &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------" /&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;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        madhu reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 15:57:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/2757326#M641750</guid>
      <dc:creator>madhu_reddy22</dc:creator>
      <dc:date>2007-08-29T15:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/2757327#M641751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think there is anything wrong, it is probably that you don't have any value in w_pernr. See where it is set and see if that is not correctly happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can change your write statements by specifying position where you want the value to be written instead of writing them one next to the other.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 16:03:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/2757327#M641751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T16:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/2757328#M641752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you are using BAPI FM,so there are no error messages &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;wa_bapiret2_t where Type = ' E '.&amp;lt;/b&amp;gt;,if you change type then you will get some values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 16:05:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/2757328#M641752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T16:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/2757329#M641753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you dont have any value in w_pernr, so this may cause not to print anything. Try to check whether there is any value for w_pernr in debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For output format check this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;WRITE:/005 'P', 025 'Error Messages'.&lt;/P&gt;&lt;P&gt;ULINE.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab_bapiret2_t&lt;/P&gt;&lt;P&gt;INTO wa_bapiret2_t where Type = ' E '.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; w_pernr, wa_bapiret2-MESSAGE. &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ULINE.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 16:09:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/2757329#M641753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T16:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/2757330#M641754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check if you are clearing the w_perner.. check the value of the perner before the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 16:20:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/2757330#M641754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T16:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/2757331#M641755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where from are you getting the value in w_pernr? Check the value before the loop statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Best Regards,&lt;/P&gt;&lt;P&gt;Vikas Bittera.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;Points for useful answers&lt;/STRONG&gt;**&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 16:26:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/2757331#M641755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T16:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/2757332#M641756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , i am having the value in w_pernr.  But anyways the code below is working for me.&lt;/P&gt;&lt;P&gt;WRITE: w_pernr.&lt;/P&gt;&lt;P&gt;LOOP AT itab_bapiret2_t&lt;/P&gt;&lt;P&gt;INTO wa_bapiret2_t where Type = ' E '.&lt;/P&gt;&lt;P&gt;WRITE : 025  wa_bapiret2-MESSAGE. &lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ULINE.&lt;/P&gt;&lt;P&gt; I dont know why the value is not getting printed when i keep it in the loop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 16:37:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/2757332#M641756</guid>
      <dc:creator>madhu_reddy22</dc:creator>
      <dc:date>2007-08-29T16:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/2757333#M641757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab_bapiret2_t INTO wa_bapiret2_t where Type = ' E '.&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_pernr ,&lt;/P&gt;&lt;P&gt;              wa_bapiret2-MESSAGE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ULINE.&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;&lt;/P&gt;&lt;P&gt;Thanks and Best Regards,&lt;/P&gt;&lt;P&gt;Vikas Bittera.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;Points for useful answers&lt;/STRONG&gt;**&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 16:41:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/2757333#M641757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T16:41:15Z</dc:date>
    </item>
  </channel>
</rss>

