<?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 with Set parameter ID in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802936#M1467691</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;set parameter id:  'KOS' field caufvd_imp-kostv.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Apr 2010 08:01:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-09T08:01:22Z</dc:date>
    <item>
      <title>Problem with Set parameter ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802935#M1467690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Good day sap guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for alot of supporting.  Ive dev the user exit for iw32 for creating the settelment rules. ruels are creating except cost center.. before i was posted this queary. some one told tht pass the set parameter..&lt;/P&gt;&lt;P&gt;Even ive passed the set parameter.. i didnt get the value.. can any plz tell me if any wrong in below statement.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
set parameter id 'KOS' field caufvd_imp-kostv.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 07:47:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802935#M1467690</guid>
      <dc:creator>former_member251546</dc:creator>
      <dc:date>2010-04-09T07:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Set parameter ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802936#M1467691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;set parameter id:  'KOS' field caufvd_imp-kostv.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 08:01:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802936#M1467691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-09T08:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Set parameter ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802937#M1467692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for reply. but ive got doubt, if it pass the set paramter id to the itab. doest it work it out?&lt;/P&gt;&lt;P&gt;if you dont mind, can plz check my code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Loop at lt_zcs_settle_rc into wa_zcs_settle_rc.
  IF wa_zcs_settle_rc-auart = 'YSPS'.
    wa_srules-source = wa_zcs_settle_rc-RULE_TYPE.
    wa_srules-settl_type = 'PER'.
    wa_srules-percentage = '100'.
    wa_srules-comp_code  = caufvd_imp-bukrs.
    wa_srules-gl_account = wa_zcs_settle_rc-hkont.
    wa_srules-profit_ctr = caufvd_imp-prctr.
    set parameter id: 'KOS' field caufvd_imp-kostv.      "Here iam passing the parameter id for getting the cost center
    APPEND wa_srules TO srules.
    CLEAR:wa_srules.


    wa_srules-source = wa_zcs_settle_rc-RULE_TYPE.
    wa_srules-settl_type = 'FUL'.
    wa_srules-percentage = '100'.

    wa_srules-comp_code  = caufvd_imp-bukrs.
    wa_srules-gl_account = wa_zcs_settle_rc-hkont.
    wa_srules-profit_ctr = caufvd_imp-prctr.
    set parameter id: 'KOS' field caufvd_imp-kostv.  Here iam passing the parameter id for getting the cost center
    APPEND wa_srules TO srules.
    CLEAR:wa_srules,
         wa_zcs_settle_rc.
endloop.

  CALL FUNCTION 'K_ORDER_SRULE_ADD'
    EXPORTING
      object_no                  = caufvd_imp-objnr
* IMPORTING
*   FLG_RULE_INSERTED          =
    TABLES
      srules                     = srules                             " here ita will get all data
      criteria                   = ls_copadata
 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 08:07:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802937#M1467692</guid>
      <dc:creator>former_member251546</dc:creator>
      <dc:date>2010-04-09T08:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Set parameter ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802938#M1467693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;you really dont need the colon ':' when you are passing only one parameter id, anyways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also you are not calling any transaction after setting the parameter id, why are you setting it then?&lt;/P&gt;&lt;P&gt;its used to pass values to the next called transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;anoop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 08:15:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802938#M1467693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-09T08:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Set parameter ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802939#M1467694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Balaji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are asking about the syntax your statemant is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please debug it so that you will get some idea where is the issue.&lt;/P&gt;&lt;P&gt;Did you write it at any event?&lt;/P&gt;&lt;P&gt;I mean like start-of-selction........?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pravin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 08:16:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802939#M1467694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-09T08:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Set parameter ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802940#M1467695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No i didnt write any events. its user exit..iam creating the settelment rules for iw32..&lt;/P&gt;&lt;P&gt;everty thing is perfect except the cost center..  with out set parameter id, before i did like&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
wa_srules-costcenter = caufvd_imp-kostv.

append wa_srules to srules.

