<?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: SET PARAMETER ID in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-id/m-p/1968488#M397586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Hari,&lt;/P&gt;&lt;P&gt; In your User Profile (Su3 transaction), you have to maintain a value for the parameter id.&lt;/P&gt;&lt;P&gt;then use get parameter statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Feb 2007 16:05:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-26T16:05:47Z</dc:date>
    <item>
      <title>SET PARAMETER ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-id/m-p/1968485#M397583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use the parameter id in my dialog programing . Whenever the user enters the wrong building name it should subsitute from the user's own data . &lt;/P&gt;&lt;P&gt;The screen field is zbuilding-key. If user enter the wrong key it should substitute from user profile and not allow user to change .I have created a Parameter Id zkey in the TPARA TABLE.  Please advise . A code snippet will be helpful . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:I  looked  at some programs and found the following code but didnt know how it had been coded.In the code below before or after in the whole program there is not set or get parid . How does the code below work ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT SINGLE parva&lt;/P&gt;&lt;P&gt;    INTO usr05-parva&lt;/P&gt;&lt;P&gt;    FROM usr05&lt;/P&gt;&lt;P&gt;    WHERE parid = 'BMW' AND&lt;/P&gt;&lt;P&gt;          bname = sy-uname.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    IF usr05-parva NE zplant-werks.&lt;/P&gt;&lt;P&gt;      zplant-werks = usr05-parva.&lt;/P&gt;&lt;P&gt;      MESSAGE e113.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 15:41:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-id/m-p/1968485#M397583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T15:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: SET PARAMETER ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-id/m-p/1968486#M397584</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;That code reads the user parameter BMW, it's the same thing if you write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;GET PARAMETER ID 'BMW' FIELD _WERKS.
IF SY-SUBRC = 0.
   IF _WERKS &amp;lt;&amp;gt; ZPLANT-WERKS.
     MESSAGE E.....
   ENDIF.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 15:52:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-id/m-p/1968486#M397584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T15:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: SET PARAMETER ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-id/m-p/1968487#M397585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Max . But I need to also check the user name . sy-uname . How do I include that in the condition ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 16:01:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-id/m-p/1968487#M397585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T16:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: SET PARAMETER ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-id/m-p/1968488#M397586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Hari,&lt;/P&gt;&lt;P&gt; In your User Profile (Su3 transaction), you have to maintain a value for the parameter id.&lt;/P&gt;&lt;P&gt;then use get parameter statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 16:05:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-id/m-p/1968488#M397586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T16:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: SET PARAMETER ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-id/m-p/1968489#M397587</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;IF you use GET PARAMETER you don't need to use the user ID, the system automatically retunrs the value of the current user (SY-UNAME).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 16:06:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-id/m-p/1968489#M397587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T16:06:30Z</dc:date>
    </item>
  </channel>
</rss>

