<?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 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/905812#M56091</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;-&lt;/P&gt;&lt;HR originaltext="--------------------------------" /&gt;&lt;P&gt;GET PARAMETER ID &lt;/P&gt;&lt;P&gt;is returning sy-subrc 4&lt;/P&gt;&lt;P&gt;in field exit&lt;/P&gt;&lt;P&gt;for MM02&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------" /&gt;&lt;P&gt;I have used the below mentioned&lt;/P&gt;&lt;P&gt;code in a field exit for some&lt;/P&gt;&lt;P&gt;field on tcode MM02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In MM02, there is one field WERKS (Plant)&lt;/P&gt;&lt;P&gt;which i need to capture in my field exit.&lt;/P&gt;&lt;P&gt;But not working.&lt;/P&gt;&lt;P&gt;The same is working for MATNR.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : werks TYPE marc-werks.&lt;/P&gt;&lt;P&gt;GET PARAMETER ID 'WRK' FIELD werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------" /&gt;&lt;P&gt;Can anybody guide ?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Mittal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jun 2005 05:13:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-06-22T05:13:02Z</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/905812#M56091</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;-&lt;/P&gt;&lt;HR originaltext="--------------------------------" /&gt;&lt;P&gt;GET PARAMETER ID &lt;/P&gt;&lt;P&gt;is returning sy-subrc 4&lt;/P&gt;&lt;P&gt;in field exit&lt;/P&gt;&lt;P&gt;for MM02&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------" /&gt;&lt;P&gt;I have used the below mentioned&lt;/P&gt;&lt;P&gt;code in a field exit for some&lt;/P&gt;&lt;P&gt;field on tcode MM02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In MM02, there is one field WERKS (Plant)&lt;/P&gt;&lt;P&gt;which i need to capture in my field exit.&lt;/P&gt;&lt;P&gt;But not working.&lt;/P&gt;&lt;P&gt;The same is working for MATNR.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : werks TYPE marc-werks.&lt;/P&gt;&lt;P&gt;GET PARAMETER ID 'WRK' FIELD werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------" /&gt;&lt;P&gt;Can anybody guide ?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Mittal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2005 05:13:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-parameter-id-not-working/m-p/905812#M56091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-22T05:13:02Z</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/905813#M56092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for get parameter to work the same should have been set before in the program or maintained at system-&amp;gt;user profile-&amp;gt;owndata -&amp;gt; parameters tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt;here are the few lines from ABAP key word documentation&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the SPA/GPA parameter specified in pid was not yet created in the SAP Memory for the current user, the data object dobj is initialized and sy-subrc is set to 4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-subrc Meaning &lt;/P&gt;&lt;P&gt;0 The SPA/GPA parameter specified in pid exists for the current user in the SAP Memory and its value was transferred to the target field. &lt;/P&gt;&lt;P&gt;4 The SPA/GPA parameter specified in pid does not exist for the current user in the SAP Memory. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An SPA/GPA parameter that is readable with GET PARAMETER can previously have been created in the SAP Memory using the SET PARAMETER statement or automatically during the event PAI of a screen or selection screen. &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;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2005 06:07:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-parameter-id-not-working/m-p/905813#M56092</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-06-22T06:07:01Z</dc:date>
    </item>
  </channel>
</rss>

