<?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: Issue in SET PARAMETER ID  ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-set-parameter-id/m-p/8143847#M1620627</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the parameter ID CTR (Contract Number - Purchasing) instead of VRT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Aug 2011 09:39:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-08-29T09:39:55Z</dc:date>
    <item>
      <title>Issue in SET PARAMETER ID  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-set-parameter-id/m-p/8143846#M1620626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calling ME33K tcode from Program. &lt;/P&gt;&lt;P&gt;My program is showing Contract No in Output.&lt;/P&gt;&lt;P&gt;My requirement is when user will Double click on Contract no, the corresponding Contract will display in ME33K .&lt;/P&gt;&lt;P&gt;I have  done coding like this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CASE ucomm.
    WHEN '&amp;amp;IC1'.  "--* "Double Click"  Check field clicked on ALV report


      IF rs_selfield-fieldname = 'EVRTN'.
        READ TABLE t_temp INTO wa_temp INDEX rs_selfield-tabindex.

   *        SET PARAMETER ID 'VTR' FIELD '' .

        SET PARAMETER ID 'VRT' FIELD wa_temp-evrtn .   
        CALL TRANSACTION 'ME33K' AND SKIP FIRST SCREEN.
      Endif.
Endcase&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But problem is it's opening the contract that was last opened in System.&lt;/P&gt;&lt;P&gt;Suppose i am Passing Contract no &lt;STRONG&gt;CON11&lt;/STRONG&gt; ,  instead of opening this , its opening the contract no &lt;STRONG&gt;CON55&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;where as &lt;STRONG&gt;CON55&lt;/STRONG&gt;  was opened last time in ME33K,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if now i open the Contract &lt;STRONG&gt;CON11&lt;/STRONG&gt;  in ME33K tcode manually and then close that, and run the program and from Output doubleclick on the contract &lt;STRONG&gt;CON11&lt;/STRONG&gt; , its going to correctly .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the value in Debugging mode, that is &lt;STRONG&gt;CON11&lt;/STRONG&gt;  was passing . but not able to find the error, Why system is opening Last Opened Contract . ?//&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please look into this issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 09:22:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-set-parameter-id/m-p/8143846#M1620626</guid>
      <dc:creator>NR_Ranasingh</dc:creator>
      <dc:date>2011-08-29T09:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in SET PARAMETER ID  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-set-parameter-id/m-p/8143847#M1620627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the parameter ID CTR (Contract Number - Purchasing) instead of VRT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 09:39:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-set-parameter-id/m-p/8143847#M1620627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-29T09:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in SET PARAMETER ID  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-set-parameter-id/m-p/8143848#M1620628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, its working,  But frm ME33k screen, the parameter id i got is &lt;STRONG&gt;VRT&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from where u got this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same problem is with ME13 tcode for info-record also. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

 IF rs_selfield-fieldname = 'EVRTN'.
        READ TABLE t_temp INTO wa_temp INDEX rs_selfield-tabindex.
*        SET PARAMETER ID 'VTR' FIELD '' .

        SET PARAMETER ID 'VRT' FIELD wa_temp-evrtn .   "--'CTR' VRT
        CALL TRANSACTION 'ME33K' AND SKIP FIRST SCREEN.

      ELSEIF rs_selfield-fieldname = 'INFNR' .

        READ TABLE t_temp INTO wa_temp INDEX rs_selfield-tabindex.
        SET PARAMETER ID 'EKO' FIELD c_medi.
        SET PARAMETER ID 'INF' FIELD wa_temp-infnr.
        CALL TRANSACTION 'ME13' AND SKIP FIRST SCREEN.