so here costcenter appending to the itab. and passing the itab to functionmodule 
as below shows as. but from here iam pulling the all values except the cost center value..  
 CALL FUNCTION 'K_ORDER_SRULE_ADD'
    EXPORTING
      object_no                  = caufvd_imp-objnr
* IMPORTING
*   FLG_RULE_INSERTED          =
    TABLES
      srules                     = srules
      criteria                   = ls_copadata

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i pass the set parameter id . is it work it out?&lt;/P&gt;&lt;P&gt;any other way to kick off this prob? plz let me know..&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 08:55:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802940#M1467695</guid>
      <dc:creator>former_member251546</dc:creator>
      <dc:date>2010-04-09T08:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Set parameter ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802941#M1467696</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;You did it inside the loop. So when caufvd_imp-kostv will take the last one only. &lt;/P&gt;&lt;P&gt;Anyways I don't thing this statement is required in your case. Generally it required when you trying to passed the value in the next screen. or you used GET PARAMETER ID statement for same field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Subhankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 09:04:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802941#M1467696</guid>
      <dc:creator>Subhankar</dc:creator>
      <dc:date>2010-04-09T09:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Set parameter ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802942#M1467697</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;"Set parameter id" is used only when you call a transaction by passing the value to the parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;set parameter id: 'AUN' field wa_final-vbeln.
          call transaction 'VA03' and skip first screen .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 09:12:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802942#M1467697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-09T09:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Set parameter ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802943#M1467698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Ok..thank you for valuable information..&lt;/P&gt;&lt;P&gt;plz let me know... how to pass set parameter id.. i didnt use set/get parameters ..so abit confussion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want show the cost center value in iw32...in sender receiver screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'K_ORDER_SRULE_ADD'      "this f.m settelment rules adds to iw32 t.code..&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      object_no                  = caufvd_imp-objnr&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FLG_RULE_INSERTED          =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      srules                     = srules             &lt;/P&gt;&lt;P&gt;      criteria                   = ls_copadata&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"before with out setparamter id, i was passing the cost center to Srules itab.. here cost center  &lt;/P&gt;&lt;P&gt;getting but from the FM, its not passing to iw32 t.code.. if i use set/get parameter after FM.. is it valid or not&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set parameter id: 'KOS' field caufvd_imp-kostv. &lt;/P&gt;&lt;P&gt;get parameter id: 'KOS'  field caufvd_imp-kostv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i passed after f.m set/get is it ok?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 09:15:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802943#M1467698</guid>
      <dc:creator>former_member251546</dc:creator>
      <dc:date>2010-04-09T09:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Set parameter ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802944#M1467699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is nothing wrong in the statement :&lt;/P&gt;&lt;P&gt;set parameter id 'KOS' field caufvd_imp-kostv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But to get get value at the desired location you also have to write :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get parameter id 'KOS' field caufvd_imp-kostv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 09:49:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802944#M1467699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-09T09:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Set parameter ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802945#M1467700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;thank you sanju.. for reply.&lt;/P&gt;&lt;P&gt;if i passed as below as. iam gettin sys error.. one which is cant chage the caufvd_imp value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set parameter id: 'KOS' field caufvd_imp-kostv. &lt;/P&gt;&lt;P&gt;get parameter id: 'KOS' field caufvd_imp-kostv.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 09:55:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802945#M1467700</guid>
      <dc:creator>former_member251546</dc:creator>
      <dc:date>2010-04-09T09:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Set parameter ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802946#M1467701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;get parameter id 'KOS' field caufvd_imp-kostv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above statement is to be written where you want to retrieve the data which is being sent by the parameter id 'KOS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should not be there just after &lt;/P&gt;&lt;P&gt;set parameter id 'KOS' field caufvd_imp-kostv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set parameter id is used to send a single data from one SAP application to another... say from alv to smartform.....&lt;/P&gt;&lt;P&gt;here u give the set parameter id in the alv program and get parameter id in the driver program of smartform... to send across the required data....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 11:11:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/6802946#M1467701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-09T11:11:26Z</dc:date>
    </item>
  </channel>
</rss>

