<?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: conversion error in JCo outbound call in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-error-in-jco-outbound-call/m-p/4241294#M1012363</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;error was due to definition of repository.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it was not supporting unicode system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Sep 2008 11:04:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-17T11:04:50Z</dc:date>
    <item>
      <title>conversion error in JCo outbound call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-error-in-jco-outbound-call/m-p/4241293#M1012362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;     i am working on making OUTBOUND call from SAP using JCo,&lt;/P&gt;&lt;P&gt;     our SAP system is Unicoded and i am refering Jco example 5 from JCo2.1.8 demo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    i am able to make connection successfully , but while running test ABAP program for testing connection, i am getting Short dump error headed : &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;              &lt;STRONG&gt;Conversion error "ECHOTEXT" from character set&lt;/STRONG&gt; &lt;STRONG&gt;4103 to character set 4102&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A conversion error occurred during the execution of a&lt;/STRONG&gt;      &lt;STRONG&gt;Remote Function&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;*Call. This happened either when the data was received *      &lt;STRONG&gt;or when it was&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;*sent. The latter case can only occur if the data is sent from * &lt;STRONG&gt;a Unicode&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;system to a non-Unicode system.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The current program had to be terminated because of an&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;error when installing the R/3 System.&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;P&gt;my ABAP prg. is this : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  REPORT  z_jco_test.

PARAMETERS: requtext LIKE sy-lisel.
*ECHOTEXT LIKE  SY-LISEL
**"              RESPTEXT LIKE  SY-LISEL
DATA: echotext type SYLISEL,
      resptext LIKE sy-lisel,
      rfctest TYPE TABLE OF rfctest,
      wa_rfctest TYPE rfctest.

wa_rfctest-rfcdata1 = requtext.
wa_rfctest-rfcdata2 = 'Hello World'.
APPEND wa_rfctest TO rfctest.

CALL FUNCTION 'RFC_PING'
  DESTINATION 'JCO'.

*CALL FUNCTION 'STFC_CONNECTION'
*  EXPORTING
*    requtext       =
** IMPORTING
**   ECHOTEXT       =
**   RESPTEXT       =
          .


CALL FUNCTION 'STFC_CONNECTION'
  DESTINATION 'JCO'
  EXPORTING
    requtext = requtext
  IMPORTING
    echotext = echotext
    resptext = resptext
  TABLES
    rfctest  = rfctest.

WRITE: 'Echo Text: ', echotext.
WRITE: 'Response Text: ', resptext.

LOOP AT rfctest INTO wa_rfctest.
  WRITE: / 'rfcdata1: ', wa_rfctest-rfcdata1.
  WRITE: / 'rfcdata2: ', wa_rfctest-rfcdata2.
ENDLOOP.  &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have made RFC connection unicode yes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please guide me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 06:18:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-error-in-jco-outbound-call/m-p/4241293#M1012362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-07T06:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: conversion error in JCo outbound call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-error-in-jco-outbound-call/m-p/4241294#M1012363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;error was due to definition of repository.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it was not supporting unicode system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 11:04:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-error-in-jco-outbound-call/m-p/4241294#M1012363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-17T11:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: conversion error in JCo outbound call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-error-in-jco-outbound-call/m-p/4241295#M1012364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helo!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a similar problem here. Could you please explain your solution in a bit more detail ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance, &lt;/P&gt;&lt;P&gt;Markus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 16:53:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-error-in-jco-outbound-call/m-p/4241295#M1012364</guid>
      <dc:creator>markus_theilen</dc:creator>
      <dc:date>2008-11-05T16:53:36Z</dc:date>
    </item>
  </channel>
</rss>

