<?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 parameter id not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-parameter-id-not-working/m-p/8530008#M1656637</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 giving Get.... in PBO(or in case of normal report, in INITIALIZATION)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Bansal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Feb 2012 06:36:51 GMT</pubDate>
    <dc:creator>Harsh_Bansal</dc:creator>
    <dc:date>2012-02-22T06:36:51Z</dc:date>
    <item>
      <title>Get parameter id not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-parameter-id-not-working/m-p/8530005#M1656634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have used SET PARAMETER ID 'CAR' FIELD wa_sflight-carrid in PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is working fine with sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am then using the below statement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load-of-program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PARAMETER ID'CAR' FIELD wa_sflight-carrid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however it is giving sy-subrc 4....what may be the reason...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameterid is also OK for both set and get.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 06:23:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-parameter-id-not-working/m-p/8530005#M1656634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-22T06:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Get parameter id not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-parameter-id-not-working/m-p/8530006#M1656635</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 SET and GET PARAMETER ID works as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'CAR' FIELD wa_sflight-carrid &lt;/P&gt;&lt;P&gt;where wa_sflight-carrid is the field value that you want to store in the memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PARAMETER ID 'CAR' FIELD l_carrid.&lt;/P&gt;&lt;P&gt;where l_carrid is the field where you want to pass the value that was stored in the memory.This variable (l_carrid) must be of type C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the above and i hope it serves useful to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 06:33:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-parameter-id-not-working/m-p/8530006#M1656635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-22T06:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Get parameter id not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-parameter-id-not-working/m-p/8530007#M1656636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;i have used SET PARAMETER ID 'CAR' FIELD wa_sflight-carrid in PAI&lt;/P&gt;&lt;P&gt;&amp;gt; this is working fine with sy-subrc = 0.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Afaik SET PARAMETER ID doesn't set the value of SY-SUBRC. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBRC = 4, after GET PARAMETER ID =&amp;gt; the parameter id doesn't exists in the SAP Memory for the &lt;U&gt;current user&lt;/U&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you check the SAP Memory contents in the debugger? Does param id 'CAR' exist?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please remember that LOAD-OF-PROGRAM event is triggered &lt;U&gt;only once&lt;/U&gt;, when the program(executable program, module pool, function group, subroutine-pool) is loaded into the internal session. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Feb 22, 2012 12:12 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 06:35:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-parameter-id-not-working/m-p/8530007#M1656636</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2012-02-22T06:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Get parameter id not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-parameter-id-not-working/m-p/8530008#M1656637</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 giving Get.... in PBO(or in case of normal report, in INITIALIZATION)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Bansal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 06:36:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-parameter-id-not-working/m-p/8530008#M1656637</guid>
      <dc:creator>Harsh_Bansal</dc:creator>
      <dc:date>2012-02-22T06:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Get parameter id not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-parameter-id-not-working/m-p/8530009#M1656638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I too think the same i.e. check in SAP memory if the parameter ID 'CAR' is getting allocted.&lt;/P&gt;&lt;P&gt;run the debugger and please Check in SAP Memory contents.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 07:22:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-parameter-id-not-working/m-p/8530009#M1656638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-22T07:22:59Z</dc:date>
    </item>
  </channel>
</rss>

