<?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 Run Time Error  while Transferring data to Application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-while-transferring-data-to-application-server/m-p/8370783#M1641927</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Abaper's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have generated a XML data using the FM : "  SAP_CONVERT_TO_XML_FORMAT ".&lt;/P&gt;&lt;P&gt;While transferring the data to a File on Application Server using the statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : wa_xmltab TYPE truxs_xml_line,&lt;/P&gt;&lt;P&gt;             it_xmltab TYPE truxs_xml_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET FNAME FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;  LOOP AT it_xmltab INTO wa_xmltab.&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;TRANSFER wa_xmltab TO FNAME&lt;/STRONG&gt;.    &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;  Getting Error here &lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;  MESSAGE e004(zmsg5) WITH 'File FNAME not opened'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLOSE DATASET FNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&lt;P&gt;&lt;STRONG&gt;The Run Time Error i am Facing is&lt;/STRONG&gt;   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Short text&lt;/P&gt;&lt;P&gt;    The current statement is only defined for character-type data objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;    For the statement&lt;/P&gt;&lt;P&gt;       "TRANSFER f TO ..."&lt;/P&gt;&lt;P&gt;    only character-type data objects are supported at the argument position&lt;/P&gt;&lt;P&gt;    "f".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    In this case. the operand "f" has the non-character-type "TRUXS_XML_LINE". The&lt;/P&gt;&lt;P&gt;    current program is a Unicode program. In the Unicode context, the type&lt;/P&gt;&lt;P&gt;    'X' or structures containing not only character-type components are&lt;/P&gt;&lt;P&gt;    regarded as non-character-type.&lt;/P&gt;&lt;P&gt;&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;jv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Dec 2011 14:35:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-12-06T14:35:12Z</dc:date>
    <item>
      <title>Run Time Error  while Transferring data to Application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-while-transferring-data-to-application-server/m-p/8370783#M1641927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Abaper's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have generated a XML data using the FM : "  SAP_CONVERT_TO_XML_FORMAT ".&lt;/P&gt;&lt;P&gt;While transferring the data to a File on Application Server using the statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : wa_xmltab TYPE truxs_xml_line,&lt;/P&gt;&lt;P&gt;             it_xmltab TYPE truxs_xml_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET FNAME FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;  LOOP AT it_xmltab INTO wa_xmltab.&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;TRANSFER wa_xmltab TO FNAME&lt;/STRONG&gt;.    &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;  Getting Error here &lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;  MESSAGE e004(zmsg5) WITH 'File FNAME not opened'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLOSE DATASET FNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&lt;P&gt;&lt;STRONG&gt;The Run Time Error i am Facing is&lt;/STRONG&gt;   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Short text&lt;/P&gt;&lt;P&gt;    The current statement is only defined for character-type data objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;    For the statement&lt;/P&gt;&lt;P&gt;       "TRANSFER f TO ..."&lt;/P&gt;&lt;P&gt;    only character-type data objects are supported at the argument position&lt;/P&gt;&lt;P&gt;    "f".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    In this case. the operand "f" has the non-character-type "TRUXS_XML_LINE". The&lt;/P&gt;&lt;P&gt;    current program is a Unicode program. In the Unicode context, the type&lt;/P&gt;&lt;P&gt;    'X' or structures containing not only character-type components are&lt;/P&gt;&lt;P&gt;    regarded as non-character-type.&lt;/P&gt;&lt;P&gt;&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;jv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 14:35:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-while-transferring-data-to-application-server/m-p/8370783#M1641927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-06T14:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Run Time Error  while Transferring data to Application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-while-transferring-data-to-application-server/m-p/8370784#M1641928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TRUXS_XML_LINE is defined:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
types : begin of truxs_xml_line,
            data(256) type x,
        end of truxs_xml_line.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could open the dataset in binary mode or convert the XML_LINE into a CHAR_LINE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 15:30:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-while-transferring-data-to-application-server/m-p/8370784#M1641928</guid>
      <dc:creator>former_member226519</dc:creator>
      <dc:date>2011-12-06T15:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Run Time Error  while Transferring data to Application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-while-transferring-data-to-application-server/m-p/8370785#M1641929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Convert the XML_LINE structure to a CHAR type.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 15:55:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-while-transferring-data-to-application-server/m-p/8370785#M1641929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-06T15:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Run Time Error  while Transferring data to Application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-while-transferring-data-to-application-server/m-p/8370786#M1641930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello  Volker Binder ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you . it's now transferring the data to Application sercver. I forgot to try using Binay mode, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thers is one more problem. There are 10 Records in that internal table that is being converted to XML format,&lt;/P&gt;&lt;P&gt;but the XML data is showing only first 4 records.... the XML data format for the remaining data is not seen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actual  No. of Records  in Internal table :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matnr            matkl          meins&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------" /&gt;&lt;P&gt;0-BUY1               012         PC&lt;/P&gt;&lt;P&gt;0-BUY2               012         PC&lt;/P&gt;&lt;P&gt;1                                EA&lt;/P&gt;&lt;P&gt;2                    012         L&lt;/P&gt;&lt;P&gt;3                    01          EA&lt;/P&gt;&lt;P&gt;12                               EA&lt;/P&gt;&lt;P&gt;23                   001         ST&lt;/P&gt;&lt;P&gt;24                   015`        EA&lt;/P&gt;&lt;P&gt;28                   010         EA&lt;/P&gt;&lt;P&gt;29                   015`        AU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XML Format for the above 10 fields is : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0"?&amp;gt;&amp;lt;TY_MARA&amp;gt;&amp;lt;TY_MARA&amp;gt;&amp;lt;MATNR Datatype="C" Length="36"&amp;gt;0-BUY1&amp;lt;/MATNR&amp;gt;&amp;lt;MATKL Datatype="C" Length="18"&amp;gt;012&amp;lt;/MATKL&amp;gt;&amp;lt;MEINS Datatype="C" Length="6"&amp;gt;PC&lt;/P&gt;&lt;P&gt;&amp;lt;/MEINS&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/TY_MARA&amp;gt;&amp;lt;TY_MARA&amp;gt;&amp;lt;MATNR Datatype="C" Length="36"&amp;gt;0-BUY2&amp;lt;/MATNR&amp;gt;&amp;lt;MATKL Datatype="C" Length="18"&amp;gt;012&amp;lt;/MATKL&amp;gt;&amp;lt;MEINS Datatype="C" Length="6"&amp;gt;&lt;/P&gt;&lt;P&gt;PC &amp;lt;/MEINS&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/TY_MARA&amp;gt;&amp;lt;TY_MARA&amp;gt;&amp;lt;MATNR Datatype="C" Length="36"&amp;gt;000000000000000001&amp;lt;/MATNR&amp;gt;&amp;lt;MEINS Datatype="C" Length="6"&amp;gt;EA&amp;lt;/MEINS&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/TY_MARA&amp;gt;&amp;lt;TY_MARA&amp;gt;&amp;lt;MATNR Datatype="C" Length="36"&amp;gt;000000000000000002&amp;lt;/MATNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This 4th record data in XML is also incomplete..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above XML format is generated only for 4 records  out of 10 Records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know , how can i increase the Size / Memory of the Application server file to accomodate for the reamining Records&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;Jv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 16:19:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-while-transferring-data-to-application-server/m-p/8370786#M1641930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-06T16:19:53Z</dc:date>
    </item>
  </channel>
</rss>

