<?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 Control Mandatory fields on custom screen in Module pool program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-mandatory-fields-on-custom-screen-in-module-pool-program/m-p/8340383#M1638993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I have developed a custom screen on which I have a table control with 5 fields. I wanted to make the first three fields mandatory. So instead of selecting the entry as "required" from the screen attributes for these input fields, I have looped at table screen in PBO and based on the screen name and screen group I have set the field screen-required = 1. By doing this, I could make these 3 fields mandatory.&lt;/P&gt;&lt;P&gt;Now, when I enter the data for the first line and press enter, it is asking me to fill the required fields in the second line and so on.How can I avoid this without having to remove the mandatory symbol in the subsequent lines? &lt;/P&gt;&lt;P&gt;There is an altenative way of achieving this by not making the fields mandatory on the screen but while saving we can check if the value is entered and raise a message. In this scenario the user would not know that they are obligatory fields until he hits save button.&lt;/P&gt;&lt;P&gt;For example, in standard transaction VK12, if we select condition type K005 and go to the maintenance, we see that material is obligatory.&lt;/P&gt;&lt;P&gt;After entering material in first line and when I hit enter, it does not ask me enter the material in the second and subsequent lines even though it is a mandatory field.&lt;/P&gt;&lt;P&gt;I want to achive this functionality in my custom screen also.&lt;/P&gt;&lt;P&gt;Can anyone let me know how to handle this?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2011 19:17:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-11-15T19:17:24Z</dc:date>
    <item>
      <title>Control Mandatory fields on custom screen in Module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-mandatory-fields-on-custom-screen-in-module-pool-program/m-p/8340383#M1638993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I have developed a custom screen on which I have a table control with 5 fields. I wanted to make the first three fields mandatory. So instead of selecting the entry as "required" from the screen attributes for these input fields, I have looped at table screen in PBO and based on the screen name and screen group I have set the field screen-required = 1. By doing this, I could make these 3 fields mandatory.&lt;/P&gt;&lt;P&gt;Now, when I enter the data for the first line and press enter, it is asking me to fill the required fields in the second line and so on.How can I avoid this without having to remove the mandatory symbol in the subsequent lines? &lt;/P&gt;&lt;P&gt;There is an altenative way of achieving this by not making the fields mandatory on the screen but while saving we can check if the value is entered and raise a message. In this scenario the user would not know that they are obligatory fields until he hits save button.&lt;/P&gt;&lt;P&gt;For example, in standard transaction VK12, if we select condition type K005 and go to the maintenance, we see that material is obligatory.&lt;/P&gt;&lt;P&gt;After entering material in first line and when I hit enter, it does not ask me enter the material in the second and subsequent lines even though it is a mandatory field.&lt;/P&gt;&lt;P&gt;I want to achive this functionality in my custom screen also.&lt;/P&gt;&lt;P&gt;Can anyone let me know how to handle this?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 19:17:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-mandatory-fields-on-custom-screen-in-module-pool-program/m-p/8340383#M1638993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-15T19:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Control Mandatory fields on custom screen in Module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-mandatory-fields-on-custom-screen-in-module-pool-program/m-p/8340384#M1638994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have developed a custom screen on which I have a table control with 5 fields. I wanted to make the first three fields mandatory. So instead of selecting the entry as "required" from the screen attributes for these input fields, I have looped at table screen in PBO and based on the screen name and screen group I have set the field screen-required = 1&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Why didn't you set these fields as required on the attributes? That has to be the easiest way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 19:38:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-mandatory-fields-on-custom-screen-in-module-pool-program/m-p/8340384#M1638994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-15T19:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Control Mandatory fields on custom screen in Module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-mandatory-fields-on-custom-screen-in-module-pool-program/m-p/8340385#M1638995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rob,&lt;/P&gt;&lt;P&gt;I can set these fields mandatory in the attributes as well which will avoid looping at table SCREEN in PBO. Since I was looking at standard program behind VK12, I just followed it. There is absolutely no other reason behind it.&lt;/P&gt;&lt;P&gt;Any ideas how to achieve the functionality posted in my earlier question (similar to VK12)?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 20:21:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-mandatory-fields-on-custom-screen-in-module-pool-program/m-p/8340385#M1638995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-15T20:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Control Mandatory fields on custom screen in Module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-mandatory-fields-on-custom-screen-in-module-pool-program/m-p/8340386#M1638996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check if other two fields get/set parameters are not checked in their attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reetesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 20:36:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-mandatory-fields-on-custom-screen-in-module-pool-program/m-p/8340386#M1638996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-15T20:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Control Mandatory fields on custom screen in Module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-mandatory-fields-on-custom-screen-in-module-pool-program/m-p/8340387#M1638997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sandeep, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Change the screen attributes for those fields from Input required to Input recommended ( Field attributes -&amp;gt; Program -&amp;gt; Input dropdown). This way the Mandatory symbol is shown even though the fields will not be mandatory( system will not check for entry ) but you have to check the Mandatory through code. Hope this is the functionality you are looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 20:46:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-mandatory-fields-on-custom-screen-in-module-pool-program/m-p/8340387#M1638997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-15T20:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Control Mandatory fields on custom screen in Module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-mandatory-fields-on-custom-screen-in-module-pool-program/m-p/8340388#M1638998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition to checking the screen group, you also have to check whether the screen field is pupulated, If not then don't set the attribute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I don't see any real benefit to doing this. do it in the screen layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 21:00:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-mandatory-fields-on-custom-screen-in-module-pool-program/m-p/8340388#M1638998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-15T21:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Control Mandatory fields on custom screen in Module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-mandatory-fields-on-custom-screen-in-module-pool-program/m-p/8340389#M1638999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suman,&lt;/P&gt;&lt;P&gt;Thanks very much. This is what I was looking for. Awarding full points &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 23:08:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-mandatory-fields-on-custom-screen-in-module-pool-program/m-p/8340389#M1638999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-15T23:08:08Z</dc:date>
    </item>
  </channel>
</rss>

