<?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: Create method with generated code without pass by value in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-method-with-generated-code-without-pass-by-value/m-p/8598255#M1662196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have try it now (Comment &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;parpasstyp ) and the signature of the export parameters&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;doesn't change.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Any other idea?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Joy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2012 12:41:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-03-21T12:41:57Z</dc:date>
    <item>
      <title>Create method with generated code without pass by value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-method-with-generated-code-without-pass-by-value/m-p/8598253#M1662194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;I am working to generate method via SEO_CLASS_CREATE_COMPLETE and &lt;/P&gt;&lt;P&gt;in the method that was generated I have import and export parameters ,the problem is with the export &lt;/P&gt;&lt;P&gt;parameters it always generated with &lt;STRONG&gt;pass by value&lt;/STRONG&gt; indicator and I don't want it,&lt;/P&gt;&lt;P&gt;here is my code ,what I'm missing here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The structure that we need to fill is &lt;STRONG&gt;vseoparam&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Best Regards,Joy&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_params&lt;SPAN class="L0S70"&gt;-clsname &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;iv_class_name&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_params&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;cmpname &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;ls_entities&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;mtd_name&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_params&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;sconame &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ES_RESPONSE_CONT'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_params&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;version &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_params&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;langu &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'E'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_params&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;cmptype &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_params&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;mtdtype &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_params&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ZRESPONSE_CONTEXT'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_params&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;typtype &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_params&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;parpasstyp &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_params&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;editorder &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;9&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_params&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;author &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;uname&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_params&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;createdon &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;datum&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;APPEND &lt;/SPAN&gt;ls_params &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;ct_params&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CLEAR &lt;/SPAN&gt;ls_params&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Suhas Saha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 08:22:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-method-with-generated-code-without-pass-by-value/m-p/8598253#M1662194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-21T08:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create method with generated code without pass by value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-method-with-generated-code-without-pass-by-value/m-p/8598254#M1662195</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 have set that in your structure, &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;ls_params&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;parpasstyp &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;parpasstyp determines the parameter passing type. if you pass value 0 it will be pass by value, if you set it to 1, it is pass by reference. &lt;/P&gt;&lt;P&gt;Comment this line and chek. &lt;/P&gt;&lt;P&gt;Hope this helps u.,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 11:40:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-method-with-generated-code-without-pass-by-value/m-p/8598254#M1662195</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2012-03-21T11:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Create method with generated code without pass by value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-method-with-generated-code-without-pass-by-value/m-p/8598255#M1662196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have try it now (Comment &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;parpasstyp ) and the signature of the export parameters&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;doesn't change.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Any other idea?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Joy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 12:41:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-method-with-generated-code-without-pass-by-value/m-p/8598255#M1662196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-21T12:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create method with generated code without pass by value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-method-with-generated-code-without-pass-by-value/m-p/8598256#M1662197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi joy ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the sample program in SE38 - SBMIG_CREATE_CLASS_AND_TTYPES &lt;/P&gt;&lt;P&gt;I think it will solve your issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 09:37:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-method-with-generated-code-without-pass-by-value/m-p/8598256#M1662197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-22T09:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create method with generated code without pass by value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-method-with-generated-code-without-pass-by-value/m-p/8598257#M1662198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem seems to be with the parameters CMPTYPE, MTDTYPE which you have referred to EVENTS. Also I do not see value passed to field ls_params-PARDECLTYP(Importing,Exporting,Changing,Returning)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the fixed values of domain SEOCMPTYPE,SEOMTDTYPE &amp;amp; SEOPARDECL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 11:55:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-method-with-generated-code-without-pass-by-value/m-p/8598257#M1662198</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-03-22T11:55:03Z</dc:date>
    </item>
  </channel>
</rss>

