<?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 SAP without UNICODE - is it possible in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-without-unicode-is-it-possible/m-p/4433979#M1052416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Iu2019m working with the NWRFCSDK (c/c++).&lt;/P&gt;&lt;P&gt;My problem is that I can connect to the SAP server only when I have u201CSAPwithUNICODEu201D preprocessor definition - without this the connection is always null.&lt;/P&gt;&lt;P&gt;I donu2019t think sap would make sdk without the option to work with non-unicode.&lt;/P&gt;&lt;P&gt;What do you say?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a code example:&lt;/P&gt;&lt;P&gt;int mainU(int argc, SAP_UC** argv){&lt;/P&gt;&lt;P&gt;	RFC_RC rc = RFC_OK;&lt;/P&gt;&lt;P&gt;	RFC_CONNECTION_PARAMETER loginParams[6];&lt;/P&gt;&lt;P&gt;	RFC_ERROR_INFO errorInfo;&lt;/P&gt;&lt;P&gt;	RFC_CONNECTION_HANDLE connection;&lt;/P&gt;&lt;P&gt;	RFC_FUNCTION_DESC_HANDLE bapiCompanyDesc;&lt;/P&gt;&lt;P&gt;	RFC_FUNCTION_HANDLE bapiCompany;&lt;/P&gt;&lt;P&gt;	RFC_STRUCTURE_HANDLE returnStructure;&lt;/P&gt;&lt;P&gt;	SAP_UC message[221];&lt;/P&gt;&lt;P&gt;	RFC_BYTE buffer[1105];&lt;/P&gt;&lt;P&gt;	unsigned utf8Len = 1105, resultLen;&lt;/P&gt;&lt;P&gt;	FILE* outFile;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	loginParams[0].name = cU("ashost");	loginParams[0].value = cU("hostname");&lt;/P&gt;&lt;P&gt;	loginParams[1].name = cU("sysnr");	loginParams[1].value = cU("05");&lt;/P&gt;&lt;P&gt;	loginParams[2].name = cU("client");	loginParams[2].value = cU("800");&lt;/P&gt;&lt;P&gt;	loginParams[3].name = cU("user");	loginParams[3].value = cU("user");&lt;/P&gt;&lt;P&gt;	loginParams[4].name = cU("lang");	loginParams[4].value = cU("JA");&lt;/P&gt;&lt;P&gt;	loginParams[5].name = cU("passwd");	loginParams[5].value = cU("1234");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	connection = RfcOpenConnection(loginParams, 6, &amp;amp;errorInfo);&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;	// as I specified this always returned as null when u201CSAPwithUNICODEu201D is not defined&lt;/P&gt;&lt;P&gt;if (connection == NULL) errorHandling(rc, cU("Error during logon"), &amp;amp;errorInfo, NULL);	&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Tx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 14 Sep 2008 15:51:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-14T15:51:45Z</dc:date>
    <item>
      <title>SAP without UNICODE - is it possible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-without-unicode-is-it-possible/m-p/4433979#M1052416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Iu2019m working with the NWRFCSDK (c/c++).&lt;/P&gt;&lt;P&gt;My problem is that I can connect to the SAP server only when I have u201CSAPwithUNICODEu201D preprocessor definition - without this the connection is always null.&lt;/P&gt;&lt;P&gt;I donu2019t think sap would make sdk without the option to work with non-unicode.&lt;/P&gt;&lt;P&gt;What do you say?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a code example:&lt;/P&gt;&lt;P&gt;int mainU(int argc, SAP_UC** argv){&lt;/P&gt;&lt;P&gt;	RFC_RC rc = RFC_OK;&lt;/P&gt;&lt;P&gt;	RFC_CONNECTION_PARAMETER loginParams[6];&lt;/P&gt;&lt;P&gt;	RFC_ERROR_INFO errorInfo;&lt;/P&gt;&lt;P&gt;	RFC_CONNECTION_HANDLE connection;&lt;/P&gt;&lt;P&gt;	RFC_FUNCTION_DESC_HANDLE bapiCompanyDesc;&lt;/P&gt;&lt;P&gt;	RFC_FUNCTION_HANDLE bapiCompany;&lt;/P&gt;&lt;P&gt;	RFC_STRUCTURE_HANDLE returnStructure;&lt;/P&gt;&lt;P&gt;	SAP_UC message[221];&lt;/P&gt;&lt;P&gt;	RFC_BYTE buffer[1105];&lt;/P&gt;&lt;P&gt;	unsigned utf8Len = 1105, resultLen;&lt;/P&gt;&lt;P&gt;	FILE* outFile;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	loginParams[0].name = cU("ashost");	loginParams[0].value = cU("hostname");&lt;/P&gt;&lt;P&gt;	loginParams[1].name = cU("sysnr");	loginParams[1].value = cU("05");&lt;/P&gt;&lt;P&gt;	loginParams[2].name = cU("client");	loginParams[2].value = cU("800");&lt;/P&gt;&lt;P&gt;	loginParams[3].name = cU("user");	loginParams[3].value = cU("user");&lt;/P&gt;&lt;P&gt;	loginParams[4].name = cU("lang");	loginParams[4].value = cU("JA");&lt;/P&gt;&lt;P&gt;	loginParams[5].name = cU("passwd");	loginParams[5].value = cU("1234");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	connection = RfcOpenConnection(loginParams, 6, &amp;amp;errorInfo);&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;	// as I specified this always returned as null when u201CSAPwithUNICODEu201D is not defined&lt;/P&gt;&lt;P&gt;if (connection == NULL) errorHandling(rc, cU("Error during logon"), &amp;amp;errorInfo, NULL);	&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Tx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2008 15:51:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-without-unicode-is-it-possible/m-p/4433979#M1052416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-14T15:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAP without UNICODE - is it possible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-without-unicode-is-it-possible/m-p/4433980#M1052417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i think it is not possible.&lt;/P&gt;&lt;P&gt;for Unicode related u can check the following thread...&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/Helpdata/EN/79/c55458b3dc11d5993800508b6b8b11/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/Helpdata/EN/79/c55458b3dc11d5993800508b6b8b11/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 06:30:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-without-unicode-is-it-possible/m-p/4433980#M1052417</guid>
      <dc:creator>KK07</dc:creator>
      <dc:date>2008-09-17T06:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAP without UNICODE - is it possible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-without-unicode-is-it-possible/m-p/4433981#M1052418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAP can works with or without UNICODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the system has UNICODE you can't change the RFC calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the greater part of the upgrades it's a key decision because of the interfaces with other systems. The clients select this option by majority&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 09:50:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-without-unicode-is-it-possible/m-p/4433981#M1052418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-17T09:50:37Z</dc:date>
    </item>
  </channel>
</rss>

