<?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: Problem in Set parameter ID in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-set-parameter-id/m-p/6066456#M1354763</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below statement is used to resolved the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SET PARAMETER ID 'BR1' FIELD G_T_GT_OUTTAB-AUFNR.&lt;/P&gt;&lt;P&gt;    GET PARAMETER ID 'BR1' FIELD G_BR1.&lt;/P&gt;&lt;P&gt;    CALL TRANSACTION 'COR3' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Sep 2009 12:20:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-22T12:20:42Z</dc:date>
    <item>
      <title>Problem in Set parameter ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-set-parameter-id/m-p/6066449#M1354756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Abapers,&lt;/P&gt;&lt;P&gt;I have developed an ALV report where when double click on a&lt;/P&gt;&lt;P&gt;Process Order number the report will call a standard TRANSACTION&lt;/P&gt;&lt;P&gt;COR3 using call transaction method. I have use the following&lt;/P&gt;&lt;P&gt;attached code to do the same. But the report always takes the&lt;/P&gt;&lt;P&gt;first selected Process Order value in the cor3 transaction. &lt;/P&gt;&lt;P&gt;Whenever i click on any other process Order number it always take&lt;/P&gt;&lt;P&gt;the first click value.&lt;/P&gt;&lt;P&gt;But i have checked that the parameter ID field is taking the&lt;/P&gt;&lt;P&gt;correct value.. But in the program it is not taking, it only&lt;/P&gt;&lt;P&gt;takes the first clicked value from the alv report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM user_cor3 USING u_ucomm LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;us_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF us_selfield-fieldname = 'AUFNR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: i_aufnr LIKE AFKO-aufnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE i_final INDEX us_selfield-tabindex.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;i_aufnr = i_final-aufnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE u_ucomm.&lt;/P&gt;&lt;P&gt;WHEN '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'ANR' FIELD i_aufnr .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'COR3' AND SKIP FIRST SCREEN .&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM. &lt;/P&gt;&lt;P&gt;"USER_COR3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Sep 2009 10:26:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-set-parameter-id/m-p/6066449#M1354756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-05T10:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Set parameter ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-set-parameter-id/m-p/6066450#M1354757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TYPE-POOLS : slis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : fcat TYPE slis_t_fieldcat_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : it_sflight TYPE TABLE OF sflight WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT * FROM sflight INTO TABLE it_sflight.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   i_callback_program                = sy-repid&lt;/P&gt;&lt;P&gt;   i_callback_user_command           = 'USER_COMMAND'&lt;/P&gt;&lt;P&gt;   i_structure_name                  = 'SFLIGHT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    t_outtab                          = it_sflight&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM user_command USING u_ucomm LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;us_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;  IF US-ucomm = '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt;    READ TABLE it_sflight INDEX us_selfield-tabindex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here try to clear the i_aufnr&lt;/STRONG&gt; and try------&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc IS INITIAL.&lt;/P&gt;&lt;P&gt;      WRITE : it_sflight-carrid.&lt;/P&gt;&lt;P&gt;      SET PARAMETER ID 'CAR' FIELD IT_SFLIGHT-CARRID.&lt;/P&gt;&lt;P&gt;      DATA : CAR TYPE SPFLI-CARRID.&lt;/P&gt;&lt;P&gt;      GET PARAMETER ID 'CAR' FIELD CAR.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "user_COMMAND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the above program is working fine with your logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check which internal table you are using is it same as i_final in the FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Sep 2009 10:56:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-set-parameter-id/m-p/6066450#M1354757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-05T10:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Set parameter ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-set-parameter-id/m-p/6066451#M1354758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try like below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF us_selfield-fieldname = 'AUFNR'.
i_aufnr = us_SELFIELD-VALUE.
CASE u_ucomm.
WHEN '&amp;amp;IC1'.
SET PARAMETER ID 'ANR' FIELD i_aufnr .

CALL TRANSACTION 'COR3' AND SKIP FIRST SCREEN .
ENDCASE.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Sep 2009 11:04:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-set-parameter-id/m-p/6066451#M1354758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-05T11:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Set parameter ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-set-parameter-id/m-p/6066452#M1354759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im notsure abou this ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FREE MEMORY ID 'ANR' .&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'ANR' FIELD i_aufnr .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Sep 2009 13:20:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-set-parameter-id/m-p/6066452#M1354759</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-09-05T13:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Set parameter ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-set-parameter-id/m-p/6066453#M1354760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi THILAGARAJ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check in debugger if  i_aufnr hast the correct value before&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SET PARAMETER ID 'ANR' FIELD i_aufnr .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also make sure that PARAMETER ID 'ANR' is used in transaction COR3 to set the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check this, analyse start screen 5110 . Here you can see that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;GET PARAMETER ID 'BR1'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is used to initialize field CAUFVD-AUFNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if you post  &lt;STRONG&gt;any&lt;/STRONG&gt;  code, please use the above &amp;lt;_&amp;gt; code marker and see the preview before posting, thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Sep 2009 14:02:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-set-parameter-id/m-p/6066453#M1354760</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2009-09-05T14:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Set parameter ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-set-parameter-id/m-p/6066454#M1354761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can refer to the following links to know all about SET/GET parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Using SET/GET Parameter ID in SAP|http://www.how2sap.com/blog/sap-abap/using-setandget-parameter-id-in-sap/]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Associating SET/GET Parameters to Screen elements|http://www.how2sap.com/blog/sap-abap/associating-setget-parameters-to-screen-elements/]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Persisting SET/GET Parameter values|http://www.how2sap.com/blog/sap-abap/persisting-setget-parameter-values-in-user-profile/]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Happy Reading,&lt;/P&gt;&lt;P&gt;Anand.&lt;/P&gt;&lt;P&gt;[How2SAP.com|http://www.how2sap.com/blog/]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2009 13:13:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-set-parameter-id/m-p/6066454#M1354761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-21T13:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Set parameter ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-set-parameter-id/m-p/6066455#M1354762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Definitly the ID for the process order in COR3 is ANR, as you can see in the technical settings. Maybe BR1 is reading for whatever purpose, but the process order is ANR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2009 13:27:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-set-parameter-id/m-p/6066455#M1354762</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2009-09-21T13:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Set parameter ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-set-parameter-id/m-p/6066456#M1354763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below statement is used to resolved the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SET PARAMETER ID 'BR1' FIELD G_T_GT_OUTTAB-AUFNR.&lt;/P&gt;&lt;P&gt;    GET PARAMETER ID 'BR1' FIELD G_BR1.&lt;/P&gt;&lt;P&gt;    CALL TRANSACTION 'COR3' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 12:20:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-set-parameter-id/m-p/6066456#M1354763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-22T12:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Set parameter ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-set-parameter-id/m-p/6066457#M1354764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is an excellent answer. I've been figuring out this issue and I finally found out how to solve it. Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 16:22:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-set-parameter-id/m-p/6066457#M1354764</guid>
      <dc:creator>nmirandaghn</dc:creator>
      <dc:date>2014-07-02T16:22:21Z</dc:date>
    </item>
  </channel>
</rss>

