<?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: Short Dump for Z Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010734#M1496568</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;Please see the component types used in FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rafi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Feb 2016 17:20:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-02-17T17:20:49Z</dc:date>
    <item>
      <title>Short Dump for Z Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010723#M1496557</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 created a Custom Function Module. In EXPORT Parameters, I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;STPRS Type STPRS      "Decimals 2
BWPRH Type BWPRH   "Decimals 2
VJBWH Type VJBWH.  "Decimals 2&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It wored fine. After that, I have changed the Parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;STPRS Type ZSTPRS      "Decimals 5
BWPRH Type ZBWPRH   "Decimals 5
VJBWH Type ZVJBWH.  "Decimals 5&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And activated it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when in want to execute this FM (F8), it's short dumping:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the Error Analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Runtime Errors         CONNE_IMPORT_WRONG_FIELD_DECS
Exception              CX_SY_IMPORT_MISMATCH_ERROR

Short text
    Error during the IMPORT of object "%_VSTPRS".

Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_IMPORT_MISMATCH_ERROR', was
     not caught in
    procedure "EXPORT_IMPORT" "(FORM)", nor was it propagated by a RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    During the import of the field "%_VSTPRS", it was discovered that it has a
    different number of decimal places in the dataset to in the program
     "Z_GET_COSTS==========FT".

    The number of decimal places in the dataset is 2, whereas in the
    program it is 5.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody please let me know what went wrong? Thanks much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 15:48:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010723#M1496557</guid>
      <dc:creator>VenuAnumayam</dc:creator>
      <dc:date>2010-06-11T15:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Short Dump for Z Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010724#M1496558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As is so often the case, the full and precise reason for the dump is clearly stated in the text of the dump.  If you'll read and act upon that, particularly the different number of decimals places, you will fix your error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 15:54:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010724#M1496558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-11T15:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Short Dump for Z Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010725#M1496559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. I know that I can details from ST22 Analysis. And I did go through that.&lt;/P&gt;&lt;P&gt;Here's the Section that explains:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;How to correct the error
    Try to find out why the number of decimal places of the field should be
    2.
    There are various possible options:

    1. The number of decimal places of the imported field has changed in the
       Data Dictionary. Make sure that the number of decimal places of the
       imported field matches the number of decimal places of the field in
       the Data Dictionary.
       If the data cannot be restored from another source, the data of the
       'old' structure must be read by the 'old' structure, converted und
       again eported with the new structure, so that future IMPORTs will
       always function with the new structure.

    2. A new program version is active, which no longer fits the dataset.
       Try to solve the error generating the program
     "ZFI_FM_GET_STD_COSTS==========FT" again. This
       works as follows: Select transaction SE38 in the SAP system. Enter
       the program name "Z_GET_COSTS==========FT". Then activate the
     function 'Generate'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I made sure that the decimal places matches.&lt;/P&gt;&lt;P&gt;2. I did re-generate the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still got the same dump. Interestingly, the program where I am using this FM is working absolutely fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 16:10:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010725#M1496559</guid>
      <dc:creator>VenuAnumayam</dc:creator>
      <dc:date>2010-06-11T16:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Short Dump for Z Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010726#M1496560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the last two lines of the error analysis section of the dump clearly states the reason for the same.&lt;/P&gt;&lt;P&gt;this variable is used in two different places and there is a mismatch in the data types assigned to it or for that matter the decimals assigned to them. Just make the decimal places same (either two or five as per your requirement) and then check. The dump will be gone and your FM will work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 17:28:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010726#M1496560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-11T17:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Short Dump for Z Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010727#M1496561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@ Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just paste the code snippet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 17:32:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010727#M1496561</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-11T17:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Short Dump for Z Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010728#M1496562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@ Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just paste the code snippet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 17:32:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010728#M1496562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-11T17:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Short Dump for Z Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010729#M1496563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@ Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just paste the code snippet where the dump is taking place.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 17:36:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010729#M1496563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-11T17:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Short Dump for Z Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010730#M1496564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@ Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just paste the code snippet where the dump is taking place.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 17:37:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010730#M1496564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-11T17:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Short Dump for Z Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010731#M1496565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing similar type of issue. Can you please let me know the solution for this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ramana Tarapatla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 11:43:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010731#M1496565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-03T11:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Short Dump for Z Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010732#M1496566</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;See the last two lines of your dump which says&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The number of decimal places in the dataset is 2, whereas in the&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; program it is 5.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So there is&amp;nbsp; mismatch in decimal places with respect to the parameter of your FM.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please change either the paramter decimal places to 2 or change the data decimal places to 5.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rafi&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 16:21:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010732#M1496566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-03T16:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Short Dump for Z Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010733#M1496567</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 replacing the import/export parameter name&amp;nbsp; which cause issue &lt;SPAN style="font-size: 13.3333330154419px;"&gt;with new name &lt;/SPAN&gt;and activate the Function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shandrakanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 06:25:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010733#M1496567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-02-17T06:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Short Dump for Z Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010734#M1496568</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;Please see the component types used in FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rafi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 17:20:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-for-z-function-module/m-p/7010734#M1496568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-02-17T17:20:49Z</dc:date>
    </item>
  </channel>
</rss>

