<?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 maodule pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/maodule-pool/m-p/2923309#M688497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;i have an uegent requirement, iam working on table controls.&lt;/P&gt;&lt;P&gt;i have the below requirement, please suggest me the code.&lt;/P&gt;&lt;P&gt;If the FIELD1 is x - then the FIELD3 field should be mandatory.  If the FIELD1 is Y&lt;/P&gt;&lt;P&gt; - then the FIELD4 field should be mandatory.  &lt;/P&gt;&lt;P&gt;DO NOT ALLOW THE USER TO FILL IN BOTH FIELD 3 AND FIELD4 - only one or the other, &lt;/P&gt;&lt;P&gt;based on the FIELD1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;bye,&lt;/P&gt;&lt;P&gt;kirthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Oct 2007 13:33:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-11T13:33:31Z</dc:date>
    <item>
      <title>maodule pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/maodule-pool/m-p/2923309#M688497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;i have an uegent requirement, iam working on table controls.&lt;/P&gt;&lt;P&gt;i have the below requirement, please suggest me the code.&lt;/P&gt;&lt;P&gt;If the FIELD1 is x - then the FIELD3 field should be mandatory.  If the FIELD1 is Y&lt;/P&gt;&lt;P&gt; - then the FIELD4 field should be mandatory.  &lt;/P&gt;&lt;P&gt;DO NOT ALLOW THE USER TO FILL IN BOTH FIELD 3 AND FIELD4 - only one or the other, &lt;/P&gt;&lt;P&gt;based on the FIELD1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;bye,&lt;/P&gt;&lt;P&gt;kirthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 13:33:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/maodule-pool/m-p/2923309#M688497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T13:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: maodule pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/maodule-pool/m-p/2923310#M688498</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 the PAI of that screen, write the below logic,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have LOOP AT ITAB and ENDLOOP in the PAI, there write a Moduel, in that one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF FIELD1 = 'X'.
  IF FIELD3 is initial.
    Give a Success message.
     EXIT.  " This is Mandatory
 Endif.
ELSEIF Field1  = 'Y' .
  IF FIELD4 is initial.
    Give a Success message.
     EXIT.  " This is Mandatory
 Endif.
ENDIF.

IF NOT FIELD3 is initial AND
    NOT FIELD4 is initial.
 Give the Success mesage
 EXIT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 13:40:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/maodule-pool/m-p/2923310#M688498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T13:40:37Z</dc:date>
    </item>
  </channel>
</rss>

