<?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 Convert String into Bytes. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-string-into-bytes/m-p/6868575#M1476780</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 have a situtation where i need to convert string data containing alphanumeric characters.&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1234abcd**&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;represents a japanese character.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above string should be converted into bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The byte length may be 80 bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The requirement is to split the data into 45 bytes for the first variable and rest to another variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;PSNG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 May 2010 06:01:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-04T06:01:47Z</dc:date>
    <item>
      <title>Convert String into Bytes.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-string-into-bytes/m-p/6868575#M1476780</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 have a situtation where i need to convert string data containing alphanumeric characters.&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1234abcd**&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;represents a japanese character.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above string should be converted into bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The byte length may be 80 bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The requirement is to split the data into 45 bytes for the first variable and rest to another variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;PSNG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 06:01:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-string-into-bytes/m-p/6868575#M1476780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T06:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Convert String into Bytes.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-string-into-bytes/m-p/6868576#M1476781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Unicode it does not make sense to cut off after 45 bytes,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 06:08:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-string-into-bytes/m-p/6868576#M1476781</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2010-05-04T06:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Convert String into Bytes.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-string-into-bytes/m-p/6868577#M1476782</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;It may not possible to split but to convert you can&lt;/P&gt;&lt;P&gt;Check this Function module SCMS_STRING_TO_XSTRING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards and Best wishes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 06:09:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-string-into-bytes/m-p/6868577#M1476782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T06:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Convert String into Bytes.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-string-into-bytes/m-p/6868578#M1476783</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;Though not sure, but isnt the &lt;/P&gt;&lt;P&gt;"SHIFT gv_num by 45 places IN BYTE MODE"&lt;/P&gt;&lt;P&gt;working for your case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ags.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 06:12:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-string-into-bytes/m-p/6868578#M1476783</guid>
      <dc:creator>agnihotro_sinha2</dc:creator>
      <dc:date>2010-05-04T06:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Convert String into Bytes.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-string-into-bytes/m-p/6868579#M1476784</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;Thank you for the quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM SCMS_STRING_TO_XSTRING is converting the string data to buffer type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The requirement is to get the byte length and then to split the string data as per the byte length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;PSNG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: PSNG on May 4, 2010 12:06 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 06:36:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-string-into-bytes/m-p/6868579#M1476784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T06:36:02Z</dc:date>
    </item>
  </channel>
</rss>

