<?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 Exit Example in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-exit-example/m-p/3960246#M946077</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go through this link.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you will find all the detailed format of the example for field exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://www.saptechnical.com/Tutorials/ExitsBADIs/MK01/FieldExit.htm" target="test_blank"&gt;http://www.saptechnical.com/Tutorials/ExitsBADIs/MK01/FieldExit.htm&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just try this. You will get it or else you please revert back if u had any queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward points if useful.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Swamy Kunche&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 01 Jun 2008 15:23:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-01T15:23:08Z</dc:date>
    <item>
      <title>Field Exit Example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-exit-example/m-p/3960245#M946076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends,&lt;/P&gt;&lt;P&gt;i Have gone through the eight steps for creating Field Exit.&lt;/P&gt;&lt;P&gt;Step 1: Determine Data Element&lt;/P&gt;&lt;P&gt;Step 2: Go To Field Exit Transaction&lt;/P&gt;&lt;P&gt;Step 3: Create Field Exit&lt;/P&gt;&lt;P&gt;Step 4: Create Function Module&lt;/P&gt;&lt;P&gt;Step 5: Code Function Module&lt;/P&gt;&lt;P&gt;Step 6: Activate Function Module&lt;/P&gt;&lt;P&gt;Step 7: Assign Program/Screen&lt;/P&gt;&lt;P&gt;Step 8: Activate Field Exit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could any one give me an example by taking a data element and showing the code as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx Essam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 May 2008 12:07:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-exit-example/m-p/3960245#M946076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-31T12:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Field Exit Example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-exit-example/m-p/3960246#M946077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go through this link.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you will find all the detailed format of the example for field exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://www.saptechnical.com/Tutorials/ExitsBADIs/MK01/FieldExit.htm" target="test_blank"&gt;http://www.saptechnical.com/Tutorials/ExitsBADIs/MK01/FieldExit.htm&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just try this. You will get it or else you please revert back if u had any queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward points if useful.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Swamy Kunche&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jun 2008 15:23:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-exit-example/m-p/3960246#M946077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-01T15:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Field Exit Example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-exit-example/m-p/3960247#M946078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Enter the tcode SE38&lt;/P&gt;&lt;P&gt;2.In the ABAP Editor enter the program name RSMODPRF&lt;/P&gt;&lt;P&gt;3.Execute&lt;/P&gt;&lt;P&gt;4.Then you will get a screen with Data Element and Number of Field Exit&lt;/P&gt;&lt;P&gt;Here enter the Data Element(for example MATNR for material no.) and &lt;/P&gt;&lt;P&gt;enter 0 to 9 or A to Z in the second field(I am taking 0 in my example) &lt;/P&gt;&lt;P&gt;5. Execute&lt;/P&gt;&lt;P&gt;6.Then you will be navigated to the Function Builder screen(se37) with FM name FIELD_EXIT_MATNR_0&lt;/P&gt;&lt;P&gt;The FM name contains the Data Element(MATNR) and No. of Field Exit (0) (in this case)&lt;/P&gt;&lt;P&gt;7.Then click on CREATE.&lt;/P&gt;&lt;P&gt;8.Give the Fun. Grp name and SAVE&lt;/P&gt;&lt;P&gt;9.It will take youn to the Source code wherein ypu have to write the code asb per your requirement&lt;/P&gt;&lt;P&gt;For Example:&lt;/P&gt;&lt;P&gt;FUNCTION FIELD_EXIT_MATNR.&lt;/P&gt;&lt;P&gt;IF INPUT BETWEEN 125 AND 150.&lt;/P&gt;&lt;P&gt;MESSAGE E000(ZMM) WITH "Material not allowed".&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;10.Then if you try to enter the values in MM01 for Material no.,this effect comes into picture&lt;/P&gt;&lt;P&gt;If you enter Material no between 125 and 150 you will get "Material not allowed".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more way to do this is goto tcode CMOD.&lt;/P&gt;&lt;P&gt;Enter PRFB in the command prompt and press ENTER &lt;/P&gt;&lt;P&gt;In the screen select the menu Field exit --&amp;gt; Create and follow the same procedure as above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****Reward points if found useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 05:07:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-exit-example/m-p/3960247#M946078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T05:07:58Z</dc:date>
    </item>
  </channel>
</rss>

