<?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: how to convert a structure to string? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343453#M516736</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;rec1 (2500),&lt;/P&gt;&lt;P&gt;it_p0002 TYPE TABLE OF pa0002,&lt;/P&gt;&lt;P&gt;wa_p0002 LIKE LINE OF it_p0002,&lt;/P&gt;&lt;P&gt;table(15),&lt;/P&gt;&lt;P&gt;leng TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table = 'P0002'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;fs&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;ASSIGN (table) TO &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM pa0002 INTO wa_p0002 WHERE pernr = '1'.&lt;/P&gt;&lt;P&gt;MOVE-CORRESPONDING wa_p0002 TO &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Move &amp;lt;fs&amp;gt; to rec1.(this is working but still not getting the entire record its only moving 255 characters)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; please chek it out and tell a solution according to this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2007 10:04:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-08T10:04:02Z</dc:date>
    <item>
      <title>how to convert a structure to string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343449#M516732</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; I want to convert a structure to a string variable. we have a structure with length 1020 we want to convert it into string.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 09:32:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343449#M516732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T09:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a structure to string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343450#M516733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: LV_STRING TYPE STRING.
LV_STRING = WA_STR " (Your structure Name)
write: LV_STRING.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward.&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 09:35:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343450#M516733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T09:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a structure to string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343451#M516734</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;&lt;/P&gt;&lt;P&gt;It's nothing great to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just declare ur a vaiable of type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assign ur structure to string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : st1 type mara,&lt;/P&gt;&lt;P&gt;          s type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    string = st1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Simha.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful asnwers..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 09:41:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343451#M516734</guid>
      <dc:creator>Simha_</dc:creator>
      <dc:date>2007-06-08T09:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a structure to string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343452#M516735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;       If you know the structure that the table needs to be moved to then it is possible with assign..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls check the code below...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  yytest88 LINE-COUNT 20 NO STANDARD PAGE HEADING.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF ty_test,&lt;/P&gt;&lt;P&gt;         f1(10),&lt;/P&gt;&lt;P&gt;         f2(10),&lt;/P&gt;&lt;P&gt;       END OF ty_test.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA : wa_type(10) VALUE 'TY_TEST'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA : BEGIN OF itab OCCURS 0,&lt;/P&gt;&lt;P&gt;         f(20),&lt;/P&gt;&lt;P&gt;       END OF itab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA : BEGIN OF itab1 OCCURS 0,&lt;/P&gt;&lt;P&gt;         f(35),&lt;/P&gt;&lt;P&gt;       END OF itab1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS : &amp;lt;fs1&amp;gt; TYPE any.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS : &amp;lt;fs2&amp;gt; TYPE any.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS : &amp;lt;fs3&amp;gt; TYPE any.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;itab-f = '12345678901234567890'.&lt;/P&gt;&lt;P&gt;APPEND itab.&lt;/P&gt;&lt;P&gt;itab-f = '09876543210987654321'.&lt;/P&gt;&lt;P&gt;APPEND itab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;LOOP AT itab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  ASSIGN itab-f TO &amp;lt;fs1&amp;gt; CASTING TYPE (wa_type).&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    do.&lt;/P&gt;&lt;P&gt;      assign component sy-index of structure &amp;lt;fs1&amp;gt; to &amp;lt;fs2&amp;gt;.&lt;/P&gt;&lt;P&gt;      if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;        if itab1-f is initial.&lt;/P&gt;&lt;P&gt;          concatenate itab1-f &amp;lt;fs2&amp;gt; into itab1-f.&lt;/P&gt;&lt;P&gt;        else.&lt;/P&gt;&lt;P&gt;          concatenate itab1-f &amp;lt;fs2&amp;gt; into itab1-f separated by 'BREAK'.&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;      else.&lt;/P&gt;&lt;P&gt;        exit.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;    enddo.&lt;/P&gt;&lt;P&gt;    APPEND itab1.&lt;/P&gt;&lt;P&gt;    clear : sy-subrc, itab1-f.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;LOOP AT itab1.&lt;/P&gt;&lt;P&gt;  WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; itab1-f.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&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, 08 Jun 2007 09:42:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343452#M516735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T09:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a structure to string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343453#M516736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;rec1 (2500),&lt;/P&gt;&lt;P&gt;it_p0002 TYPE TABLE OF pa0002,&lt;/P&gt;&lt;P&gt;wa_p0002 LIKE LINE OF it_p0002,&lt;/P&gt;&lt;P&gt;table(15),&lt;/P&gt;&lt;P&gt;leng TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table = 'P0002'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;fs&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;ASSIGN (table) TO &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM pa0002 INTO wa_p0002 WHERE pernr = '1'.&lt;/P&gt;&lt;P&gt;MOVE-CORRESPONDING wa_p0002 TO &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Move &amp;lt;fs&amp;gt; to rec1.(this is working but still not getting the entire record its only moving 255 characters)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; please chek it out and tell a solution according to this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 10:04:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343453#M516736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T10:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a structure to string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343454#M516737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hari , &lt;/P&gt;&lt;P&gt;  Here is the code for the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;rec1(2500),&lt;/P&gt;&lt;P&gt;it_p0002 TYPE TABLE OF pa0002,&lt;/P&gt;&lt;P&gt;wa_p0002 LIKE LINE OF it_p0002,&lt;/P&gt;&lt;P&gt;table(15),&lt;/P&gt;&lt;P&gt;leng TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table = 'P0002'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;fs&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;ASSIGN (table) TO &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM pa0002 INTO wa_p0002 WHERE pernr = '1'.&lt;/P&gt;&lt;P&gt;MOVE wa_p0002 TO rec1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ rec1+0(200) ,&lt;/P&gt;&lt;P&gt;      / rec1+200(200) ,&lt;/P&gt;&lt;P&gt;      / rec1+400(200).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you try to print rec1 then it will display only 255 char , so you need to use offset to get the entire stuff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 10:12:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343454#M516737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T10:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a structure to string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343455#M516738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;it didnt work the code you have send  had errors&lt;/P&gt;&lt;P&gt;MOVE wa_p0002 TO rec1. here wa_p0002 is a structure and rec1 is a string &lt;/P&gt;&lt;P&gt;it is showing the following error&lt;/P&gt;&lt;P&gt;                                                               &lt;/P&gt;&lt;P&gt;The data object cannot be converted to a character-type object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 10:23:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343455#M516738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T10:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a structure to string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343456#M516739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hari , &lt;/P&gt;&lt;P&gt;  It might be some version conflicts , as the program worked fine in my system , any why replace the write statement with the one below&lt;/P&gt;&lt;P&gt;write:/ wa_p0002+0(200) ,&lt;/P&gt;&lt;P&gt;      / wa_p0002+200(200) ,&lt;/P&gt;&lt;P&gt;      / wa_p0002+400(200).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and do tell the result.&lt;/P&gt;&lt;P&gt;Assign points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 10:28:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343456#M516739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T10:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a structure to string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343457#M516740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hari&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every solution thus far provided will run you into trouble as soon as you convert to &amp;lt;b&amp;gt;Unicode &amp;lt;/b&amp;gt;system. Therefore if you are already working on SAP release &amp;lt;b&amp;gt;&amp;gt;= 6.20&amp;lt;/b&amp;gt; (4.70) then you should use the methods of class &amp;lt;b&amp;gt;CL_ABAP_CONTAINER_UTILITIES&amp;lt;/b&amp;gt;, in your case use method &amp;lt;b&amp;gt;FILL_CONTAINER_C&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 10:36:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343457#M516740</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-06-08T10:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a structure to string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343458#M516741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TRY SUMTHING LIKE DIS:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF IT,&lt;/P&gt;&lt;P&gt;FIELD1(4) TYPE C,&lt;/P&gt;&lt;P&gt;FIELD2 TYPE I,&lt;/P&gt;&lt;P&gt;END OF IT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IT-FIELD1 = 'A1'.&lt;/P&gt;&lt;P&gt;IT-FIELD2 = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA ZSTR(20) TYPE C.&lt;/P&gt;&lt;P&gt;DATA A TYPE I.&lt;/P&gt;&lt;P&gt;DATA B TYPE I.&lt;/P&gt;&lt;P&gt;DATA ZSTR1 TYPE C.&lt;/P&gt;&lt;P&gt;MOVE IT-FIELD1 TO ZSTR.&lt;/P&gt;&lt;P&gt;A = STRLEN( ZSTR ).&lt;/P&gt;&lt;P&gt;MOVE IT-FIELD2 TO ZSTR1.&lt;/P&gt;&lt;P&gt;B = STRLEN( ZSTR1 ).&lt;/P&gt;&lt;P&gt;MOVE IT-FIELD2 TO ZSTR+A(ZSTR1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE ZSTR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RGDS.&lt;/P&gt;&lt;P&gt;REWARD POINTS IF IT HELPS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 10:39:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343458#M516741</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2007-06-08T10:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a structure to string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343459#M516742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;         Use the following FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          Data : v_string type string length 1020.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         CALL FUNCTION 'SO_STRUCT_TO_CHAR'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;                   ip_struct       = structure name &lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;                    EP_STRING        =  v_String.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          Hope this helps.&lt;/P&gt;&lt;P&gt;          Reward Points if useful....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Jitendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 10:52:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343459#M516742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T10:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a structure to string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343460#M516743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this would be the correct method. &lt;/P&gt;&lt;P&gt;But, Can you please tell me, how to use the above method in situations such as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select * from PA0002&lt;/P&gt;&lt;P&gt;into table li_infotype_records&lt;/P&gt;&lt;P&gt;for all entries in...............&lt;/P&gt;&lt;P&gt;where  pernr=......................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PA0002 - is a structure having both type 'c' fields and type 'p' fields.&lt;/P&gt;&lt;P&gt;li_infotype_records is a String.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please respond.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 14:38:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-a-structure-to-string/m-p/2343460#M516743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T14:38:23Z</dc:date>
    </item>
  </channel>
</rss>

