<?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: Downloading Data- Application Server. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/downloading-data-application-server/m-p/5413715#M1243094</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;From 'Unicode code check active'  programs, You will get this error while writing datas from WorkArea/internal table into Application server. The below data types should be changed to Char type of same technical width e.g type QUAN - length 13 -&amp;gt; Char(13)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QUAN&lt;/P&gt;&lt;P&gt;DEC&lt;/P&gt;&lt;P&gt;INT2&lt;/P&gt;&lt;P&gt;CURR&lt;/P&gt;&lt;P&gt;UNIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karthik.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Apr 2009 10:08:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-09T10:08:04Z</dc:date>
    <item>
      <title>Downloading Data- Application Server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/downloading-data-application-server/m-p/5413709#M1243088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  When I download data into application server am getting the following error UC_OBJECTS_NOT_CHARLIKE..&lt;/P&gt;&lt;P&gt;What can be the reason??&lt;/P&gt;&lt;P&gt;Am using the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET FILE FOR OUTPUT IN TEXT MODE ENCODING DEFAULT MESSAGE W_MESSAGE&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0&lt;/P&gt;&lt;P&gt;  LOOP AT IT_DOWNLOAD INTO WRK_DOWNLOAD.&lt;/P&gt;&lt;P&gt;    TRANSFER WRK_DOWNLOAD TO file  .    &lt;/P&gt;&lt;P&gt;  ENDLOOP.        &lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2009 08:00:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/downloading-data-application-server/m-p/5413709#M1243088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-09T08:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading Data- Application Server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/downloading-data-application-server/m-p/5413710#M1243089</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 thios code it will solve your issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DOWNLOAD FILE IN APPLICATION SERVER&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if : v_file is file path&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;it_line is the table which has all data in it&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;open dataset v_file for output in binary mode.
        if not sy-subrc is initial.
          retcode = sy-subrc.
          exit.
        endif.
        loop at it_tline.
          transfer it_tline to v_file.
        endloop.
        close dataset v_file.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;rahul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: RAHUL SHARMA on Apr 9, 2009 4:08 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2009 08:08:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/downloading-data-application-server/m-p/5413710#M1243089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-09T08:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading Data- Application Server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/downloading-data-application-server/m-p/5413711#M1243090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's the structure of wrk_download?  Does it contain any numeric fields?  You might have to convert them to text before downloading.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2009 08:08:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/downloading-data-application-server/m-p/5413711#M1243090</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2009-04-09T08:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading Data- Application Server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/downloading-data-application-server/m-p/5413712#M1243091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Please do this.....&lt;/P&gt;&lt;P&gt;If the Data in application server has any separators.....&lt;/P&gt;&lt;P&gt;declare itab&lt;/P&gt;&lt;P&gt;begin of itab,&lt;/P&gt;&lt;P&gt;   record(totallength),&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then using Data set append each and every line to the Internal table itab.&lt;/P&gt;&lt;P&gt;After doing that,&lt;/P&gt;&lt;P&gt;  Loop at itab.&lt;/P&gt;&lt;P&gt;     split itab-record into filed1 field2 field3 field4 (etc...).&lt;/P&gt;&lt;P&gt;     append it to the internal table you want.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2009 08:16:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/downloading-data-application-server/m-p/5413712#M1243091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-09T08:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading Data- Application Server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/downloading-data-application-server/m-p/5413713#M1243092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is mapping of Non CHAR to CHAR values , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UNCHAR objects to CHAR Like .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check ur data mapping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rhea.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2009 08:17:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/downloading-data-application-server/m-p/5413713#M1243092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-09T08:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading Data- Application Server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/downloading-data-application-server/m-p/5413714#M1243093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Renu,&lt;/P&gt;&lt;P&gt;Look at this,&lt;/P&gt;&lt;P&gt;It will solve your problems,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[regarding downloading data into application server|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1301512"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : cr_lf TYPE C,&lt;/P&gt;&lt;P&gt;DATA l_string type string.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CR_LF = CL_ABAP_CHAR_UTILITIES=&amp;gt;CR_LF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;OPEN DATASET P_DSNI FOR OUTPUT IN LEGACY TEXT MODE.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;  CONCATENATE ITAB-FIELD1 ITAB-FIELD2 CR_LF ITAB-ERRMSG CR_LF INTO l_STRING.&lt;/P&gt;&lt;P&gt;  TRANSFER l_string TO P_DSNI.&lt;/P&gt;&lt;P&gt;ENDLOOP..&lt;/P&gt;&lt;P&gt;CLOSE DATASET P_DSNI.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AND Please close your previous threads, Lets make the forums a better place.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Dileep .C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2009 08:20:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/downloading-data-application-server/m-p/5413714#M1243093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-09T08:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading Data- Application Server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/downloading-data-application-server/m-p/5413715#M1243094</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;From 'Unicode code check active'  programs, You will get this error while writing datas from WorkArea/internal table into Application server. The below data types should be changed to Char type of same technical width e.g type QUAN - length 13 -&amp;gt; Char(13)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QUAN&lt;/P&gt;&lt;P&gt;DEC&lt;/P&gt;&lt;P&gt;INT2&lt;/P&gt;&lt;P&gt;CURR&lt;/P&gt;&lt;P&gt;UNIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karthik.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2009 10:08:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/downloading-data-application-server/m-p/5413715#M1243094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-09T10:08:04Z</dc:date>
    </item>
  </channel>
</rss>

