<?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: Convert xstring to itab in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-xstring-to-itab/m-p/7249251#M1527344</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for answer, but is not the solution&lt;/P&gt;&lt;P&gt;first, and had been looking for, so I decided to ask the forum because I could not find the solution.&lt;/P&gt;&lt;P&gt;I have the data type, for example :&lt;/P&gt;&lt;P&gt;FF00700000121F9D0269DFFA7EDCC481F0BF62F5A12B45B7A76C1F4F772739E06CAD038C0CEC6DF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that it's come from one variable type rawstring  (reposrc-data) and represent source code.&lt;/P&gt;&lt;P&gt;and i need convert this data into itab, so i can use function  "INSERT REPORT prog FROM itab".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i don't know how to do  it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for answer anyway!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Sep 2010 18:43:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-03T18:43:59Z</dc:date>
    <item>
      <title>Convert xstring to itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-xstring-to-itab/m-p/7249248#M1527341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ! :&lt;/P&gt;&lt;P&gt;Well, i have to convert a xstring data ( reposrc-data ) into readable format.&lt;/P&gt;&lt;P&gt;I did a while ago but i can't remember how.&lt;/P&gt;&lt;P&gt;became the xstring and was kept in an itab.&lt;/P&gt;&lt;P&gt;I try with :&lt;/P&gt;&lt;P&gt;HR_RU_CONVERT_HEX_TO_STRING&lt;/P&gt;&lt;P&gt;SCMS_BINARY_TO_XSTRING&lt;/P&gt;&lt;P&gt;SCMS_XSTRING_TO_BINARY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but they don't work.&lt;/P&gt;&lt;P&gt;Do you know what function or method i need to use?&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Sep 2010 14:49:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-xstring-to-itab/m-p/7249248#M1527341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-03T14:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Convert xstring to itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-xstring-to-itab/m-p/7249249#M1527342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try LXE_COMMON_XSTRING_TO_STRNGTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Debaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Sep 2010 16:48:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-xstring-to-itab/m-p/7249249#M1527342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-03T16:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Convert xstring to itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-xstring-to-itab/m-p/7249250#M1527343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please search in SDN before posting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Sep 2010 18:07:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-xstring-to-itab/m-p/7249250#M1527343</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-09-03T18:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Convert xstring to itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-xstring-to-itab/m-p/7249251#M1527344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for answer, but is not the solution&lt;/P&gt;&lt;P&gt;first, and had been looking for, so I decided to ask the forum because I could not find the solution.&lt;/P&gt;&lt;P&gt;I have the data type, for example :&lt;/P&gt;&lt;P&gt;FF00700000121F9D0269DFFA7EDCC481F0BF62F5A12B45B7A76C1F4F772739E06CAD038C0CEC6DF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that it's come from one variable type rawstring  (reposrc-data) and represent source code.&lt;/P&gt;&lt;P&gt;and i need convert this data into itab, so i can use function  "INSERT REPORT prog FROM itab".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i don't know how to do  it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for answer anyway!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Sep 2010 18:43:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-xstring-to-itab/m-p/7249251#M1527344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-03T18:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Convert xstring to itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-xstring-to-itab/m-p/7249252#M1527345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass your xstring to SCMS_XSTRING_TO_BINARY get the binary_tab, then pass the binary tab to binary_tab in 'SCMS_BINARY_TO_TEXT'  and get the text in table TEXT_TAB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or use class cl_abap_conv_in_ce method create, pass the xstring to input and the encoding, after this call method &lt;STRONG&gt;read&lt;/STRONG&gt; of the same class and get your data in importing parameter &lt;STRONG&gt;data&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Sep 2010 19:03:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-xstring-to-itab/m-p/7249252#M1527345</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-09-03T19:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Convert xstring to itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-xstring-to-itab/m-p/7249253#M1527346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pablo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using &lt;STRONG&gt;HR_XSTRING TO STRING&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also try this link, online help could be of help to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Uploading Files and Manipulating their Content|http://help.sap.com/saphelp_nw04/helpdata/en/ba/78d3c747b24546ab1c1499a054d8a5/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Abhii&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Sep 2010 19:05:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-xstring-to-itab/m-p/7249253#M1527346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-03T19:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Convert xstring to itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-xstring-to-itab/m-p/7249254#M1527347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for all the answers, but i can't find a solution.&lt;/P&gt;&lt;P&gt;Abhii, i try with the link that you give me but doesn't work.&lt;/P&gt;&lt;P&gt;As result, that function return something like this : &lt;/P&gt;&lt;P&gt;y#p######issu&lt;SUB&gt;UeAe#d?bo!+E.Sec.l#Ow'9al####imubQA^#%a##/:pyjC&lt;/SUB&gt;#N##uAOessE"LVuf&amp;lt;ss#Cv5z#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same result for other functions like SCMS_BINARY_TO_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry to have taken their time.&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Sep 2010 13:07:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-xstring-to-itab/m-p/7249254#M1527347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-06T13:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Convert xstring to itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-xstring-to-itab/m-p/7249255#M1527348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pablo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to get rid of the special characters, then use &lt;STRONG&gt;REGEX&lt;/STRONG&gt; command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer below thread : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="thread" id="1777535"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Abhii&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Sep 2010 13:25:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-xstring-to-itab/m-p/7249255#M1527348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-06T13:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Convert xstring to itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-xstring-to-itab/m-p/7249256#M1527349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; thanks for all the answers, but i can't find a solution.&lt;/P&gt;&lt;P&gt;&amp;gt; Abhii, i try with the link that you give me but doesn't work.&lt;/P&gt;&lt;P&gt;&amp;gt; As result, that function return something like this : &lt;/P&gt;&lt;P&gt;&amp;gt; y#p######issu&lt;SUB&gt;UeAe#d?bo!+E.Sec.l#Ow'9al####imubQA^#%a##/:pyjC&lt;/SUB&gt;#N##uAOessE"LVuf&amp;lt;ss#Cv5z#&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; same result for other functions like SCMS_BINARY_TO_TEXT.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; sorry to have taken their time.&lt;/P&gt;&lt;P&gt;&amp;gt; Regards!&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So these data must have been &lt;EM&gt;serialized&lt;/EM&gt; (so you got them in xstring format) and now you will have to &lt;EM&gt;deserialize&lt;/EM&gt; them. For this you can use [CALL TRANSFORMATION|http://help.sap.com/abapdocu_70/en/ABAPCALL_TRANSFORMATION_SHORTREF.htm] but you must know the target type. This could be any data so you must know the source structure in order to deserialize it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Sep 2010 13:35:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-xstring-to-itab/m-p/7249256#M1527349</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-09-06T13:35:24Z</dc:date>
    </item>
  </channel>
</rss>

