<?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 Problem regarding Export functionality in ALV OOPS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-export-functionality-in-alv-oops/m-p/6406648#M1407107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                 I have a requirement where i have to display report in ALV OOPS and this should be downloadable &lt;/P&gt;&lt;P&gt;using export functionality present in ALV oops toolbar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when i choose download to local file it gives a dump 'OBJECTS_NOT_CHARLIKE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now this problem is due to quantity fields like KWMENG and KBMENG fields present in the output table.&lt;/P&gt;&lt;P&gt;If i comment out these statements while field catalog prepartion the export functionality works. Hence i believe there&lt;/P&gt;&lt;P&gt;must be more information that must be provide while field catalog preparation for &lt;U&gt;quantity&lt;/U&gt; &lt;U&gt;fields&lt;/U&gt; in ALV OOPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i am not able to understand. HEnce require help and guidance for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i Have prepared field catalog in following manner&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PERFORM f_create_fc_grid USING c_kwmeng     c_kwmeng  15      text-t23.

FORM f_create_fc_grid  USING us_fieldname TYPE  any
                             us_ref_field TYPE  any
                             us_op_length TYPE  any
                             us_seltext_l TYPE  any.


  CLEAR: e_fcat.

  MOVE   us_fieldname    TO   e_fcat-fieldname.

  MOVE   us_ref_field    TO   e_fcat-ref_field.

  MOVE   us_op_length    TO   e_fcat-outputlen.

  MOVE   us_seltext_l    TO   e_fcat-seltext.

  MOVE us_seltext_l TO e_fcat-coltext.

  APPEND e_fcat TO   i_fcat.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " F_CREATE_FC_GRID&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Nov 2009 11:18:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-20T11:18:51Z</dc:date>
    <item>
      <title>Problem regarding Export functionality in ALV OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-export-functionality-in-alv-oops/m-p/6406648#M1407107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                 I have a requirement where i have to display report in ALV OOPS and this should be downloadable &lt;/P&gt;&lt;P&gt;using export functionality present in ALV oops toolbar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when i choose download to local file it gives a dump 'OBJECTS_NOT_CHARLIKE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now this problem is due to quantity fields like KWMENG and KBMENG fields present in the output table.&lt;/P&gt;&lt;P&gt;If i comment out these statements while field catalog prepartion the export functionality works. Hence i believe there&lt;/P&gt;&lt;P&gt;must be more information that must be provide while field catalog preparation for &lt;U&gt;quantity&lt;/U&gt; &lt;U&gt;fields&lt;/U&gt; in ALV OOPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i am not able to understand. HEnce require help and guidance for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i Have prepared field catalog in following manner&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PERFORM f_create_fc_grid USING c_kwmeng     c_kwmeng  15      text-t23.

FORM f_create_fc_grid  USING us_fieldname TYPE  any
                             us_ref_field TYPE  any
                             us_op_length TYPE  any
                             us_seltext_l TYPE  any.


  CLEAR: e_fcat.

  MOVE   us_fieldname    TO   e_fcat-fieldname.

  MOVE   us_ref_field    TO   e_fcat-ref_field.

  MOVE   us_op_length    TO   e_fcat-outputlen.

  MOVE   us_seltext_l    TO   e_fcat-seltext.

  MOVE us_seltext_l TO e_fcat-coltext.

  APPEND e_fcat TO   i_fcat.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " F_CREATE_FC_GRID&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2009 11:18:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-export-functionality-in-alv-oops/m-p/6406648#M1407107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-20T11:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem regarding Export functionality in ALV OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-export-functionality-in-alv-oops/m-p/6406649#M1407108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Abishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try downloading the file via Menu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;system-&amp;gt;list-&amp;gt;save-&amp;gt;office&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This might work sometimes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2009 11:28:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-export-functionality-in-alv-oops/m-p/6406649#M1407108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-20T11:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem regarding Export functionality in ALV OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-export-functionality-in-alv-oops/m-p/6406650#M1407109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhishek,&lt;/P&gt;&lt;P&gt;    I faced similar problem once. Such dumps are due to quantity fields in the internal table.  Try giving the reference table for the quantity field in the &lt;STRONG&gt;'REF_TABLE'&lt;/STRONG&gt; field of the fieldcatalog, along with the 'REF_FIELD'. This helps in determining the length of the quantity field.  Hope, this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhavesh Solanki.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2009 14:30:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-export-functionality-in-alv-oops/m-p/6406650#M1407109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-23T14:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem regarding Export functionality in ALV OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-export-functionality-in-alv-oops/m-p/6406651#M1407110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abhishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have quantity fields in your ALV, please give REF_TABLE in the field catalog for that field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Avinash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2009 14:35:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-export-functionality-in-alv-oops/m-p/6406651#M1407110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-23T14:35:50Z</dc:date>
    </item>
  </channel>
</rss>

