<?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: GET/SET Parameters not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-set-parameters-not-working/m-p/8596143#M1661981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Declare variable I_sub and L_sub in top include and try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Apr 2012 10:06:04 GMT</pubDate>
    <dc:creator>former_member16553</dc:creator>
    <dc:date>2012-04-03T10:06:04Z</dc:date>
    <item>
      <title>GET/SET Parameters not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-set-parameters-not-working/m-p/8596139#M1661977</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 a problem in setting and receiving parameter id's &lt;/P&gt;&lt;P&gt;What I want to do is SET a value in a module in&amp;nbsp; the PBO of a screen then get the value to be used in a search help function &lt;/P&gt;&lt;P&gt;What I'm getting is a return code 4 when trying to do the GET&lt;/P&gt;&lt;P&gt;The code I'm using is &lt;/P&gt;&lt;P&gt;**** set parameter in the screen module &lt;/P&gt;&lt;P&gt;MODULE ZSETPARMS&amp;nbsp; OUTPUT..&lt;BR /&gt;data l_SUB type subty.&lt;BR /&gt; move P0102-SUBTY to l_sub.&lt;/P&gt;&lt;P&gt; SET PARAMETER ID 'ZSUB' Field l_sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****The get statement in the search help &lt;/P&gt;&lt;P&gt;&amp;nbsp; IF CALLCONTROL-STEP = 'PRESEL1'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; data l_sub&amp;nbsp;&amp;nbsp;&amp;nbsp; type subty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; data l_selopt type DDSHSELOPT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; get parameter id 'ZSUB' field L_SUB..&lt;/P&gt;&lt;P&gt;The &amp;lt;pid&amp;gt; is registered in TPARA &lt;/P&gt;&lt;P&gt;Could anyone tell me where I'm going wrong &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 09:08:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-set-parameters-not-working/m-p/8596139#M1661977</guid>
      <dc:creator>former_member271795</dc:creator>
      <dc:date>2012-04-03T09:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: GET/SET Parameters not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-set-parameters-not-working/m-p/8596140#M1661978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is your parameter created in table TPARA?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manu.&lt;/P&gt;&lt;P&gt; added: It seems it is, I didn't read your post completely...;) I cannot see anything wrong with your syntax, another alternative would be to use an export/import statement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Manu D'Haeyer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 09:46:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-set-parameters-not-working/m-p/8596140#M1661978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-03T09:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: GET/SET Parameters not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-set-parameters-not-working/m-p/8596141#M1661979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;The parameter id is created in TPARA &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 09:50:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-set-parameters-not-working/m-p/8596141#M1661979</guid>
      <dc:creator>former_member271795</dc:creator>
      <dc:date>2012-04-03T09:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: GET/SET Parameters not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-set-parameters-not-working/m-p/8596142#M1661980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear goeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check wether the filed Declared Globally or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;siva rama krishna mohan G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 10:02:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-set-parameters-not-working/m-p/8596142#M1661980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-03T10:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: GET/SET Parameters not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-set-parameters-not-working/m-p/8596143#M1661981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Declare variable I_sub and L_sub in top include and try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 10:06:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-set-parameters-not-working/m-p/8596143#M1661981</guid>
      <dc:creator>former_member16553</dc:creator>
      <dc:date>2012-04-03T10:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: GET/SET Parameters not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-set-parameters-not-working/m-p/8596144#M1661982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Geoff,&lt;/P&gt;&lt;P&gt;If i understand the requirement correctly, you want to populate you F4 help values based on some other input in the screen.&lt;/P&gt;&lt;P&gt;When the user inputs the value &amp;amp; presses the F4 help the POV module is triggered &amp;amp; not the PBO, hence the GPA is returning SY-SUBRC = 4!&lt;/P&gt;&lt;P&gt;You need to use &lt;EM&gt;DYNP_VALUES_READ &lt;/EM&gt;to read the data from the screen. Refer to the demo program &lt;EM&gt;DEMO_DYNPRO_F4_HELP_MODULE&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;PS: After inputting the data in the screen, press 'Enter' &amp;amp; then check if the GPA statement works &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 10:09:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-set-parameters-not-working/m-p/8596144#M1661982</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2012-04-03T10:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: GET/SET Parameters not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-set-parameters-not-working/m-p/8596145#M1661983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Geoff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From where you are calling search help function?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If from PAI then it won't work&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;Try to set your parameter in &lt;STRONG&gt;PAI module&lt;/STRONG&gt; and then use that parameter ID in your search help function, you will definitely get ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used many time, even if you don't register your parameter ID in TPARA table then also you will get parameter ID data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to debug your code and check whether your Search help FM is being call after executing &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;SET PARAMETER ID 'ZSUB' Field l_sub&lt;/SPAN&gt; or not.. Try something like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajesh Sadula.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 11:33:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-set-parameters-not-working/m-p/8596145#M1661983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-16T11:33:18Z</dc:date>
    </item>
  </channel>
</rss>

