<?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: OBJECTS_NOT_CHARLIKE : ALV export to local file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-not-charlike-alv-export-to-local-file/m-p/3714195#M894098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;while creating the field catalog u using only field ref_table. but ur also use ref_fieldname. Otehrwise u can not use both.&lt;/P&gt;&lt;P&gt;if ur using ref_table and not ref_fieldname program does not understand which field it refers to. so it may change to get the dumps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pavan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jun 2011 08:22:13 GMT</pubDate>
    <dc:creator>former_member774351</dc:creator>
    <dc:date>2011-06-13T08:22:13Z</dc:date>
    <item>
      <title>OBJECTS_NOT_CHARLIKE : ALV export to local file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-not-charlike-alv-export-to-local-file/m-p/3714190#M894093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a run time error 'OBJECTS_NOT_CHARLIKE ' when trying to export the ALV grid to a local file.&lt;/P&gt;&lt;P&gt;It works fine when I use the option 'Export to spread sheet'.&lt;/P&gt;&lt;P&gt;I have a few quantity fields and currency fields in the grid.Now, I don't want to change all these fields into character fields. I feel that there is something in the field catalog that I need to do and that I cannot recall now.&lt;/P&gt;&lt;P&gt;Any tips will be useful. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS : Quantity is a quan type field in table '/BIC/APCA_O0100'   and Balance is a currency type field in the same table. I am trying to use these fields as my reference field ,because I also need to do auto summation on some fields by referencing them.QUANTITY ,Sales &amp;amp; Balance are the only real fields in the DDIC table /BIC/APCA_O0100. Rest are just fields of the internal table - total_quantity,total_sales,cash,gascard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;perform append_catalog using 'QUANTITY' '/BIC/APCA_O0100' 'Qty' .
  perform append_catalog using 'SALES' '/BIC/APCA_O0100' 'Sales' .
  perform append_catalog using 'TOTAL_QUANTITY' '/BIC/APCA_O0100' 'Total Qty' .


  perform append_catalog using 'TOTAL_SALES' '/BIC/APCA_O0100' 'Total Sales' .
  perform append_catalog using 'CASH' '/BIC/APCA_O0100' ' Cash $' .
  perform append_catalog using 'GASCARD' '/BIC/APCA_O0100' 'Gas Card $' .

form append_catalog using value(p_fname)
                          value(p_tname)
                          value(p_coltext).

  data : v_fcat type lvc_s_fcat.
  v_fcat-fieldname = p_fname.
  v_fcat-ref_table = p_tname.

  if p_fname eq 'QUANTITY' or p_fname eq 'TOTAL_QUANTITY' .
    v_fcat-ref_field = 'QUANTITY' .
    v_fcat-do_sum = 'X'.
  endif.

  if p_fname eq 'GASCARD' or p_fname eq 'SALES' or p_fname eq 'TOTAL_SALES' or p_fname eq 'CASH'.
    v_fcat-ref_field = 'BALANCE' .
    v_fcat-do_sum = 'X'.
  endif.

  v_fcat-coltext   = p_coltext.

  append v_fcat to gi_fieldcat.
endform.                    "APPEND_CATALOG&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 14:41:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-not-charlike-alv-export-to-local-file/m-p/3714190#M894093</guid>
      <dc:creator>former_member125661</dc:creator>
      <dc:date>2008-04-29T14:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_NOT_CHARLIKE : ALV export to local file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-not-charlike-alv-export-to-local-file/m-p/3714191#M894094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to fill up&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 if p_fname eq 'QUANTITY' or p_fname eq 'TOTAL_QUANTITY' .
    v_fcat-quantity = &amp;lt;UOM value&amp;gt; ." Fill up the UOM for quantity
  endif.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 14:49:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-not-charlike-alv-export-to-local-file/m-p/3714191#M894094</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-04-29T14:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_NOT_CHARLIKE : ALV export to local file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-not-charlike-alv-export-to-local-file/m-p/3714192#M894095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did that earlier, filling the quantity UoM and currency UoM did not help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 14:52:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-not-charlike-alv-export-to-local-file/m-p/3714192#M894095</guid>
      <dc:creator>former_member125661</dc:creator>
      <dc:date>2008-04-29T14:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_NOT_CHARLIKE : ALV export to local file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-not-charlike-alv-export-to-local-file/m-p/3714193#M894096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shareen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you change all the fields of your itab that you are passing to the Reuse_ALV RFC to type 'Char' or 'String' then the dump problem won't occur.&lt;/P&gt;&lt;P&gt;Try that and lemme kno if it works...I dunno if this is the right way to do it.But mine worked when i did this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 06:01:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-not-charlike-alv-export-to-local-file/m-p/3714193#M894096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T06:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_NOT_CHARLIKE : ALV export to local file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-not-charlike-alv-export-to-local-file/m-p/3714194#M894097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;  You can use the SAP Standard  table name in the Place of FIELDNAME. The dump will not come.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 07:29:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-not-charlike-alv-export-to-local-file/m-p/3714194#M894097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T07:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_NOT_CHARLIKE : ALV export to local file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-not-charlike-alv-export-to-local-file/m-p/3714195#M894098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;while creating the field catalog u using only field ref_table. but ur also use ref_fieldname. Otehrwise u can not use both.&lt;/P&gt;&lt;P&gt;if ur using ref_table and not ref_fieldname program does not understand which field it refers to. so it may change to get the dumps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pavan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2011 08:22:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-not-charlike-alv-export-to-local-file/m-p/3714195#M894098</guid>
      <dc:creator>former_member774351</dc:creator>
      <dc:date>2011-06-13T08:22:13Z</dc:date>
    </item>
  </channel>
</rss>

