<?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 while calling FM from report program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-calling-fm-from-report-program/m-p/5346049#M1231180</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks sap fan resolved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Mar 2009 04:24:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-20T04:24:30Z</dc:date>
    <item>
      <title>error while calling FM from report program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-calling-fm-from-report-program/m-p/5346046#M1231177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am calling a FM using the follwoing program &lt;/P&gt;&lt;P&gt;*************************************&lt;/P&gt;&lt;P&gt;REPORT  ZTEST3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : EMPNO TYPE zempdata-EMPLOYEE_NUMBER,&lt;/P&gt;&lt;P&gt;      EMPNAME TYPE zempdata-EMPLOYEE_NAME,&lt;/P&gt;&lt;P&gt;      EMPSAL TYPE zempdata-EMPLOYEE_SALARY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; call function 'ZEMPMASTER'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      EMPNO        =  '22609'.&lt;/P&gt;&lt;P&gt;      EMPNAME      =  'vishal'.&lt;/P&gt;&lt;P&gt;      EMPSAL      =  200.&lt;/P&gt;&lt;P&gt;*************************************&lt;/P&gt;&lt;P&gt;but when i execute this program i am getting the following error&lt;/P&gt;&lt;P&gt;**********************************&lt;/P&gt;&lt;P&gt; An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt;The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_MISSING', was&lt;/P&gt;&lt;P&gt; not caught and&lt;/P&gt;&lt;P&gt;therefore caused a runtime error.&lt;/P&gt;&lt;P&gt;The reason for the exception is:&lt;/P&gt;&lt;P&gt;When calling the function module "ZEMPMASTER", one of the parameters&lt;/P&gt;&lt;P&gt;needed according to the interface description was not specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This parameter was "EMPNAME".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i don't know why i am geteing this error where as in my FM ZEMPMASTER i have given only three input parameters&lt;/P&gt;&lt;P&gt;EMPNO, EMPNAME AND EMPSAL.&lt;/P&gt;&lt;P&gt;my FM code is like as follows&lt;/P&gt;&lt;P&gt;*************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION ZEMPMASTER.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local Interface:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     REFERENCE(EMPNO) TYPE  ZEMPDATA-EMPLOYEE_NUMBER&lt;/P&gt;&lt;P&gt;*"     REFERENCE(EMPNAME) TYPE  ZEMPDATA-EMPLOYEE_NAME&lt;/P&gt;&lt;P&gt;*"     REFERENCE(EMPSAL) TYPE  ZEMPDATA-EMPLOYEE_SALARY&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES ZEMPDATA.&lt;/P&gt;&lt;P&gt;BREAK-POINT.&lt;/P&gt;&lt;P&gt;data WA_zempdata type zempdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_zempdata-EMPLOYEE_NUMBER = EMPNO.&lt;/P&gt;&lt;P&gt;WA_zempdata-EMPLOYEE_NAME = EMPNAME.&lt;/P&gt;&lt;P&gt;WA_zempdata-EMPLOYEE_SALARY = EMPSAL.&lt;/P&gt;&lt;P&gt;BREAK-POINT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  insert into zempdata values wa_zempdata.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;  wa_zempdata-employee_number,  wa_zempdata-employee_name.&lt;/P&gt;&lt;P&gt;commit work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;**********************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls let me know why i am getting this error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2009 04:19:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-calling-fm-from-report-program/m-p/5346046#M1231177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-20T04:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: error while calling FM from report program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-calling-fm-from-report-program/m-p/5346047#M1231178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Remove '.'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'ZEMPMASTER'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;EMPNO = '22609'.        &amp;lt;--- Remove  '.'&lt;/P&gt;&lt;P&gt;EMPNAME = 'vishal'.    &amp;lt;--- Remove  '.'&lt;/P&gt;&lt;P&gt;EMPSAL = 200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change to: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'ZEMPMASTER'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;EMPNO = '22609'&lt;/P&gt;&lt;P&gt;EMPNAME = 'vishal'&lt;/P&gt;&lt;P&gt;EMPSAL = 200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sap Fan on Mar 20, 2009 5:24 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2009 04:22:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-calling-fm-from-report-program/m-p/5346047#M1231178</guid>
      <dc:creator>awin_prabhu</dc:creator>
      <dc:date>2009-03-20T04:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: error while calling FM from report program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-calling-fm-from-report-program/m-p/5346048#M1231179</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;I the short dump you would get the name of the field which is not being passed. Check that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use patern button to get the details of the FM.&lt;/P&gt;&lt;P&gt;Also, activate entire function group &amp;amp; try executing.&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;Kritesh Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2009 04:23:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-calling-fm-from-report-program/m-p/5346048#M1231179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-20T04:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: error while calling FM from report program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-calling-fm-from-report-program/m-p/5346049#M1231180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks sap fan resolved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2009 04:24:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-calling-fm-from-report-program/m-p/5346049#M1231180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-20T04:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: error while calling FM from report program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-calling-fm-from-report-program/m-p/5346050#M1231181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; You are using full stop (.) after each exporting parameter of the FM.&lt;/P&gt;&lt;P&gt; Remove those full stops and call FM as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'ZEMPMASTER'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;EMPNO = '22609'&lt;/P&gt;&lt;P&gt;EMPNAME = 'vishal'&lt;/P&gt;&lt;P&gt;EMPSAL = 200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Soumya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2009 04:24:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-calling-fm-from-report-program/m-p/5346050#M1231181</guid>
      <dc:creator>soumya_jose3</dc:creator>
      <dc:date>2009-03-20T04:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: error while calling FM from report program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-calling-fm-from-report-program/m-p/5346051#M1231182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vishal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
call function 'ZEMPMASTER'
EXPORTING
EMPNO = '22609'.&amp;lt;------- Remove this period
EMPNAME = 'vishal'.&amp;lt;------remove this period
EMPSAL = 200.&amp;lt;-----------*retain this period*
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We must never change the format in which a FM is displayed once we call the pattern.&lt;/P&gt;&lt;P&gt;The period will be automatically be available at the end of the FM.need not keep it at end of every line.&lt;/P&gt;&lt;P&gt;Hope this helps.If problem still persists post back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;K.Sibi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2009 04:32:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-calling-fm-from-report-program/m-p/5346051#M1231182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-20T04:32:09Z</dc:date>
    </item>
  </channel>
</rss>

