<?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: Raw to Xstring conversion in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/raw-to-xstring-conversion/m-p/10694502#M1870324</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akriti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this below link:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/1778133"&gt;http://scn.sap.com/thread/1778133&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dipti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Nov 2014 10:18:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-11-14T10:18:54Z</dc:date>
    <item>
      <title>Raw to Xstring conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raw-to-xstring-conversion/m-p/10694500#M1870322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have raw data in an internal table. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;data&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;lo_conv &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ref &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;cl_abap_conv_obj&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lv_input_length &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;i&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;CREATE &lt;/SPAN&gt;OBJECT lo_conv&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;loop &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;at &lt;/SPAN&gt;lt_bin_data &lt;SPAN class="L0S52"&gt;into &lt;/SPAN&gt;ls_bin_data&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;lo_conv&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;convert&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inbuff&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;ls_bin_data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INBUFFLG&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lv_input_length&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outbufflg &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;25000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outbuff&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lv_xstring&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Using the above code i am converting raw data into type XSTRING.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But during the conversion it is converting 000000000000000 in the end with AAAAAAAAAAAAAAAAaaa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg. in ls_bin_data = 78932467865&lt;/P&gt;&lt;P&gt;as it is raw it is stored as 789324678650000000000000000000 i.e filling the remmaining space wuth zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And when i convert it in XSTRING it is replacing the ending zeroes with AAAAAA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any possibility that the field ls_bin_data doesnt append zeroes in the left out space.&lt;/P&gt;&lt;P&gt;that is 78932467865 should remain as 78932467865.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give ur comments. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://community.sap.com/1078/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Akriti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 10:04:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raw-to-xstring-conversion/m-p/10694500#M1870322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-14T10:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Raw to Xstring conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raw-to-xstring-conversion/m-p/10694501#M1870323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 10:11:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raw-to-xstring-conversion/m-p/10694501#M1870323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-14T10:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Raw to Xstring conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raw-to-xstring-conversion/m-p/10694502#M1870324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akriti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this below link:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/1778133"&gt;http://scn.sap.com/thread/1778133&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dipti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 10:18:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raw-to-xstring-conversion/m-p/10694502#M1870324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-14T10:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Raw to Xstring conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raw-to-xstring-conversion/m-p/10694503#M1870325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear&amp;nbsp; &lt;SPAN style="font-size: 13.6000003814697px;"&gt; &lt;/SPAN&gt;&lt;A _jive_internal="true" data-avatarid="-1" data-userid="750071" data-username="diptilata.rout" href="https://answers.sap.com/people/diptilata.rout" style="font-weight: bold; font-size: 11.1999998092651px; color: #8b8b8b; background: #ffffff;"&gt;Diptilata Rout&lt;/A&gt;&lt;SPAN style="color: #a9a9a9; font-size: 11.1999998092651px;"&gt; , &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please do not reply with links only. This is just spoon feeding and&amp;nbsp; evidence that the user did not search enough himself. It would be more beneficial for his future if you tell him how you&amp;nbsp; searched to find those discussions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A link shall support your own answer, but not replace your own answer. &lt;/P&gt;&lt;P&gt;You may want to read the blog &lt;A __default_attr="96643" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-orig-content="Posting links and the jungle you end up in.." href="https://community.sap.com/"&gt;&lt;/A&gt;and the comments to the blog to understand that it is really not a desired action &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 10:26:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raw-to-xstring-conversion/m-p/10694503#M1870325</guid>
      <dc:creator>JL23</dc:creator>
      <dc:date>2014-11-14T10:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Raw to Xstring conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raw-to-xstring-conversion/m-p/10694504#M1870326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jurgen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will surely take care of these things in future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dipti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 10:31:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raw-to-xstring-conversion/m-p/10694504#M1870326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-14T10:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Raw to Xstring conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raw-to-xstring-conversion/m-p/10694505#M1870327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dipti &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1078/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Now its working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 11:17:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raw-to-xstring-conversion/m-p/10694505#M1870327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-14T11:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Raw to Xstring conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raw-to-xstring-conversion/m-p/10694506#M1870328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok Aakriti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 12:37:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raw-to-xstring-conversion/m-p/10694506#M1870328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-14T12:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Raw to Xstring conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raw-to-xstring-conversion/m-p/10694507#M1870329</link>
      <description>&lt;P&gt;can you share the solution please ?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 13:37:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raw-to-xstring-conversion/m-p/10694507#M1870329</guid>
      <dc:creator>former_member719249</dc:creator>
      <dc:date>2021-09-06T13:37:18Z</dc:date>
    </item>
  </channel>
</rss>

