<?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: Field exits in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-exits/m-p/1669093#M295925</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check the value in the field SY-MSGV1 ? It seems to contain the original transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Nov 2006 17:18:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-20T17:18:36Z</dc:date>
    <item>
      <title>Field exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-exits/m-p/1669089#M295921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have created a field exit for data element(MATKL) and inside the field exit function module i have done a validation and raised an error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i m exectuing the transactions such as OMSF (SPRO-&amp;gt;Logistsis-&amp;gt;MasterData-&amp;gt;Define Material group) , the error message is triggering and the field exit is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have a requirement that this validation should neglect/not consider one particular transaction(eg: OMSF) and allow me to enter any value for MATKL field in that particular tranascation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to add my validation inside the field exit function module by checking sy-tcode...&lt;/P&gt;&lt;P&gt;i.e&lt;/P&gt;&lt;P&gt;***********************************************************&lt;/P&gt;&lt;P&gt;check not sy-tcode='OSMF'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if input = 'DC14'&lt;/P&gt;&lt;P&gt;message e004 with 'Obselete material group'&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end function.&lt;/P&gt;&lt;P&gt;*******************************************************&lt;/P&gt;&lt;P&gt;but in this case the sy-tcode value is being SM30 as i m validating inside the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case if i validate for sy-tcode for SM30 my requirement fails....&lt;/P&gt;&lt;P&gt;So in such cases i need a differentiator for recognising the transaction OSMF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to exclude this particular transaction while validating the field exit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2006 16:52:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-exits/m-p/1669089#M295921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-20T16:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Field exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-exits/m-p/1669090#M295922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what u do is create a t-code for the requirement instead of SM30 and use this t-code in ur validation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2006 16:54:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-exits/m-p/1669090#M295922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-20T16:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Field exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-exits/m-p/1669091#M295923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;the transaction OMSF is a standard transaction in SPRO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to exclude this transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2006 16:57:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-exits/m-p/1669091#M295923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-20T16:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Field exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-exits/m-p/1669092#M295924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when u enter OMSF the sy-ucomm holds this value...at this moment u might have to store this in some variable and use this variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2006 17:07:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-exits/m-p/1669092#M295924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-20T17:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Field exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-exits/m-p/1669093#M295925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check the value in the field SY-MSGV1 ? It seems to contain the original transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2006 17:18:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-exits/m-p/1669093#M295925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-20T17:18:36Z</dc:date>
    </item>
  </channel>
</rss>

