<?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: ABAP Report generating runtime error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-generating-runtime-error/m-p/5215693#M1206281</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;Hopefully, you are using transaction SE80.  Follow the menu path Program-&amp;gt;Check-&amp;gt;Extended program Check.  Make sure that "CALL FUNCTION interfaces" is selected - I normally select everything except "character strings" - and execute.  This will give you a list of errors and warnings, including if you are calling your function module correctly.  You can then double-click on the lines in the report and see the error messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're unfamilar with writing function modules, please see place the cursor on the "CALL FUNCTION" statement and press F1.  This should bring up the help for that statement.  On my screen, it shows the help for the ABAP language on the left side.  You can then read about function modules. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Brian Basch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Feb 2009 14:07:53 GMT</pubDate>
    <dc:creator>brian_basch</dc:creator>
    <dc:date>2009-02-12T14:07:53Z</dc:date>
    <item>
      <title>ABAP Report generating runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-generating-runtime-error/m-p/5215687#M1206275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have written a ABAP Report.&lt;/P&gt;&lt;P&gt;It is calling a function module.&lt;/P&gt;&lt;P&gt;But there is runtime error.&lt;/P&gt;&lt;P&gt;I don't know the ABAP Syntax.&lt;/P&gt;&lt;P&gt;I need a document telling me how to write Function Module'&lt;/P&gt;&lt;P&gt;in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Report  ZKB_ADD_VALUE1
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*

REPORT  ZKB_ADD_VALUE1.
DATA NUM7 TYPE ZADD_VALUES-NUM1.
DATA NUM8 TYPE ZADD_VALUES-NUM2.
DATA NUM9 TYPE ZADD_VALUES-NUM1.
DATA NUM10 TYPE ZADD_VALUES-NUM2.
NUM7 = 6.
NUM8 = 9.

CALL FUNCTION 'ZADD_VALUE'
  EXPORTING
    NUM1          = NUM9
    NUM2          = NUM10
IMPORTING
   NUM3          = NUM7
   NUM4          = NUM8.

   WRITE: NUM10.&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;FUNCTION ZADD_VALUE.
*"----------------------------------------------------------------------
*"*"Local Interface:
*"  IMPORTING
*"     VALUE(NUM1) LIKE  ZADD_VALUES1-NUM1
*"     VALUE(NUM2) LIKE  ZADD_VALUES1-NUM2
*"  EXPORTING
*"     VALUE(NUM3) LIKE  ZADD_VALUES1-NUM1
*"     VALUE(NUM4) LIKE  ZADD_VALUES1-NUM2
*"----------------------------------------------------------------------

DATA:
FS_TABLE TYPE ZADD_VALUES1.

FS_TABLE-NUM1 = NUM3.
FS_TABLE-NUM2 = NUM4.

INSERT ZADD_VALUES1 FROM FS_TABLE.




                      .
ENDFUNCTION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kaushik Banerjee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 12:28:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-generating-runtime-error/m-p/5215687#M1206275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T12:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Report generating runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-generating-runtime-error/m-p/5215688#M1206276</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;In program u have num7,num8 for which u have values and these u need to pass to functionmodule,&lt;/P&gt;&lt;P&gt;so export these to function module( in function module these will be imported,and changes )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In exporting, pass num7,num8 &lt;/P&gt;&lt;P&gt;In importing give num9,num10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 12:31:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-generating-runtime-error/m-p/5215688#M1206276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T12:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Report generating runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-generating-runtime-error/m-p/5215689#M1206277</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 can refer to this document for information on function module&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/EN/9f/db988735c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/EN/9f/db988735c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 12:35:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-generating-runtime-error/m-p/5215689#M1206277</guid>
      <dc:creator>viquar_iqbal</dc:creator>
      <dc:date>2009-02-12T12:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Report generating runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-generating-runtime-error/m-p/5215690#M1206278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Kaushik Banerjee ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer thread  :    &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2011799"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will solve your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 12:38:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-generating-runtime-error/m-p/5215690#M1206278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T12:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Report generating runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-generating-runtime-error/m-p/5215691#M1206279</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;The Possibilities for runtime error could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Datatype of the Parameters passed to Function moduel did not match or are not compatiable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or &lt;/P&gt;&lt;P&gt;2) May be because of the insert statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check these two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOpe issue resolves.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 12:48:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-generating-runtime-error/m-p/5215691#M1206279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T12:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Report generating runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-generating-runtime-error/m-p/5215692#M1206280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please use that start of selection after the data declaration ....&lt;/P&gt;&lt;P&gt;i think it will working .. or else please give the error at which one is giving the runtime error..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 12:59:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-generating-runtime-error/m-p/5215692#M1206280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T12:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Report generating runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-generating-runtime-error/m-p/5215693#M1206281</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;Hopefully, you are using transaction SE80.  Follow the menu path Program-&amp;gt;Check-&amp;gt;Extended program Check.  Make sure that "CALL FUNCTION interfaces" is selected - I normally select everything except "character strings" - and execute.  This will give you a list of errors and warnings, including if you are calling your function module correctly.  You can then double-click on the lines in the report and see the error messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're unfamilar with writing function modules, please see place the cursor on the "CALL FUNCTION" statement and press F1.  This should bring up the help for that statement.  On my screen, it shows the help for the ABAP language on the left side.  You can then read about function modules. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Brian Basch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 14:07:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-generating-runtime-error/m-p/5215693#M1206281</guid>
      <dc:creator>brian_basch</dc:creator>
      <dc:date>2009-02-12T14:07:53Z</dc:date>
    </item>
  </channel>
</rss>

