<?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: Plz help for mandatory fields. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/plz-help-for-mandatory-fields/m-p/6670200#M1447772</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;It doesn't mean that we cannot use the required functionality practically. It all depends on the requirement and the ease to fulfill our requirement. According to your requirement here doing as mentioned will be easy. It doesn't mean that you have to write code even when there is only one field on the screen and you need to check the mandatory functionality. At that time you have to use the SAP provided required functionality.&lt;/P&gt;&lt;P&gt;Hope you understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Feb 2010 07:23:19 GMT</pubDate>
    <dc:creator>sridhar_meesala</dc:creator>
    <dc:date>2010-02-23T07:23:19Z</dc:date>
    <item>
      <title>Plz help for mandatory fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/plz-help-for-mandatory-fields/m-p/6670197#M1447769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear expert ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just achieved a functionality in one my sap module pools  as follows:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vendor            &amp;lt;textbox&amp;gt;        &amp;lt;mandatory&amp;gt;       &amp;lt;textboxA&amp;gt;&lt;/P&gt;&lt;P&gt;Material            &amp;lt;textbox&amp;gt;        &amp;lt;mandatory&amp;gt;       &amp;lt;textboxB&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further i have made sure that entry is made by making &amp;lt;textbox&amp;gt;  'required'.&lt;/P&gt;&lt;P&gt;Also i have kept two way entry ie either by F4 list or by manually&lt;/P&gt;&lt;P&gt;typing vendor or material on their textboxes.&lt;/P&gt;&lt;P&gt;In case user takes path of F4 then he gets exact description of that vendor &lt;/P&gt;&lt;P&gt;in textboxA.Same case is for material also for textboxB.&lt;/P&gt;&lt;P&gt;Incase user types vendor or material and press enter same thing happens too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now how i get stuck is in manual entry part ie moment i type vebdor code &lt;/P&gt;&lt;P&gt;and press enter,instead displaying the vebdor description in textboxA,it says&lt;/P&gt;&lt;P&gt;material entry is mandatory &lt;/P&gt;&lt;P&gt;I want that first it  display vendor name instead and then do anything further.&lt;/P&gt;&lt;P&gt;If i remove 'required' , things work but i want to make them mandatory without&lt;/P&gt;&lt;P&gt;checking on validations module in PAI and actually exploit natural sap functionality.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 05:19:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/plz-help-for-mandatory-fields/m-p/6670197#M1447769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-23T05:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Plz help for mandatory fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/plz-help-for-mandatory-fields/m-p/6670198#M1447770</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;&lt;STRONG&gt;Please use proper Subject&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Handle the mandatory functionality manually with a code in PAI, and try to do the populating of &amp;lt;textboxA&amp;gt; in PBO so that first the field gets populated and then the mandatory chek happens.&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 05:38:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/plz-help-for-mandatory-fields/m-p/6670198#M1447770</guid>
      <dc:creator>sridhar_meesala</dc:creator>
      <dc:date>2010-02-23T05:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Plz help for mandatory fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/plz-help-for-mandatory-fields/m-p/6670199#M1447771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does this means practically sap 'required' clause is given just for funas it cannot be used practically ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 05:41:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/plz-help-for-mandatory-fields/m-p/6670199#M1447771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-23T05:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Plz help for mandatory fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/plz-help-for-mandatory-fields/m-p/6670200#M1447772</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;It doesn't mean that we cannot use the required functionality practically. It all depends on the requirement and the ease to fulfill our requirement. According to your requirement here doing as mentioned will be easy. It doesn't mean that you have to write code even when there is only one field on the screen and you need to check the mandatory functionality. At that time you have to use the SAP provided required functionality.&lt;/P&gt;&lt;P&gt;Hope you understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 07:23:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/plz-help-for-mandatory-fields/m-p/6670200#M1447772</guid>
      <dc:creator>sridhar_meesala</dc:creator>
      <dc:date>2010-02-23T07:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Plz help for mandatory fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/plz-help-for-mandatory-fields/m-p/6670201#M1447773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whatever you have stated in your requirement needs to be realized manually. I guess you are expecting a behavior like on pressing of Tab, automatic validation of field should happen and then the description will be  populated automatically. But, this windows like automatic validation doesn't happen here. The ABAP    server or the NetWeaver    Web AS sever cannot repsond to so many events like the Windows. So, it can't implement the normal windows feature like On Mouse Roll, Pressing of Tabs, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, you can check each of the fields in the PAI block. And then based on that you can flag a message or can validate further. You can also populate the fields based on the business logic in the PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at the following demo code:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DEMO_DYNPRO_AUTOMATIC_CHECKS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Samantak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 12:23:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/plz-help-for-mandatory-fields/m-p/6670201#M1447773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-23T12:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Plz help for mandatory fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/plz-help-for-mandatory-fields/m-p/6670202#M1447774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;It doesn't mean that we cannot use the required functionality practically. It all depends on the requirement and the ease to fulfill our requirement. According to your requirement here doing as mentioned will be easy. It doesn't mean that you have to write code even when there is only one field on the screen and you need to check the mandatory functionality. At that time you have to use the SAP provided required functionality.&lt;/P&gt;&lt;P&gt;&amp;gt;Hope you understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;gt;Sri.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i try to exit by giving madatory it says me to fill that field only then it exits.&lt;/P&gt;&lt;P&gt;Next step if i give in PAI exit-command code ,yes it works but only for normal screen and not for subscreen.&lt;/P&gt;&lt;P&gt;You cannot use any special screen functions in subscreens.Too many barriers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For next response i just wish to say atleast in SAP 4.7 abap i have made this possible for automatic&lt;/P&gt;&lt;P&gt;display of description.No issue till here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Feb 25, 2010 3:12 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 16:41:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/plz-help-for-mandatory-fields/m-p/6670202#M1447774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-23T16:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Plz help for mandatory fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/plz-help-for-mandatory-fields/m-p/6670203#M1447775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have added 'REQUIRED' as the sap functionality for the material no...   &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remove the obligatory and the do the validation in PAI, its not possible to do as you say&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 19:49:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/plz-help-for-mandatory-fields/m-p/6670203#M1447775</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-02-25T19:49:50Z</dc:date>
    </item>
  </channel>
</rss>

