<?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 event table maintenance in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-event-table-maintenance/m-p/10746556#M1875460</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joseph,&lt;/P&gt;&lt;P&gt;Check this doc, maybe help you.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2082425f-416b-2d10-25a3-85b8b6c5302c?QuickLink=index&amp;amp;overridelayout=true&amp;amp;48558900346775"&gt;http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2082425f-416b-2d10-25a3-85b8b6c5302c?QuickLink=index&amp;amp;overridelayout=true&amp;amp;48558900346775&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Nov 2014 00:18:55 GMT</pubDate>
    <dc:creator>fcorodriguezl</dc:creator>
    <dc:date>2014-11-27T00:18:55Z</dc:date>
    <item>
      <title>Error message in event table maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-event-table-maintenance/m-p/10746555#M1875459</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;I have a specific table for which I want to have mandatory fields filled in by my users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table have the following fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maintenance plant (data element IWERK)&lt;/P&gt;&lt;P&gt;Article (MATNR)&lt;/P&gt;&lt;P&gt;Plant (WERKS_D)&lt;/P&gt;&lt;P&gt;Stor loc (LGORT_D)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maintenance plant and article are the table keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction SM30 is used to fill in the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put the following code for event 05 (new_entry).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;EM&gt;form &lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;new_entry&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;SPAN class="L0S52"&gt;if &lt;/SPAN&gt;zcs_div_mag_art&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;division &lt;SPAN class="L0S52"&gt;is &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;initial&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;message &lt;/SPAN&gt;e900&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;sv&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;with &lt;/SPAN&gt;zcs_div_mag_art&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;article&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;SPAN class="L0S52"&gt;endif&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;SPAN class="L0S52"&gt;if &lt;/SPAN&gt;zcs_div_mag_art&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;magasin &lt;SPAN class="L0S52"&gt;is &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;initial&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;message &lt;/SPAN&gt;e901&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;sv&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;with &lt;/SPAN&gt;zcs_div_mag_art&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;article&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;SPAN class="L0S52"&gt;endif&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;SPAN class="L0S52"&gt;endform&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN class="L0S55"&gt;&lt;EM&gt;. &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When filling the data I got the right error message, but the fields plant and storage location are grey so that I can't fill in and correct the entry.&lt;/P&gt;&lt;P&gt;I tried also to use the event 01 when saving but the issue is the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/595014" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with message type w, but a warning is not enough as the user can pass it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&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;Olivier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 16:31:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-event-table-maintenance/m-p/10746555#M1875459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-26T16:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in event table maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-event-table-maintenance/m-p/10746556#M1875460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joseph,&lt;/P&gt;&lt;P&gt;Check this doc, maybe help you.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2082425f-416b-2d10-25a3-85b8b6c5302c?QuickLink=index&amp;amp;overridelayout=true&amp;amp;48558900346775"&gt;http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2082425f-416b-2d10-25a3-85b8b6c5302c?QuickLink=index&amp;amp;overridelayout=true&amp;amp;48558900346775&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 00:18:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-event-table-maintenance/m-p/10746556#M1875460</guid>
      <dc:creator>fcorodriguezl</dc:creator>
      <dc:date>2014-11-27T00:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in event table maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-event-table-maintenance/m-p/10746557#M1875461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Josheph, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try using below message type :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;MESSAGE ID 'SV' TYPE 'S' NUMBER 900 DISPLAY LIKE 'E'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;MESSAGE ID lc_msv TYPE 'E'&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; number 900&amp;nbsp;&amp;nbsp;&amp;nbsp; DISPLAY LIKE 'S'.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Hope this helps.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Thanks&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 01:38:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-event-table-maintenance/m-p/10746557#M1875461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-27T01:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in event table maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-event-table-maintenance/m-p/10746558#M1875462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the flow logic of your screen PAI event try to put the chan-endchain. Do the checks inside the module. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Something like this - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;chain.&lt;BR /&gt;&amp;nbsp; field sflight-carrid.&lt;BR /&gt;&amp;nbsp; field sflight-connid.&lt;BR /&gt;&amp;nbsp; field sflight-fldate.&lt;BR /&gt;&amp;nbsp; module check_flight.&lt;BR /&gt;endchain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here any errors in module check_flight will ensure that after error is displayed all the three fields are still enabled. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 03:41:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-event-table-maintenance/m-p/10746558#M1875462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-27T03:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in event table maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-event-table-maintenance/m-p/10746559#M1875463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please display the message as:&lt;/P&gt;&lt;P&gt;MESSAGE &lt;STRONG&gt;s&lt;/STRONG&gt;&lt;EM style="font-size: 12px; color: #333333; background: #ffffff;"&gt;900&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;(&lt;/SPAN&gt;sv&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;WITH &lt;/SPAN&gt;zcs_div_mag_art&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;article &lt;STRONG&gt;DISPLAY LIKE 'E'&lt;/STRONG&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the system encounters sy-msgty as 'E', it stops further processing of the program, not allowing us to modify existing screen. However, in order to ensure that after giving sy-msgty as 'S', our field is not left empty by the end-user, we can do so by programming as you have done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 04:37:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-event-table-maintenance/m-p/10746559#M1875463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-27T04:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in event table maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-event-table-maintenance/m-p/10746560#M1875464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joseph,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't write Event code for this functionlity. You can directly make any field mandatory by screen painter . Just go to Screen painter of this TMG screen and make it mandatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 04:42:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-event-table-maintenance/m-p/10746560#M1875464</guid>
      <dc:creator>former_member210770</dc:creator>
      <dc:date>2014-11-27T04:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in event table maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-event-table-maintenance/m-p/10746561#M1875465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Fransisco&lt;/P&gt;&lt;P&gt;That's a very usefull doc.&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;Olivier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 16:38:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-event-table-maintenance/m-p/10746561#M1875465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-27T16:38:53Z</dc:date>
    </item>
  </channel>
</rss>

