<?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: Mandatory Field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-field/m-p/2686202#M621238</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Supriya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please also try field Exit as an alternative solution since you need only a mandatory field check.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create a field Exit &lt;/P&gt;&lt;P&gt;1)For field exits in R/3 4.6C, execute transaction CMOD. Then type PRFB in the command field. &lt;/P&gt;&lt;P&gt;2)on the top menu...click on Field exit-&amp;gt; create -&amp;gt;enter the name of data element&lt;/P&gt;&lt;P&gt;3)enter the data element required for screen field to be mandatory and Execute&lt;/P&gt;&lt;P&gt;4)another screen comes with a function module name FIELD_EXIT_name of data element&lt;/P&gt;&lt;P&gt;5)Click create and save it to corresponding function group&lt;/P&gt;&lt;P&gt;6)you will get a function module with &lt;/P&gt;&lt;P&gt;import parameter as : INPUT&lt;/P&gt;&lt;P&gt;export parameter as : OUTPUT&lt;/P&gt;&lt;P&gt;7) in the source code write the code :&lt;/P&gt;&lt;P&gt;if input is initial.&lt;/P&gt;&lt;P&gt;message 'SALES FIELD MADATORY' type 'E'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;8)again to activate execute transaction CMOD. Then type PRFB in the command field. on the top menu...click on Field exit-&amp;gt;Activate&lt;/P&gt;&lt;P&gt;now wherever data element is used the mandatory check will come but you need it only for your program ,so in the same screen click on Assign prog./screen tab and write the name of the program and screen number where you want the particular check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe field exit are not possible if structure field is on the screen...please do the above and check..you can also run the report RSMODPRF to create a field exit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the suggestions proved useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if it was of any help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Aug 2007 10:02:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-22T10:02:25Z</dc:date>
    <item>
      <title>Mandatory Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-field/m-p/2686200#M621236</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;Is it possible to make a field Mandatory in the standard transaction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its urgent.Please Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Supriya Manik.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 09:33:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-field/m-p/2686200#M621236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T09:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Mandatory Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-field/m-p/2686201#M621237</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;Use transaction SHD0 to create a Transaction variant for the standad transaction, for the field that you want to make mandatory select the checkbox "Required" in the process of creating Transaction variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in SE93 create a Variant transaction using this Transaction Variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And use this new transaction instead of the standard transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 09:39:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-field/m-p/2686201#M621237</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-08-22T09:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Mandatory Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-field/m-p/2686202#M621238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Supriya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please also try field Exit as an alternative solution since you need only a mandatory field check.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create a field Exit &lt;/P&gt;&lt;P&gt;1)For field exits in R/3 4.6C, execute transaction CMOD. Then type PRFB in the command field. &lt;/P&gt;&lt;P&gt;2)on the top menu...click on Field exit-&amp;gt; create -&amp;gt;enter the name of data element&lt;/P&gt;&lt;P&gt;3)enter the data element required for screen field to be mandatory and Execute&lt;/P&gt;&lt;P&gt;4)another screen comes with a function module name FIELD_EXIT_name of data element&lt;/P&gt;&lt;P&gt;5)Click create and save it to corresponding function group&lt;/P&gt;&lt;P&gt;6)you will get a function module with &lt;/P&gt;&lt;P&gt;import parameter as : INPUT&lt;/P&gt;&lt;P&gt;export parameter as : OUTPUT&lt;/P&gt;&lt;P&gt;7) in the source code write the code :&lt;/P&gt;&lt;P&gt;if input is initial.&lt;/P&gt;&lt;P&gt;message 'SALES FIELD MADATORY' type 'E'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;8)again to activate execute transaction CMOD. Then type PRFB in the command field. on the top menu...click on Field exit-&amp;gt;Activate&lt;/P&gt;&lt;P&gt;now wherever data element is used the mandatory check will come but you need it only for your program ,so in the same screen click on Assign prog./screen tab and write the name of the program and screen number where you want the particular check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe field exit are not possible if structure field is on the screen...please do the above and check..you can also run the report RSMODPRF to create a field exit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the suggestions proved useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if it was of any help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 10:02:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-field/m-p/2686202#M621238</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T10:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Mandatory Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-field/m-p/2686203#M621239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for all the help.Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 11:34:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-field/m-p/2686203#M621239</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T11:34:43Z</dc:date>
    </item>
  </channel>
</rss>