Endif .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For inforecord whats  the new Parameter Id .?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 09:51:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-set-parameter-id/m-p/8143848#M1620628</guid>
      <dc:creator>NR_Ranasingh</dc:creator>
      <dc:date>2011-08-29T09:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in SET PARAMETER ID  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-set-parameter-id/m-p/8143849#M1620629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sagar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The global, user-specific SAP memory is available to a user for the duration of a single terminal session. Values written to it are retained even when the user exits a program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check pid "VRT" if it is not used anywhere later in the program because  If there was already a value stored under &amp;lt;pid&amp;gt;, it gets overwriten by calling the statement SET PARAMETER.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 09:53:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-set-parameter-id/m-p/8143849#M1620629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-29T09:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in SET PARAMETER ID  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-set-parameter-id/m-p/8143850#M1620630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried like below also, clearing the Parameter ID.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SET PARAMETER ID 'VTR' FIELD SPACE&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And i am using this in same session,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 11:35:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-set-parameter-id/m-p/8143850#M1620630</guid>
      <dc:creator>NR_Ranasingh</dc:creator>
      <dc:date>2011-08-29T11:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in SET PARAMETER ID  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-set-parameter-id/m-p/8143851#M1620631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To get true parameter id (when those transactions are not report transactions but dialog transactions) so analyze the PBO of the initial screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also perform some where used on those transactions in standard programs (look at FM like RV_CALL_DISPLAY_TRANSACTION or CK50_INFORECORD_DISPLAY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 11:59:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-set-parameter-id/m-p/8143851#M1620631</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2011-08-29T11:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in SET PARAMETER ID  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-set-parameter-id/m-p/8143852#M1620632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey i analyzed  the PBO  of initial screen in debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got three ID's  CTR , VRT , SAG .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me Analyze in details how they are behaving in background,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please throw some idea in details ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sagar singh on Aug 29, 2011 6:20 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 12:50:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-set-parameter-id/m-p/8143852#M1620632</guid>
      <dc:creator>NR_Ranasingh</dc:creator>
      <dc:date>2011-08-29T12:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in SET PARAMETER ID  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-set-parameter-id/m-p/8143853#M1620633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are multiple transactions starting with dynpro SAPMM06E(0205) like ME33K, ME33L, ME32K, etc. (perform a where-used) so table T160 translate transaction codes in control flags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 13:48:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-set-parameter-id/m-p/8143853#M1620633</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2011-08-29T13:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in SET PARAMETER ID  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-set-parameter-id/m-p/8143854#M1620634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Raymond and Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its solved now,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per Raymond, after analysing in debugging mode , i did solve it like below ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CASE ucomm.
    WHEN '&amp;amp;IC1'.           "--* "Double Click"  
      IF rs_selfield-fieldname = 'EVRTN'.        "-- Contract No

        SET PARAMETER ID 'CTR' FIELD '' .     "-- Clear All Parameter ID used in ME33K Tcode to free last values

        READ TABLE t_temp INTO wa_temp INDEX rs_selfield-tabindex.

        SET PARAMETER ID 'CTR' FIELD wa_temp-evrtn .   
        CALL TRANSACTION 'ME33K' AND SKIP FIRST SCREEN.
        SET PARAMETER ID 'CTR' FIELD '' .        "-- Clear for Future use

     ELSEIF rs_selfield-fieldname = 'INFNR' .    "--- Inforecord No

         SET PARAMETER ID 'LIF' FIELD '' .      "-- Clear All Parameter ID used in ME13 Tcode to free last values
         SET PARAMETER ID 'MAT' FIELD '' .
         SET PARAMETER ID 'EKO' FIELD SPACE .
         SET PARAMETER ID 'INF' FIELD '' .

        READ TABLE t_temp INTO wa_temp INDEX rs_selfield-tabindex.
        SET PARAMETER ID 'EKO' FIELD c_medi.
        SET PARAMETER ID 'INF' FIELD wa_temp-infnr.
        CALL TRANSACTION 'ME13' AND SKIP FIRST SCREEN.

         SET PARAMETER ID 'LIF' FIELD '' .       "---* Clear All Parameter ID For further use
         SET PARAMETER ID 'MAT' FIELD '' .
         SET PARAMETER ID 'EKO' FIELD SPACE .
         SET PARAMETER ID 'INF' FIELD '' .
      ENDIF.
  ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnks people for your help ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 13:16:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-set-parameter-id/m-p/8143854#M1620634</guid>
      <dc:creator>NR_Ranasingh</dc:creator>
      <dc:date>2011-08-30T13:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in SET PARAMETER ID  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-set-parameter-id/m-p/8143855#M1620635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. It solved my issue. &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1735/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tuncay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 15:58:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-set-parameter-id/m-p/8143855#M1620635</guid>
      <dc:creator>TuncayKaraca</dc:creator>
      <dc:date>2013-08-22T15:58:47Z</dc:date>
    </item>
  </channel>
</rss>

