<?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: Typecasting Variables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/typecasting-variables/m-p/841214#M44266</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare a character variable and assign the string to it. I do not remember what is the size limit for a char variable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vstring      type string,&lt;/P&gt;&lt;P&gt;vchar(128)   type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vcharr = vstring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your string is larger, see FM STRING_SPLIT. You may have to call this in a loop until the complete string is processed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ramki.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 May 2005 19:04:26 GMT</pubDate>
    <dc:creator>ramki_maley</dc:creator>
    <dc:date>2005-05-18T19:04:26Z</dc:date>
    <item>
      <title>Typecasting Variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/typecasting-variables/m-p/841213#M44265</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;I want to type cast a variable in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a variable of type STRING.  I want to pass this string to the function module 'STRING_SPLIT_AT_POSITION'.  However, this function takes in a type C.  How can I convert (or type cast) my STRING to C in ABAP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2005 17:38:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/typecasting-variables/m-p/841213#M44265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-18T17:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Typecasting Variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/typecasting-variables/m-p/841214#M44266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare a character variable and assign the string to it. I do not remember what is the size limit for a char variable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vstring      type string,&lt;/P&gt;&lt;P&gt;vchar(128)   type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vcharr = vstring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your string is larger, see FM STRING_SPLIT. You may have to call this in a loop until the complete string is processed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ramki.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2005 19:04:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/typecasting-variables/m-p/841214#M44266</guid>
      <dc:creator>ramki_maley</dc:creator>
      <dc:date>2005-05-18T19:04:26Z</dc:date>
    </item>
  </channel>
</rss>

