<?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: Calling Functional module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-functional-module/m-p/2543822#M578337</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;Change your code as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZAC_TAB25.&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;W_RESULT TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:&lt;/P&gt;&lt;P&gt;P_NUM1 TYPE I,&lt;/P&gt;&lt;P&gt;P_NUM2 TYPE I,&lt;/P&gt;&lt;P&gt;P_OPER TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ZAC_CALCULATE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;IM_NUM1 = P_NUM1&lt;/P&gt;&lt;P&gt;IM_NUM2 = P_NUM2&lt;/P&gt;&lt;P&gt;IM_OPER = P_OPER&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;EX_RESULT = W_RESULT&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jul 2007 08:03:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-10T08:03:33Z</dc:date>
    <item>
      <title>Calling Functional module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-functional-module/m-p/2543814#M578329</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;&lt;/P&gt;&lt;P&gt; when iam  calling functional modiule I am getting the errors,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZAC_TAB25.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           CALL FUNCTION 'ZAC_CALCULATE'.&lt;/P&gt;&lt;P&gt;             EXPORTING&lt;/P&gt;&lt;P&gt;               IM_NUM1         = P_NUM1,&lt;/P&gt;&lt;P&gt;               IM_NUM2         = P_NUM2,&lt;/P&gt;&lt;P&gt;               IM_OPER         = P_OPER.&lt;/P&gt;&lt;P&gt;           IMPORTING&lt;/P&gt;&lt;P&gt;             EX_RESULT       =&lt;/P&gt;&lt;P&gt;                     .&lt;/P&gt;&lt;P&gt;PARAMETERS:&lt;/P&gt;&lt;P&gt;P_NUM1 TYPE I,&lt;/P&gt;&lt;P&gt;P_NUM2 TYPE I,&lt;/P&gt;&lt;P&gt;P_OPER TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;W_RESULT TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error iam getting is Comma without preceding colon (after EXPORTING ?).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 07:50:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-functional-module/m-p/2543814#M578329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T07:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Functional module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-functional-module/m-p/2543815#M578330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Either You have to pass EX_RESULT = value or comment importing parameter.&lt;/P&gt;&lt;P&gt;Reward if useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 07:52:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-functional-module/m-p/2543815#M578330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T07:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Functional module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-functional-module/m-p/2543816#M578331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pass W_RESULT.&lt;/P&gt;&lt;P&gt;Reward if useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 07:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-functional-module/m-p/2543816#M578331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T07:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Functional module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-functional-module/m-p/2543817#M578332</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;do this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZAC_TAB25.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ZAC_CALCULATE'.&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;IM_NUM1 = P_NUM1,&lt;/P&gt;&lt;P&gt;IM_NUM2 = P_NUM2,&lt;/P&gt;&lt;P&gt;IM_OPER = P_OPER,&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;EX_RESULT =&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;PARAMETERS:&lt;/P&gt;&lt;P&gt;P_NUM1 TYPE I,&lt;/P&gt;&lt;P&gt;P_NUM2 TYPE I,&lt;/P&gt;&lt;P&gt;P_OPER TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;W_RESULT TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***do reward if usefull&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 07:53:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-functional-module/m-p/2543817#M578332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T07:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Functional module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-functional-module/m-p/2543818#M578333</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 need to dynamically pass a variable to get the result for EX_RESULT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 07:53:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-functional-module/m-p/2543818#M578333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T07:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Functional module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-functional-module/m-p/2543819#M578334</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;REPORT ZAC_TAB25.&lt;/P&gt;&lt;P&gt;PARAMETERS:&lt;/P&gt;&lt;P&gt;P_NUM1 TYPE I,&lt;/P&gt;&lt;P&gt;P_NUM2 TYPE I,&lt;/P&gt;&lt;P&gt;P_OPER TYPE C,&lt;/P&gt;&lt;P&gt;WA_RESULT TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ZAC_CALCULATE'.&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;IM_NUM1 = P_NUM1&lt;/P&gt;&lt;P&gt;IM_NUM2 = P_NUM2&lt;/P&gt;&lt;P&gt;IM_OPER = P_OPER&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;EX_RESULT = WA_RESULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 07:53:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-functional-module/m-p/2543819#M578334</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-07-10T07:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Functional module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-functional-module/m-p/2543820#M578335</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;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ZAC_TAB25.

