<?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: Is there such a statement LOG_WRITE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-such-a-statement-log-write/m-p/1850235#M360247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Will,  I think that what you may be seeing is a Macro.   The LOG_WRITE is the name of the macro.  But it seems that the definition is not local to your program.  Maybe it is in a  an INCLUDE which you are not including into your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example of what I mean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


report zrich_0001.

data: i_dsource type sy-msgv1 value 'Some Value'.

define log_write.

 write:/ &amp;amp;1, &amp;amp;2, &amp;amp;3, &amp;amp;4, &amp;amp;5.

end-of-definition.


log_write 'E'        "message type
          'R3'       "message class
          '009'      "message number
          i_dsource  "message variable 1
          ' '.       "message variable 2


log_write 'S'        "message type
          'R1'       "message class
          '007'      "message number
          i_dsource  "message variable 1
          ' '.       "message variable 2


 log_write 'W'        "message type
          'R2'       "message class
          '003'      "message number
          i_dsource  "message variable 1
          ' '.       "message variable 2
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jan 2007 19:12:25 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-01-11T19:12:25Z</dc:date>
    <item>
      <title>Is there such a statement LOG_WRITE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-such-a-statement-log-write/m-p/1850233#M360245</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;Are the following statements possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        LOG_WRITE 'E'                  "message type&lt;/P&gt;&lt;P&gt;                  'R3'                          "message class&lt;/P&gt;&lt;P&gt;                 '009'                          "message number&lt;/P&gt;&lt;P&gt;                  I_DSOURCE             "message variable 1&lt;/P&gt;&lt;P&gt;                  ' '.                            "message variable 2&lt;/P&gt;&lt;P&gt;        RAISE ERROR_PASSED_TO_MESS_HANDLER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would get an error saying that "The statement "LOG_WRITE" is not expected. A correct similar statement is "WRITE". statements is "WRITE".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 19:02:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-such-a-statement-log-write/m-p/1850233#M360245</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T19:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is there such a statement LOG_WRITE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-such-a-statement-log-write/m-p/1850234#M360246</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;Please explain your problem in detail. Are you trying to give an Error message ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mukul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 19:03:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-such-a-statement-log-write/m-p/1850234#M360246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T19:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is there such a statement LOG_WRITE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-such-a-statement-log-write/m-p/1850235#M360247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Will,  I think that what you may be seeing is a Macro.   The LOG_WRITE is the name of the macro.  But it seems that the definition is not local to your program.  Maybe it is in a  an INCLUDE which you are not including into your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example of what I mean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


report zrich_0001.

data: i_dsource type sy-msgv1 value 'Some Value'.

define log_write.

 write:/ &amp;amp;1, &amp;amp;2, &amp;amp;3, &amp;amp;4, &amp;amp;5.

end-of-definition.


log_write 'E'        "message type
          'R3'       "message class
          '009'      "message number
          i_dsource  "message variable 1
          ' '.       "message variable 2


log_write 'S'        "message type
          'R1'       "message class
          '007'      "message number
          i_dsource  "message variable 1
          ' '.       "message variable 2


 log_write 'W'        "message type
          'R2'       "message class
          '003'      "message number
          i_dsource  "message variable 1
          ' '.       "message variable 2
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 19:12:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-such-a-statement-log-write/m-p/1850235#M360247</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-01-11T19:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is there such a statement LOG_WRITE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-such-a-statement-log-write/m-p/1850236#M360248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking for something like FM LC_WRITE_SYSLOG?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 19:13:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-such-a-statement-log-write/m-p/1850236#M360248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T19:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is there such a statement LOG_WRITE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-such-a-statement-log-write/m-p/1850237#M360249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Will,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think LOG_WRITE is standard macro for BIW extraction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this links perhaps they may help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="438457"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.bwexpertonline.com/downloads/Extractor_Source_Code.doc" target="test_blank"&gt;http://www.bwexpertonline.com/downloads/Extractor_Source_Code.doc&lt;/A&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 19:26:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-such-a-statement-log-write/m-p/1850237#M360249</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-01-11T19:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is there such a statement LOG_WRITE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-such-a-statement-log-write/m-p/1850238#M360250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to put in (on the top or inside TOP-Includes) the include &lt;STRONG&gt;LRSAXD01&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;INCLUDE LRSAXD01.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 15:26:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-such-a-statement-log-write/m-p/1850238#M360250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-16T15:26:19Z</dc:date>
    </item>
  </channel>
</rss>

