<?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: Error Message with multiple line in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-multiple-line/m-p/981881#M72169</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asheek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't think this is possible in ABAP. What I would do is collect these error messages into an internal table and pass them out in a pop up dialog screen. I would put them into a little table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Aug 2005 07:24:09 GMT</pubDate>
    <dc:creator>former_member221770</dc:creator>
    <dc:date>2005-08-25T07:24:09Z</dc:date>
    <item>
      <title>Error Message with multiple line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-multiple-line/m-p/981880#M72168</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;How to display a error message with multiple line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;     Goods movement not possible for material 101&lt;/P&gt;&lt;P&gt;     Goods movement not possible for material 102 &lt;/P&gt;&lt;P&gt;     Goods movement not possible for material 103 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible is ABAP? If so please advice me.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Asheek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2005 07:16:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-multiple-line/m-p/981880#M72168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-25T07:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message with multiple line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-multiple-line/m-p/981881#M72169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asheek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't think this is possible in ABAP. What I would do is collect these error messages into an internal table and pass them out in a pop up dialog screen. I would put them into a little table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2005 07:24:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-multiple-line/m-p/981881#M72169</guid>
      <dc:creator>former_member221770</dc:creator>
      <dc:date>2005-08-25T07:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message with multiple line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-multiple-line/m-p/981882#M72170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try with long text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2005 07:25:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-multiple-line/m-p/981882#M72170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-25T07:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message with multiple line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-multiple-line/m-p/981883#M72171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asheek,&lt;/P&gt;&lt;P&gt; I suggest you to display these error messages using the application log popup. &lt;/P&gt;&lt;P&gt;You can create the application log by making use of the following function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAL_LOG_CREATE&lt;/P&gt;&lt;P&gt;BAL_LOG_MSG_ADD_FREE_TEXT&lt;/P&gt;&lt;P&gt;BAL_DSP_LOG_DISPLAY&lt;/P&gt;&lt;P&gt;Let me know, if need any sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2005 09:06:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-multiple-line/m-p/981883#M72171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-25T09:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message with multiple line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-multiple-line/m-p/981884#M72172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I create a log instance using BAL_LOG_CREATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If I have an internal table it_messages which will have my error messages, should I loop through this and call BAL_LOG_MSG_ADD for each message?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Then I call BAL_DSP_LOG_DISPLAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My doubt is if my message which is in line is_message be added to the log, which of the fields should it be supplied to, to be added in the log? I mean.. BAL_LOG_MSG_ADD takes a parameter i_s_msg. Which field of i_s_msg needs to be supplied with the error message which needs to be added to the appl log?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Anoop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2005 05:15:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-multiple-line/m-p/981884#M72172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-01T05:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message with multiple line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-multiple-line/m-p/981885#M72173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;  try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message 1039(zaba) with &lt;/P&gt;&lt;P&gt;         'Goods movement not possible for material 101'&lt;/P&gt;&lt;P&gt;         'Goods movement not possible for material 102'&lt;/P&gt;&lt;P&gt;         'Goods movement not possible for material 103'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2005 05:56:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-multiple-line/m-p/981885#M72173</guid>
      <dc:creator>aaruljothi</dc:creator>
      <dc:date>2005-09-01T05:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message with multiple line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-multiple-line/m-p/981886#M72174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;  try this&lt;/P&gt;&lt;P&gt;(instead of 1 give  e)&lt;/P&gt;&lt;P&gt;message i039(zaba) with &lt;/P&gt;&lt;P&gt;         'Goods movement not possible for material 101'&lt;/P&gt;&lt;P&gt;         'Goods movement not possible for material 102'&lt;/P&gt;&lt;P&gt;         'Goods movement not possible for material 103'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2005 05:57:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-multiple-line/m-p/981886#M72174</guid>
      <dc:creator>aaruljothi</dc:creator>
      <dc:date>2005-09-01T05:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message with multiple line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-multiple-line/m-p/981887#M72175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anoop,&lt;/P&gt;&lt;P&gt;You can use same thing like this&lt;/P&gt;&lt;P&gt;I suggest write ur message through this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First set the obecj.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'APPL_LOG_SET_OBJECT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for local memory&lt;/P&gt;&lt;P&gt;FUNCTION 'APPL_LOG_WRITE_MESSAGES'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              OBJECT              = OBJECT&lt;/P&gt;&lt;P&gt;              SUBOBJECT           = SUBOBJECT&lt;/P&gt;&lt;P&gt;              UPDATE_OR_INSERT    = UPDATE_INSERT_FLAG&lt;/P&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;              MESSAGES            = MESSAGE_TABLE&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;              OBJECT_NOT_FOUND    = 1&lt;/P&gt;&lt;P&gt;              SUBOBJECT_NOT_FOUND = 2&lt;/P&gt;&lt;P&gt;              OTHERS              = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the call for physical memory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'APPL_LOG_WRITE_DB'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this process you only need to provide the Itab with error messages.&lt;/P&gt;&lt;P&gt;Reg,&lt;/P&gt;&lt;P&gt;Arpit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2005 06:07:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-multiple-line/m-p/981887#M72175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-01T06:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message with multiple line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-multiple-line/m-p/981888#M72176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;zaba&lt;/STRONG&gt; is your own message class. Not working for us.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 07:38:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-with-multiple-line/m-p/981888#M72176</guid>
      <dc:creator>mkysoft</dc:creator>
      <dc:date>2012-09-04T07:38:28Z</dc:date>
    </item>
  </channel>
</rss>

