<?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: Module Pool issue during create custom infotype in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue-during-create-custom-infotype/m-p/6955593#M1489274</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, I am using the field with Search-help, the field is not a drop-down list-box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: DEBOJIT SAHA on Jun 15, 2010 11:09 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jun 2010 05:38:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-15T05:38:48Z</dc:date>
    <item>
      <title>Module Pool issue during create custom infotype</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue-during-create-custom-infotype/m-p/6955591#M1489272</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;I am designing one module pool for developing a Custom Infotype. Here I want to do a dynamic field selection:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose there three 3 fields in the screen: A,B and C. Also, Field A have can two value, like 'X' and 'Y'.&lt;/P&gt;&lt;P&gt;But the Field A has a Search-Help and user can select the values from the match-code. After that, is there any possibility to trigger a user-command , so that I can control the screen based on the selected value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already solved this requirement for Field A having Drop-Down list, instead of having Search Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement for control the screen like below -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If user select Value 'X' for field A, then field B and C will be visible in the Screen. Else, user select value 'Y' for field A, then field B will be visible - But, field C will be invisible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me out by solving this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debojit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jun 2010 13:52:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue-during-create-custom-infotype/m-p/6955591#M1489272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-14T13:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool issue during create custom infotype</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue-during-create-custom-infotype/m-p/6955592#M1489273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry I don't have a spot to test this, but if memory serves me right, you can put a value in the FctCode for the "A" drop down field.  The FCT value will be returned in the OK_CODE (if that's what you named it) .  There would be no action within the PAI routine, however, since the FCT is there, it will force it to then return through the PBO routine where you can then make your determinations on field "A" to then make the "B" and "C" field visible in the LOOP SCREEN logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should happen because there is an FCT Code value and it wouldn't require the user to hit Enter or any other "action" key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jun 2010 16:42:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue-during-create-custom-infotype/m-p/6955592#M1489273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-14T16:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool issue during create custom infotype</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue-during-create-custom-infotype/m-p/6955593#M1489274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, I am using the field with Search-help, the field is not a drop-down list-box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: DEBOJIT SAHA on Jun 15, 2010 11:09 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 05:38:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue-during-create-custom-infotype/m-p/6955593#M1489274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-15T05:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool issue during create custom infotype</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue-during-create-custom-infotype/m-p/6955594#M1489275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for ur problem first define a variable and give it value 'x' and 'y'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start a loop on selection screen and put if condition inside the loop .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;loop at screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if screen-name = 'ur field name'
   screen-invisible = 0.
  modify screen .

endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;

endloop&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0= visible &lt;/P&gt;&lt;P&gt;1= invisible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 09:35:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue-during-create-custom-infotype/m-p/6955594#M1489275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-15T09:35:53Z</dc:date>
    </item>
  </channel>
</rss>

