<?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 Error in HR_KR_STRING_TO_XSTRING in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-hr-kr-string-to-xstring/m-p/6172112#M1371955</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;&lt;/P&gt;&lt;P&gt;I need to convert the string to xstring and using the function module HR_KR_STRING_TO_XSTRING , but I am getting the exception error while converting which says INVALID_STRING , but if I am passing the paramter CODEPAGE_TO  and passing the value 8300 it is not calling any exception but the xsting data which is further zipped and downloaded , the file data is corrupted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jatender&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Oct 2009 05:05:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-01T05:05:24Z</dc:date>
    <item>
      <title>Error in HR_KR_STRING_TO_XSTRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-hr-kr-string-to-xstring/m-p/6172112#M1371955</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;&lt;/P&gt;&lt;P&gt;I need to convert the string to xstring and using the function module HR_KR_STRING_TO_XSTRING , but I am getting the exception error while converting which says INVALID_STRING , but if I am passing the paramter CODEPAGE_TO  and passing the value 8300 it is not calling any exception but the xsting data which is further zipped and downloaded , the file data is corrupted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jatender&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 05:05:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-hr-kr-string-to-xstring/m-p/6172112#M1371955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T05:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error in HR_KR_STRING_TO_XSTRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-hr-kr-string-to-xstring/m-p/6172113#M1371956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi Jatendar,
Instead of &lt;STRONG&gt;HR_KR_STRING_TO_XSTRING&lt;/STRONG&gt; function module why don't you try this function module &lt;STRONG&gt;SCMS_STRING_TO_XSTRING&lt;/STRONG&gt;.
&lt;PRE&gt;&lt;CODE&gt;
       CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
         EXPORTING
           text   = content_s
         IMPORTING
           buffer = content_x.
&lt;/CODE&gt;&lt;/PRE&gt;

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 05:10:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-hr-kr-string-to-xstring/m-p/6172113#M1371956</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-10-01T05:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error in HR_KR_STRING_TO_XSTRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-hr-kr-string-to-xstring/m-p/6172114#M1371957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Usefulll&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 09:27:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-hr-kr-string-to-xstring/m-p/6172114#M1371957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-06T09:27:31Z</dc:date>
    </item>
  </channel>
</rss>

