<?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 Changing parameter type confusion in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameter-type-confusion/m-p/4003273#M956436</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;One more question regarding the type of a changing parameter. I want to wrap some FMs in a subroutine. One example is SM02_ADD_MESSAGE. Trouble is I want to include a changing parameter for the message_id parameter. I can't seem to get the type declaration correct. Any pointers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jun 2008 20:18:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-18T20:18:48Z</dc:date>
    <item>
      <title>Changing parameter type confusion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameter-type-confusion/m-p/4003273#M956436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;One more question regarding the type of a changing parameter. I want to wrap some FMs in a subroutine. One example is SM02_ADD_MESSAGE. Trouble is I want to include a changing parameter for the message_id parameter. I can't seem to get the type declaration correct. Any pointers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 20:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameter-type-confusion/m-p/4003273#M956436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T20:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Changing parameter type confusion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameter-type-confusion/m-p/4003274#M956437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare it as:&lt;/P&gt;&lt;P&gt;MESSAGE_ID LIKE  TEMSG-ID&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 20:38:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameter-type-confusion/m-p/4003274#M956437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T20:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Changing parameter type confusion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameter-type-confusion/m-p/4003275#M956438</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;I'm still a lil confused on this one. Here is my sample code. I've defined the following subroutine:&lt;/P&gt;&lt;P&gt;FORM add_system_message CHANGING pv_message_id LIKE temsg-id. I call the function module 'SM02_ADD_MESSAGE' in the subroutine and pass pv_message_id as the import parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I call the same subroutine as follows:&lt;/P&gt;&lt;P&gt;PERFORM add_system_message CHANGING gv_message_id.&lt;/P&gt;&lt;P&gt;where gv_message_id is defined as follows:&lt;/P&gt;&lt;P&gt;DATA: gv_message_id LIKE temsg-id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program compiles but balks when I run it...seems the parameter has an incompatible type. Am I missing something here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 11:33:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameter-type-confusion/m-p/4003275#M956438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T11:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Changing parameter type confusion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameter-type-confusion/m-p/4003276#M956439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;U have shown the PERFORM part. But how u defined it in the statement&lt;/P&gt;&lt;P&gt; FROM add_system_message CHANGING gv_message_id LIKE ??????.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should also have same type. Check this and get back in case of any issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 11:49:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameter-type-confusion/m-p/4003276#M956439</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-06-19T11:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Changing parameter type confusion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameter-type-confusion/m-p/4003277#M956440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My mistake...the message_id parameter was fine. when i debugged I realized it was another variabel that had the worng type &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 11:51:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameter-type-confusion/m-p/4003277#M956440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T11:51:13Z</dc:date>
    </item>
  </channel>
</rss>

