<?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 Unicode Errors - Interface with non-Unicode 3rd party system in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-errors-interface-with-non-unicode-3rd-party-system/m-p/2003579#M408103</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone have an experience working with an interface between a Unicode SAP system and a non-Unicode 3rd party system? Would appreciate your input on existing data declaration and logic (prior to SAP Unicode conversion), if changes need to be made to the character types and upload/download functions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are doing our testing in a newly converted Unicode system which has interface sending files through SAP Business Connector, and uses TDAccess/COMM-PRESS to encrypt the payment file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are getting an COMM-PRESS error that it's not able to get the private key&lt;/P&gt;&lt;P&gt;ERR=&amp;gt;RC=107#Error building signature segment (S1A/S2A) ERR=&amp;gt;#Error getting private key: #PUBLIC KEY FINGERPRINT = , rc = 524 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue seems to be that the passphrase is not received correctly in COMM-PRESS (codepage 1100) from Unicode SAP (codepage 4102). The passphrase is uploaded from a text file (codepage 1100?) to T_PPLOC and then to W_PPLOC. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF T_PPLOC,&lt;/P&gt;&lt;P&gt;         FLINE(64) TYPE C,&lt;/P&gt;&lt;P&gt;       END OF T_PPLOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: W_PPLOC(64)  TYPE C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        FILENAME                = W_FILENAME&lt;/P&gt;&lt;P&gt;        FILETYPE                = 'BIN'&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        DATA_TAB                = T_PPLOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT T_PPLOC.&lt;/P&gt;&lt;P&gt;      IF W_PPLOC IS INITIAL.&lt;/P&gt;&lt;P&gt;        MOVE T_PPLOC-FLINE TO W_PPLOC.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        CONCATENATE W_PPLOC T_PPLOC-FLINE INTO W_PPLOC.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Comparing the results between a Unicode and non-Unicode system, the uploaded passphrase is different because of the codepage. But even if I convert the passphrase first from 1100 to 4102 codepage, it still fails.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Mar 2007 10:27:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-23T10:27:32Z</dc:date>
    <item>
      <title>Unicode Errors - Interface with non-Unicode 3rd party system</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-errors-interface-with-non-unicode-3rd-party-system/m-p/2003579#M408103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone have an experience working with an interface between a Unicode SAP system and a non-Unicode 3rd party system? Would appreciate your input on existing data declaration and logic (prior to SAP Unicode conversion), if changes need to be made to the character types and upload/download functions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are doing our testing in a newly converted Unicode system which has interface sending files through SAP Business Connector, and uses TDAccess/COMM-PRESS to encrypt the payment file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are getting an COMM-PRESS error that it's not able to get the private key&lt;/P&gt;&lt;P&gt;ERR=&amp;gt;RC=107#Error building signature segment (S1A/S2A) ERR=&amp;gt;#Error getting private key: #PUBLIC KEY FINGERPRINT = , rc = 524 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue seems to be that the passphrase is not received correctly in COMM-PRESS (codepage 1100) from Unicode SAP (codepage 4102). The passphrase is uploaded from a text file (codepage 1100?) to T_PPLOC and then to W_PPLOC. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF T_PPLOC,&lt;/P&gt;&lt;P&gt;         FLINE(64) TYPE C,&lt;/P&gt;&lt;P&gt;       END OF T_PPLOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: W_PPLOC(64)  TYPE C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        FILENAME                = W_FILENAME&lt;/P&gt;&lt;P&gt;        FILETYPE                = 'BIN'&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        DATA_TAB                = T_PPLOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT T_PPLOC.&lt;/P&gt;&lt;P&gt;      IF W_PPLOC IS INITIAL.&lt;/P&gt;&lt;P&gt;        MOVE T_PPLOC-FLINE TO W_PPLOC.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        CONCATENATE W_PPLOC T_PPLOC-FLINE INTO W_PPLOC.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Comparing the results between a Unicode and non-Unicode system, the uploaded passphrase is different because of the codepage. But even if I convert the passphrase first from 1100 to 4102 codepage, it still fails.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 10:27:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-errors-interface-with-non-unicode-3rd-party-system/m-p/2003579#M408103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-23T10:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode Errors - Interface with non-Unicode 3rd party system</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-errors-interface-with-non-unicode-3rd-party-system/m-p/2003580#M408104</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 this by sending value to the CODEPAGE parameter of the function module GUI_UPLOAD. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 13:03:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-errors-interface-with-non-unicode-3rd-party-system/m-p/2003580#M408104</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-03-23T13:03:26Z</dc:date>
    </item>
  </channel>
</rss>

