<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/2855595#M669331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ashish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am using the AT seleciton-screen output to display base unit of measure once the user enters the MATNR.If I comment that I will not be getting UoM in the selection-screen as text.&lt;/P&gt;&lt;P&gt;Moreover if I comment at selection-screen output,it is giving the error message in the status bar but without the selection screen.&lt;/P&gt;&lt;P&gt;I want the error message to  be displayed in the status bar but with the selection-screen.Kindly let me know.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Oct 2007 03:30:47 GMT</pubDate>
    <dc:creator>kiran_k8</dc:creator>
    <dc:date>2007-10-08T03:30:47Z</dc:date>
    <item>
      <title>Error Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/2855592#M669328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting the error message as a pop up and with no selection-screen.But I want the error message to be displayed in the status bar and with the selection-screen.Can anyone here please let me know how.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;PERFORM GETDATA.&lt;/P&gt;&lt;P&gt;IF P_MATNR IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;UOM = T_MEINS.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;To write the data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;LOOP AT ITAB1.&lt;/P&gt;&lt;P&gt;IF ITAB1-MRPVAL IS INITIAL.&lt;/P&gt;&lt;P&gt;MESSAGE E004(ZKK).&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;MOVE ITAB1-MRPVAL TO C_KBETR.&lt;/P&gt;&lt;P&gt;ENDIF.&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;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 03:20:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/2855592#M669328</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2007-10-08T03:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/2855593#M669329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Comment line AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not required in Start of selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make above change and it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else you can move the validation to the At selection-screen event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;PERFORM GETDATA.&lt;/P&gt;&lt;P&gt;IF P_MATNR IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;UOM = T_MEINS.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;To write the data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;LOOP AT ITAB1.&lt;/P&gt;&lt;P&gt;IF ITAB1-MRPVAL IS INITIAL.&lt;/P&gt;&lt;P&gt;MESSAGE E004(ZKK).&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;MOVE ITAB1-MRPVAL TO C_KBETR.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start-of-selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Put your logic here.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ashish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Ashish Gundawar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 03:21:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/2855593#M669329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-08T03:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/2855594#M669330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;START-OF-SELECTION.
*AT SELECTION-SCREEN OUTPUT.
PERFORM GETDATA.
IF P_MATNR IS NOT INITIAL.
UOM = T_MEINS.
ENDIF.

IF SY-SUBRC = 0.
* To write the data
LOOP AT ITAB1.
IF ITAB1-MRPVAL IS INITIAL.
MESSAGE E004(ZKK).
ELSE.
MOVE ITAB1-MRPVAL TO C_KBETR.
ENDIF.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 03:25:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/2855594#M669330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-08T03:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/2855595#M669331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ashish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am using the AT seleciton-screen output to display base unit of measure once the user enters the MATNR.If I comment that I will not be getting UoM in the selection-screen as text.&lt;/P&gt;&lt;P&gt;Moreover if I comment at selection-screen output,it is giving the error message in the status bar but without the selection screen.&lt;/P&gt;&lt;P&gt;I want the error message to  be displayed in the status bar but with the selection-screen.Kindly let me know.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 03:30:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/2855595#M669331</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2007-10-08T03:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/2855596#M669332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Here you are getting UoM.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;PERFORM GETDATA.&lt;/P&gt;&lt;P&gt;IF P_MATNR IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;UOM = T_MEINS.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Here add validation, i feel you are populating internal table with data ITAB1 in AT SELECTION SCREEN OUTPUT EVENT.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is blank, display error message "No data found for selection criteria.".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;To write the data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;LOOP AT ITAB1.&lt;/P&gt;&lt;P&gt;IF ITAB1-MRPVAL IS INITIAL.&lt;/P&gt;&lt;P&gt;MESSAGE E004(ZKK).&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;MOVE ITAB1-MRPVAL TO C_KBETR.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 03:34:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/2855596#M669332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-08T03:34:12Z</dc:date>
    </item>
  </channel>
</rss>