CALL FUNCTION 'ZAC_CALCULATE' "see change
EXPORTING
IM_NUM1 = P_NUM1 " see change
IM_NUM2 = P_NUM2 "see change
IM_OPER = P_OPER "see change
IMPORTING
EX_RESULT = "fill here some para value or coment this and above line
.
PARAMETERS:
P_NUM1 TYPE I,
P_NUM2 TYPE I,
P_OPER TYPE C.

DATA:
W_RESULT TYPE C.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better use pattern butto to insert fm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jogdand M B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Jogdand M B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 07:55:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-functional-module/m-p/2543820#M578335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T07:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Functional module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-functional-module/m-p/2543821#M578336</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;&lt;/P&gt;&lt;P&gt; i had done in this way. still it is showing error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZAC_TAB25.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                      CALL FUNCTION 'ZAC_CALCULATE'&lt;/P&gt;&lt;P&gt;             EXPORTING&lt;/P&gt;&lt;P&gt;               IM_NUM1         =  P_NUM1&lt;/P&gt;&lt;P&gt;               IM_NUM2         =  P_NUM2&lt;/P&gt;&lt;P&gt;               IM_OPER         =  P_OPER&lt;/P&gt;&lt;P&gt;           IMPORTING&lt;/P&gt;&lt;P&gt;             EX_RESULT       =  W_RESULT&lt;/P&gt;&lt;P&gt;                     .&lt;/P&gt;&lt;P&gt;PARAMETERS:&lt;/P&gt;&lt;P&gt;P_NUM1 TYPE I,&lt;/P&gt;&lt;P&gt;P_NUM2 TYPE I,&lt;/P&gt;&lt;P&gt;P_OPER TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;W_RESULT TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field "P_NUM1" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement . . . . . . . . . .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        rams s&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 07:57:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-functional-module/m-p/2543821#M578336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T07:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Functional module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-functional-module/m-p/2543822#M578337</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;Change your code as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZAC_TAB25.&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;W_RESULT TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:&lt;/P&gt;&lt;P&gt;P_NUM1 TYPE I,&lt;/P&gt;&lt;P&gt;P_NUM2 TYPE I,&lt;/P&gt;&lt;P&gt;P_OPER TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ZAC_CALCULATE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;IM_NUM1 = P_NUM1&lt;/P&gt;&lt;P&gt;IM_NUM2 = P_NUM2&lt;/P&gt;&lt;P&gt;IM_OPER = P_OPER&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;EX_RESULT = W_RESULT&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 08:03:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-functional-module/m-p/2543822#M578337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T08:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Functional module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-functional-module/m-p/2543823#M578338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the problem is you are declaring the variables after calling them in the fn module..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do like this&lt;/P&gt;&lt;P&gt;PARAMETERS:&lt;/P&gt;&lt;P&gt;P_NUM1 TYPE I,&lt;/P&gt;&lt;P&gt;P_NUM2 TYPE I,&lt;/P&gt;&lt;P&gt;P_OPER TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;W_RESULT TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ZAC_CALCULATE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;IM_NUM1 = P_NUM1&lt;/P&gt;&lt;P&gt;IM_NUM2 = P_NUM2&lt;/P&gt;&lt;P&gt;IM_OPER = P_OPER&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;EX_RESULT = W_RESULT&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;still one doubt is there you are not assigning the value to export parameters here then what is the need of importing the parameters?&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 08:05:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-functional-module/m-p/2543823#M578338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T08:05:26Z</dc:date>
    </item>
  </channel>
</rss>

