<?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: LDB selection screen field mandatory in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ldb-selection-screen-field-mandatory/m-p/3477692#M835988</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;Since it is a standard PNP field.. you cannot make it mandatory... The only thing you can do is to put a check in AT Selection-Screen event and display an error message if the user has not populated the field.&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;Do not use the Date fields of the PNP LDB.. instead create your own custom fields and in the Start of Selection event... Before GET statement pass the dates from custom screen fields to PNPBEGDA and PNPENDDA. This will work the same way as the PNP LDB uses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;P&gt;Lokesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Feb 2008 11:38:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-29T11:38:18Z</dc:date>
    <item>
      <title>LDB selection screen field mandatory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ldb-selection-screen-field-mandatory/m-p/3477690#M835986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;In LDB selection screen i want to make other period field as mandatory.&lt;/P&gt;&lt;P&gt;how to do it? if anyone knows please help me.&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;Suchithra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 11:29:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ldb-selection-screen-field-mandatory/m-p/3477690#M835986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-29T11:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: LDB selection screen field mandatory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ldb-selection-screen-field-mandatory/m-p/3477691#M835987</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;You can make this in the at selection screen output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR (try this)&lt;/P&gt;&lt;P&gt;Once you define the LDB name in the attribute section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on the HR report category --&amp;gt; A pop up will be displayed --&amp;gt; Report category --&amp;gt; A screen will be displayed --&amp;gt; On right side &lt;DEL&gt;&amp;gt; double click on Allowable selection criteria&lt;/DEL&gt;&amp;gt; Choose the fieldname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 11:36:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ldb-selection-screen-field-mandatory/m-p/3477691#M835987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-29T11:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: LDB selection screen field mandatory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ldb-selection-screen-field-mandatory/m-p/3477692#M835988</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;Since it is a standard PNP field.. you cannot make it mandatory... The only thing you can do is to put a check in AT Selection-Screen event and display an error message if the user has not populated the field.&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;Do not use the Date fields of the PNP LDB.. instead create your own custom fields and in the Start of Selection event... Before GET statement pass the dates from custom screen fields to PNPBEGDA and PNPENDDA. This will work the same way as the PNP LDB uses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;P&gt;Lokesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 11:38:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ldb-selection-screen-field-mandatory/m-p/3477692#M835988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-29T11:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: LDB selection screen field mandatory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ldb-selection-screen-field-mandatory/m-p/3477693#M835989</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;You can use following code to (AT SELECTION-SCREEN OUTPUT) in the LDB to make selection screen parameter mandatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if screen-name = 'PNPBEGDA'.    "Give here the screen field name that you want make as manadatory&lt;/P&gt;&lt;P&gt;                                                    " to get the screen field name, press 'F1' on that field and get technical   &lt;/P&gt;&lt;P&gt;                                                    "information&lt;/P&gt;&lt;P&gt;    screen-required = 1.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Shrinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 13:19:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ldb-selection-screen-field-mandatory/m-p/3477693#M835989</guid>
      <dc:creator>former_member31961</dc:creator>
      <dc:date>2008-02-29T13:19:15Z</dc:date>
    </item>
  </channel>
</rss>

