<?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: Dynamic filed entry in module pool program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-filed-entry-in-module-pool-program/m-p/4107834#M982327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bharathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write the Logic in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There should be one action event to perform the action . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so when user press enter sy-ucomm will be space . So that it wl execute the action in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when SPACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   call BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;removed_by_moderator&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Muneesh Gitta.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Julius Bussche on Aug 25, 2008 4:14 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jul 2008 09:37:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-23T09:37:19Z</dc:date>
    <item>
      <title>Dynamic filed entry in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-filed-entry-in-module-pool-program/m-p/4107825#M982318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 fields on my screen , when I enter the 1st one the sec one should be set dynamically with the corresponding entry value of  the first filed. I am using  module pool . I tried with select statement in PAI , but didnt work . Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bharathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 12:29:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-filed-entry-in-module-pool-program/m-p/4107825#M982318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T12:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic filed entry in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-filed-entry-in-module-pool-program/m-p/4107826#M982319</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;-the code should be in PBO, not in PAI&lt;/P&gt;&lt;P&gt;-you also have to press Enter, adding the value to the first field won't be enough&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 12:33:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-filed-entry-in-module-pool-program/m-p/4107826#M982319</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-06-25T12:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic filed entry in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-filed-entry-in-module-pool-program/m-p/4107827#M982320</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;       To handle the EVENT you should perform some event action,&lt;/P&gt;&lt;P&gt;in that scenario pressing ENTER key(any button...etc) is also an event. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when u press enter the sy-ucomm will be space, so that u can handle the logic with in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In user-command module write as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when SPACE.&lt;/P&gt;&lt;P&gt;--&amp;gt; P_FIELD2 = &amp;lt;your calculated value&amp;gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 12:43:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-filed-entry-in-module-pool-program/m-p/4107827#M982320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T12:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic filed entry in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-filed-entry-in-module-pool-program/m-p/4107828#M982321</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;As you know for an event to happen there is need of user interaction ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User interaction with the screen is done through FCT codes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there must be Some user interaction like pressing an ENTER key for an event to happen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PAI under case sy-ucomm write the code you require &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENTER KEY has FCT code /00 or '=ENTR' ( not sure but you can try)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;prasanth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: prasanth kasturi on Jun 25, 2008 3:35 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 13:00:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-filed-entry-in-module-pool-program/m-p/4107828#M982321</guid>
      <dc:creator>prasanth_kasturi</dc:creator>
      <dc:date>2008-06-25T13:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic filed entry in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-filed-entry-in-module-pool-program/m-p/4107829#M982322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this....&lt;/P&gt;&lt;P&gt;Here i am  taking example like in ur first field have states(AP,TN,KN......) when u click ap corresponding city wiil be display in second field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write ur logic in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loopat r_state.&lt;/P&gt;&lt;P&gt;cse r_state-fieldval.&lt;/P&gt;&lt;P&gt;when ' ap'.&lt;/P&gt;&lt;P&gt;append 'hyd' to t_city.&lt;/P&gt;&lt;P&gt;append ' ' to ....&lt;/P&gt;&lt;P&gt;...............&lt;/P&gt;&lt;P&gt;when 'tn'.&lt;/P&gt;&lt;P&gt;..............&lt;/P&gt;&lt;P&gt;...........&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use f4if_int_tbale_value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Krishna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 16:52:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-filed-entry-in-module-pool-program/m-p/4107829#M982322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T16:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic filed entry in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-filed-entry-in-module-pool-program/m-p/4107830#M982323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bharathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For my Sense, What u have made to block your code in PAI is right....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two suggestions for this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) aftering entering values in the first field have to press some button or ENTER for an action.. So that the Second field can be make populated based on that...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) If the First field CAN BE a set of repeated Values , you can maintain it as DROP DOWN - LIST, so that you have an action triggered for the item selected in the list. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;removed_by_moderator&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Julius Bussche on Jul 18, 2008 12:45 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 04:18:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-filed-entry-in-module-pool-program/m-p/4107830#M982323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T04:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic filed entry in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-filed-entry-in-module-pool-program/m-p/4107831#M982324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bharathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can achieve ur target even with the following process:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       If the fieldnames are f1 and f2. Now upto my understannding what you need is f2 values should change according to the values selected in the field f1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initially keep the second field f2 disable and make it enable only when the user selects a value for f1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the logic should be in the PBO module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP at SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if screen-field = f1 .&lt;/P&gt;&lt;P&gt;"Check whether the user has entered value in field f1 or not&lt;/P&gt;&lt;P&gt;" if yes make the field f2 enable&lt;/P&gt;&lt;P&gt;"else throw some error message&lt;/P&gt;&lt;P&gt;" now write the required logic or select query&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ENDSCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swarna Munukoti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2008 14:42:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-filed-entry-in-module-pool-program/m-p/4107831#M982324</guid>
      <dc:creator>former_member217544</dc:creator>
      <dc:date>2008-07-18T14:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic filed entry in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-filed-entry-in-module-pool-program/m-p/4107832#M982325</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;is there any way so that we can trigger the PAI of the screen...&lt;/P&gt;&lt;P&gt;by giving F4 help manually to the First Screen in the POV ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 12:30:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-filed-entry-in-module-pool-program/m-p/4107832#M982325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T12:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic filed entry in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-filed-entry-in-module-pool-program/m-p/4107833#M982326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If this is a program then it's easy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BEFORE the START OF SELECTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

at selection screen output
* check field entered
* update your 2nd screen field  directly.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to use a HELP like F4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

at selection-screen on value-request for  screen-field
* your help code
* update with call to (FM DYNP_VALUES_UPDATE updates screen fields WITHOUT a PBO).


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code these before the start-of-selection if running an ABAP..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are in a transaction / sequence of screens then use the ON VALUE REQUEST in the screen logic  to trigger your help code.&lt;/P&gt;&lt;P&gt;code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call to the same Function module will update the appropriate dynpro fields without a PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jimbo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 05:45:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-filed-entry-in-module-pool-program/m-p/4107833#M982326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T05:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic filed entry in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-filed-entry-in-module-pool-program/m-p/4107834#M982327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bharathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write the Logic in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There should be one action event to perform the action . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so when user press enter sy-ucomm will be space . So that it wl execute the action in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when SPACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   call BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;removed_by_moderator&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Muneesh Gitta.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Julius Bussche on Aug 25, 2008 4:14 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 09:37:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-filed-entry-in-module-pool-program/m-p/4107834#M982327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T09:37:19Z</dc:date>
    </item>
  </channel>
</rss>

