<?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 Dynamically making a field mandatory in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-making-a-field-mandatory/m-p/2567084#M585791</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;I want to make a field mandatory in runtime based on inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;if s_option1 has a value 10 then s_oprion2 should become a obligatory field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How's it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pages: 1 	&lt;/P&gt;&lt;P&gt;Back to Thread List&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jul 2007 11:19:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-31T11:19:44Z</dc:date>
    <item>
      <title>Dynamically making a field mandatory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-making-a-field-mandatory/m-p/2567084#M585791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;I want to make a field mandatory in runtime based on inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;if s_option1 has a value 10 then s_oprion2 should become a obligatory field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How's it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pages: 1 	&lt;/P&gt;&lt;P&gt;Back to Thread List&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 11:19:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-making-a-field-mandatory/m-p/2567084#M585791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-31T11:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically making a field mandatory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-making-a-field-mandatory/m-p/2567085#M585792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Have you checked the property of SCREEN-REQUIRED = 'X'&lt;/P&gt;&lt;P&gt;in the loop at screen.&lt;/P&gt;&lt;P&gt;if rad1 = 'X'.&lt;/P&gt;&lt;P&gt;  loop at screen.&lt;/P&gt;&lt;P&gt;     if screen-name = &amp;lt;field name&amp;gt;.&lt;/P&gt;&lt;P&gt;       screen-required = 'X'.&lt;/P&gt;&lt;P&gt;       modify screen.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;check this and see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 11:31:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-making-a-field-mandatory/m-p/2567085#M585792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-31T11:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically making a field mandatory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-making-a-field-mandatory/m-p/2567086#M585793</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;Try this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------" /&gt;&lt;P&gt;TABLES ltak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : s_tanum FOR ltak-tanum .&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : s_lgnum FOR ltak-lgnum MODIF ID cda.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK blk1.&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;    IF screen-group1 = 'CDA'.&lt;/P&gt;&lt;P&gt;      READ TABLE s_tanum WITH KEY low = '10'.&lt;/P&gt;&lt;P&gt;      IF sy-subrc  = 0.&lt;/P&gt;&lt;P&gt;        screen-required = '1'.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ENDIF.&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;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your query is resolved kindly close the thread and award points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Shafiq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 11:50:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-making-a-field-mandatory/m-p/2567086#M585793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-31T11:50:27Z</dc:date>
    </item>
  </channel>
</rss>

