<?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: Formal error: Invalid calling sequence for function modules in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/formal-error-invalid-calling-sequence-for-function-modules/m-p/8725450#M1673074</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;We get this error if we have passed some parameters to the function module wrongly.Check the importing,exporting parameters and the tables that you are passing to the FM.And also the sequance of them with respect to the FM(it has to be same).&lt;/P&gt;&lt;P&gt;Hope it serves useful to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Apr 2012 07:39:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-04-13T07:39:00Z</dc:date>
    <item>
      <title>Formal error: Invalid calling sequence for function modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formal-error-invalid-calling-sequence-for-function-modules/m-p/8725449#M1673073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'book antiqua', palatino;"&gt;Hello Friends,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'book antiqua', palatino;"&gt;In a function module we are using a Bapi- &lt;SPAN style="font-size: 9pt; color: #333333; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;BAPI_CTRACDOCUMENT_CREATE. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: #333333; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; font-family: 'book antiqua', palatino; background-position: initial initial; background-repeat: initial initial;"&gt;When we run individually the Bapi is able to generate a document number, but when we use it in the function module, it is throwing this error "Formal error: Invalid calling sequence for function modules"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: #333333; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; font-family: 'book antiqua', palatino; background-position: initial initial; background-repeat: initial initial;"&gt;Guys please can you help us, how we can get rid of this error and post the document through the function module.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: #333333; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; font-family: 'book antiqua', palatino; background-position: initial initial; background-repeat: initial initial;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: #333333; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; font-family: 'book antiqua', palatino; background-position: initial initial; background-repeat: initial initial;"&gt;Charvi&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 05:40:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formal-error-invalid-calling-sequence-for-function-modules/m-p/8725449#M1673073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-13T05:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Formal error: Invalid calling sequence for function modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formal-error-invalid-calling-sequence-for-function-modules/m-p/8725450#M1673074</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;We get this error if we have passed some parameters to the function module wrongly.Check the importing,exporting parameters and the tables that you are passing to the FM.And also the sequance of them with respect to the FM(it has to be same).&lt;/P&gt;&lt;P&gt;Hope it serves useful to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 07:39:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formal-error-invalid-calling-sequence-for-function-modules/m-p/8725450#M1673074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-13T07:39:00Z</dc:date>
    </item>
  </channel>
</rss>

