<?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: Error when activating the method. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061079#M425998</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Here it is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;METHOD CREATENBOBJECT .&lt;/P&gt;&lt;P&gt;  DATA: newvariable(12) type N swc_get_element container 'REQUISITION_NUM' newvariable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'HRWPC_EREC_CREATE_EREC_OBJECT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: is being imported from the container which was bound to workflow container.&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;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2007 18:59:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-13T18:59:09Z</dc:date>
    <item>
      <title>Error when activating the method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061074#M425993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"DATA: newvariable type NUMERIC 12 swc_get_element container 'REQUISITION_NUM' newvariable."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error am getting when activated is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Class ZCL_HRMSS_RECRUITING_WF,Method CREATENBOBJECT&lt;/P&gt;&lt;P&gt;"NUMERIC" is a generic type. A type reference is possible only for&lt;/P&gt;&lt;P&gt;field symbols and formal parameters. -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 18:10:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061074#M425993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T18:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error when activating the method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061075#M425994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to review the basic syntax of the DATA statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: newvariable(12) type n.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 18:17:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061075#M425994</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-03-13T18:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error when activating the method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061076#M425995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change your newvariable declaration of variable as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DATA: newvariable(12)  type N.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 18:21:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061076#M425995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T18:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error when activating the method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061077#M425996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get one more error after making changes what you said.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Class ZCL_HRMSS_RECRUITING_WF,Method CREATENBOBJECT&lt;/P&gt;&lt;P&gt;",", "VALUE ...", "LENGTH ...", "DECIMALS ...", or "VALUE IS INITIAL"&lt;/P&gt;&lt;P&gt;expected after "N".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 18:40:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061077#M425996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T18:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error when activating the method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061078#M425997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post the code as it is exactly in the editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 18:57:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061078#M425997</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-03-13T18:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error when activating the method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061079#M425998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Here it is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;METHOD CREATENBOBJECT .&lt;/P&gt;&lt;P&gt;  DATA: newvariable(12) type N swc_get_element container 'REQUISITION_NUM' newvariable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'HRWPC_EREC_CREATE_EREC_OBJECT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: is being imported from the container which was bound to workflow container.&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;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 18:59:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061079#M425998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T18:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error when activating the method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061080#M425999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you may be running two statements together.  Put a period after the N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  data: newvariable(12) type n.

  swc_get_element container 'REQUISITION_NUM' newvariable.   "I think this is a macro&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 19:08:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061080#M425999</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-03-13T19:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error when activating the method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061081#M426000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I put the period, now I get a different error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Class ZCL_HRMSS_RECRUITING_WF,Method CREATENBOBJECT&lt;/P&gt;&lt;P&gt;Statement "SWC_GET_ELEMENT" is not defined. Check your spelling.&lt;/P&gt;&lt;P&gt;spelling.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 19:10:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061081#M426000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T19:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error when activating the method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061082#M426001</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 have to add the following include to invoke the macros..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE &amp;lt;cntain&amp;gt;.        "Workflow data declarations and routines&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 19:13:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061082#M426001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T19:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error when activating the method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061083#M426002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RIght,  what is this statement, is it a macro?  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 19:13:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061083#M426002</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-03-13T19:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error when activating the method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061084#M426003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narendran, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; What is &amp;lt;cntain&amp;gt;. ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could u tell the syntax of include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 19:20:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061084#M426003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T19:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error when activating the method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061085#M426004</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; I am getting an error on the statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;swc_get_element container 'REQUISITION_NUM' newvariable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the error is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Class ZCL_HRMSS_RECRUITING_WF,Method CREATENBOBJECT&lt;/P&gt;&lt;P&gt;Statement "SWC_GET_ELEMENT" is not defined. Check your spelling.&lt;/P&gt;&lt;P&gt;spelling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody has an idea whats goin on here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 20:19:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-activating-the-method/m-p/2061085#M426004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T20:19:36Z</dc:date>
    </item>
  </channel>
</rss>

