<?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 when passing str to Function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-passing-str-to-function-module/m-p/1739545#M321437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the passing field to FM should be of same type of the field of FM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Dec 2006 12:31:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-26T12:31:07Z</dc:date>
    <item>
      <title>short dump when passing str to Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-passing-str-to-function-module/m-p/1739541#M321433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear friends,&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;  When i execute the prog, short dump is occuring. here i am posting the code &lt;/P&gt;&lt;P&gt;with concerned declaraion only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF IT_DESCRIPTION_HIERARCHY OCCURS 0.&lt;/P&gt;&lt;P&gt;      INCLUDE STRUCTURE BAPI_WRF_DESC_CHANGE_HIER.&lt;/P&gt;&lt;P&gt;DATA: END OF IT_DESCRIPTION_HIERARCHY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IT_DESCRIPTION_HIERARCHY-LANGU = 'E'.&lt;/P&gt;&lt;P&gt;  IT_DESCRIPTION_HIERARCHY-HIER_DESCRIPTION = 'Test Article rchy wes'.&lt;/P&gt;&lt;P&gt;   APPEND IT_DESCRIPTION_HIERARCHY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_WRF_MATGRP_CHANGE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    HIERARCHY_DATA              =  IT_HIERARCHY_DATA&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt; TESTRUN                     =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;    HIERARCHY_STRUCTURE         =  IT_HIERARCHY_STRUCTURE&lt;/P&gt;&lt;P&gt;    DESCRIPTION_HIERARCHY       =  IT_DESCRIPTION_HIERARCHY&lt;/P&gt;&lt;P&gt;    DESCRIPTION_STRUCTURE       =  IT_DESCRIPTION_STRUCTURE&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt; HIERARCHY_ITEMS             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt; EXTENSION_IN                =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   RETURN                      =  IT_RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following short dump is occuring. what could be the prob.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     " The function module interface allows you to specify only&lt;/P&gt;&lt;P&gt;fields of a particular type under "DESCRIPTION_HIERARCHY".&lt;/P&gt;&lt;P&gt;The field "IT_DESCRIPTION_HIERARCHY" specified here is a different&lt;/P&gt;&lt;P&gt;field type " &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;sai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 11:39:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-passing-str-to-function-module/m-p/1739541#M321433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T11:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: short dump when passing str to Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-passing-str-to-function-module/m-p/1739542#M321434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of &lt;/P&gt;&lt;P&gt;DATA: BEGIN OF IT_DESCRIPTION_HIERARCHY OCCURS 0.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE BAPI_WRF_DESC_CHANGE_HIER.&lt;/P&gt;&lt;P&gt;DATA: END OF IT_DESCRIPTION_HIERARCHY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare as:&lt;/P&gt;&lt;P&gt;DATA IT_DESCRIPTION_HIERARCHY type BAPI_WRF_DESC_CHANGE_HIER. "If BAPI_WRF_DESC_CHANGE_HIER. is a table type.&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;DATA IT_DESCRIPTION_HIERARCHY type standard table of BAPI_WRF_DESC_CHANGE_HIER. "If BAPI_WRF_DESC_CHANGE_HIER. is a structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 11:43:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-passing-str-to-function-module/m-p/1739542#M321434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T11:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: short dump when passing str to Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-passing-str-to-function-module/m-p/1739543#M321435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What is the structure of IT_RETURN and IT_HIERARCHY_STRUCTURE,IT_DESCRIPTION_STRUCTURE,IT_HIERARCHY_DATA&lt;/P&gt;&lt;P&gt;Mainly this problem is in declaring the types of import and export parameters.&lt;/P&gt;&lt;P&gt;Try, &lt;/P&gt;&lt;P&gt;IT_DESCRIPTION_HIERARCHY-LANGU = 'EN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sutapa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 11:44:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-passing-str-to-function-module/m-p/1739543#M321435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T11:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: short dump when passing str to Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-passing-str-to-function-module/m-p/1739544#M321436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sai,&lt;/P&gt;&lt;P&gt;Instead of this code,&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF IT_DESCRIPTION_HIERARCHY OCCURS 0.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE BAPI_WRF_DESC_CHANGE_HIER.&lt;/P&gt;&lt;P&gt;DATA: END OF IT_DESCRIPTION_HIERARCHY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just add the following  code&lt;/P&gt;&lt;P&gt;DATA:  IT_DESCRIPTION_HIERARCHY  type BAPI_WRF_DESC_CH_HIER_TTY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you will not get short dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Rgds,&lt;/P&gt;&lt;P&gt;Kamal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 12:05:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-passing-str-to-function-module/m-p/1739544#M321436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T12:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: short dump when passing str to Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-passing-str-to-function-module/m-p/1739545#M321437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the passing field to FM should be of same type of the field of FM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 12:31:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-passing-str-to-function-module/m-p/1739545#M321437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T12:31:07Z</dc:date>
    </item>
  </channel>
</rss>

