<?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: Protocol Error Msgs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/protocol-error-msgs/m-p/7646760#M1572725</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any example for me. Or is there any artical/blog describing this all ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Feb 2011 19:11:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-16T19:11:40Z</dc:date>
    <item>
      <title>Protocol Error Msgs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/protocol-error-msgs/m-p/7646758#M1572723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to protocol error msg during the process of my program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example inside a loop I need to verify user input aginst flate-file data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so I have a form routine which verify date and returns a lv_error_flag = 'x' if error occurd.&lt;/P&gt;&lt;P&gt;now here is my point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can take an internal table and can write there statci msg...like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: lt_error_table type table of ts_error_str .&lt;/P&gt;&lt;P&gt;Data ls_error_table type ts_error_str&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ts_error_str-msg = "Erro in date, not give in file"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append ls_error_str to lt_error_str....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the end of processing, I can display my internal table maybe in ALV or so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this the conventional way of doing protocol error msg ? or does sap provides some standard functions ?&lt;/P&gt;&lt;P&gt;please suggest.... a good way to do so.&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;&lt;/P&gt;&lt;P&gt;Edited by: Shah H on Feb 16, 2011 4:35 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 12:33:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/protocol-error-msgs/m-p/7646758#M1572723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-16T12:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Protocol Error Msgs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/protocol-error-msgs/m-p/7646759#M1572724</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;Instead of this declare the message in se91. Then call it in your program using fm BALW_BAPIRETURN_GET2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or the syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; MESSAGE ID     CL&lt;/P&gt;&lt;P&gt;          TYPE   'I'&lt;/P&gt;&lt;P&gt;          NUMBER Number&lt;/P&gt;&lt;P&gt;          WITH   par1&lt;/P&gt;&lt;P&gt;                 par2&lt;/P&gt;&lt;P&gt;                 par3&lt;/P&gt;&lt;P&gt;                 par4&lt;/P&gt;&lt;P&gt;          INTO   RETURN-Message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also try to place statement like below just for the case of where used list from se91. Place this after the message is populated to your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if 1 = 2.&lt;/P&gt;&lt;P&gt;message e012.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 16:24:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/protocol-error-msgs/m-p/7646759#M1572724</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-02-16T16:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Protocol Error Msgs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/protocol-error-msgs/m-p/7646760#M1572725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any example for me. Or is there any artical/blog describing this all ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 19:11:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/protocol-error-msgs/m-p/7646760#M1572725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-16T19:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Protocol Error Msgs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/protocol-error-msgs/m-p/7646761#M1572726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;search for SAP Application LOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function modules are available for creation of logs, appending messages, saving log to database. This can be checked by transaction SLG1. SLG0 is used for log objects creation.&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 21:01:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/protocol-error-msgs/m-p/7646761#M1572726</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-02-16T21:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Protocol Error Msgs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/protocol-error-msgs/m-p/7646762#M1572727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Guy for your kind reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found something like: 'BAL_LOG_MSG_ADD' to add msgs to log and then reterive it via a handel later on...&lt;/P&gt;&lt;P&gt;But is'nt it more to save log on db ? and not for time being ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am only intrested to display error-msg occured in program to user on run-time and not to save them in db.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide me with an example for blog or an artical describing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 09:39:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/protocol-error-msgs/m-p/7646762#M1572727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-17T09:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Protocol Error Msgs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/protocol-error-msgs/m-p/7646763#M1572728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;everything is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't need the protocol, in database for later evaluation, just do not save it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the available funtions in groups&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SBAL                  &lt;/P&gt;&lt;P&gt; SBAL_CNTL             &lt;/P&gt;&lt;P&gt; SBAL_DB               &lt;/P&gt;&lt;P&gt; SBAL_DB_CONVERT       &lt;/P&gt;&lt;P&gt; SBAL_DB_INTERNAL      &lt;/P&gt;&lt;P&gt; SBAL_DETAIL           &lt;/P&gt;&lt;P&gt; SBAL_DISPLAY          &lt;/P&gt;&lt;P&gt; SBAL_DISPLAY_BASE     &lt;/P&gt;&lt;P&gt; SBAL_DISPLAY_MESSAGE  &lt;/P&gt;&lt;P&gt; SBAL_PROFILE          &lt;/P&gt;&lt;P&gt; SBAL_SERVICE          &lt;/P&gt;&lt;P&gt; SBAL_TOOLBOX          &lt;/P&gt;&lt;P&gt; SBAL_TXT              &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have BAL_DSP_LOG_DISPLAY  for display of log.&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 09:54:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/protocol-error-msgs/m-p/7646763#M1572728</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-02-17T09:54:14Z</dc:date>
    </item>
  </channel>
</rss>

