<?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 in calling function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-calling-function-module/m-p/6101214#M1360409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you should declare I_vbeln as type VBELN_VA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data: l_vbeln type VBELN_VA,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this resolve your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Sep 2009 08:33:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-15T08:33:46Z</dc:date>
    <item>
      <title>error in calling function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-calling-function-module/m-p/6101211#M1360406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using the following code to call a smartform from the driver program .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: l_vbeln type vbeln,&lt;/P&gt;&lt;P&gt;        l_age(3) type c,&lt;/P&gt;&lt;P&gt;       l_mahza type mahza.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      formname   =   p_form&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                   VARIANT                  = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                   DIRECT_CALL              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      fm_name    =  fm_name&lt;/P&gt;&lt;P&gt;                  EXCEPTIONS&lt;/P&gt;&lt;P&gt;                    no_form                  = 1&lt;/P&gt;&lt;P&gt;                    no_function_module       = 2&lt;/P&gt;&lt;P&gt;                    OTHERS                   = 3 .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION fm_name&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      g_vbeln = l_vbeln&lt;/P&gt;&lt;P&gt;      g_age   = l_age&lt;/P&gt;&lt;P&gt;      g_mahza = l_mahza.        &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P_FORM is my smartform name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now when i execute this i am getting the dump as G_VBELN cannot Be changed.  the dump shows the error is in calling the function   FNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the smartform i have declared these 3 variables in form interface  import parameters (g_vbeln,g_age,g_mahza).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please suggest me the changes which i have to do  for getting rid of this problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: seenukesavaraju on Sep 15, 2009 10:27 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 08:24:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-calling-function-module/m-p/6101211#M1360406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-15T08:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: error in calling function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-calling-function-module/m-p/6101212#M1360407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can see two possible scenarios, which may be causing the error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Please check in smartform, where you have declared the variables. You should declare them in &lt;/P&gt;&lt;P&gt;Global Setting --&amp;gt; Form interface&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Also check, wheather the type of g_vbeln in smartform and l_vbeln in print program are same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 08:33:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-calling-function-module/m-p/6101212#M1360407</guid>
      <dc:creator>former_member195383</dc:creator>
      <dc:date>2009-09-15T08:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: error in calling function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-calling-function-module/m-p/6101213#M1360408</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;While using the form interface variables, don't use them directly in the smartforms because form interface variable, workareas and tables are read only (in ur case g_vbeln,g_age,g_mahza). Instead of that declare a global variable in the smartform of the same type and In the initiialization tab assign print parameter values to global fields and use them in the smartform. This case holds good when u are passing tables and work areas to smartforms from print program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert back if u face any problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gautham Paspala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 08:33:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-calling-function-module/m-p/6101213#M1360408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-15T08:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: error in calling function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-calling-function-module/m-p/6101214#M1360409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you should declare I_vbeln as type VBELN_VA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data: l_vbeln type VBELN_VA,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this resolve your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 08:33:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-calling-function-module/m-p/6101214#M1360409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-15T08:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: error in calling function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-calling-function-module/m-p/6101215#M1360410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;Check this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R u sure  u r passing the data for vbeln?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fm_name TYPE rs38l_fnam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vbeln having same data type in smartforms?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 08:35:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-calling-function-module/m-p/6101215#M1360410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-15T08:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: error in calling function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-calling-function-module/m-p/6101216#M1360411</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;check the data types for the g_vbeln,l_vbeln, Both should be same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 09:17:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-calling-function-module/m-p/6101216#M1360411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-15T09:17:19Z</dc:date>
    </item>
  </channel>
</rss>

