<?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: Display error message in ALV grid  using OOPS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-error-message-in-alv-grid-using-oops/m-p/7441579#M1551761</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;PRE&gt;&lt;CODE&gt;&lt;P&gt;Please suggest me how to clear error log which was created by using the above FM's....&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can use BAL_LOG_REFRESH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;....and change the color of the failed row&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to insert a new field for Colour Attributes in your output table and input its name in the layout structure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IS_LAYOUT-INFO_FNAME = &amp;lt;field name for colour&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field has to be a CHAR 3 and its value can be -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt; Cxy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C is a constant&lt;/P&gt;&lt;P&gt;x is the colour number (from 1 to 9)&lt;/P&gt;&lt;P&gt;y is intensified (0 = off, 1 = on)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After changing the value of output table you need to run the method REFRESH_TABLE_DISPLAY for refreshing the output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Nov 2010 20:32:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-22T20:32:21Z</dc:date>
    <item>
      <title>Display error message in ALV grid  using OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-error-message-in-alv-grid-using-oops/m-p/7441578#M1551760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt; I have a requirement to display report in ALV. I have created ALV grid using OOPS with three editable cells and 1 button on toolbar. When user enter values in Ediatble cell  and click on the Toolbar button, sales order item should be assigned to contract.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user select  the row and click on toolbar button, a salesorder item should be assigned  to contract and i am using BAPI and fine with BAPI. All the error message should be displayed in a popup and the corresponding failed row  should change its color .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the user identified the failed row, he can edit the value in the ediatble cells and should reprocess in the same screen ( without going back to selection screen).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To display POP Up, I  am using FM BAL_LOG_CREATE, BAL_LOG_MSG_ADD, BAL_DSP_PROFILE_NO_TREE_GET, BAL_CNTL_CREATE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by using above 4 FM , i can display POP UP. but i cannot change the color of the failed row.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I identified the failed row and reprocess from the same screen , I am successful in processing the failed row, but my error log still has the reprocessed row as failed row because,  error log is not refreshing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me how to clear error log which was created by using the above FM's and change the color of the failed row .&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 19:55:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-error-message-in-alv-grid-using-oops/m-p/7441578#M1551760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-22T19:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Display error message in ALV grid  using OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-error-message-in-alv-grid-using-oops/m-p/7441579#M1551761</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;PRE&gt;&lt;CODE&gt;&lt;P&gt;Please suggest me how to clear error log which was created by using the above FM's....&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can use BAL_LOG_REFRESH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;....and change the color of the failed row&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to insert a new field for Colour Attributes in your output table and input its name in the layout structure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IS_LAYOUT-INFO_FNAME = &amp;lt;field name for colour&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field has to be a CHAR 3 and its value can be -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt; Cxy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C is a constant&lt;/P&gt;&lt;P&gt;x is the colour number (from 1 to 9)&lt;/P&gt;&lt;P&gt;y is intensified (0 = off, 1 = on)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After changing the value of output table you need to run the method REFRESH_TABLE_DISPLAY for refreshing the output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 20:32:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-error-message-in-alv-grid-using-oops/m-p/7441579#M1551761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-22T20:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Display error message in ALV grid  using OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-error-message-in-alv-grid-using-oops/m-p/7441580#M1551762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi max, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i am still unable to color the row and refresh the log.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 23:19:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-error-message-in-alv-grid-using-oops/m-p/7441580#M1551762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-22T23:19:28Z</dc:date>
    </item>
  </channel>
</rss>

