<?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: CALL FUNCTION 'LIST_TO_ASCI' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-list-to-asci/m-p/4640154#M1092331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yesss! It works now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot, David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ádá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Aug 2009 11:30:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-28T11:30:11Z</dc:date>
    <item>
      <title>CALL FUNCTION 'LIST_TO_ASCI'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-list-to-asci/m-p/4640150#M1092327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i have written the code as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LIST_TO_ASCI'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   LIST_INDEX               = -1&lt;/P&gt;&lt;P&gt;   WITH_LINE_BREAK          = ' '&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    listasci                 = it_asc&lt;/P&gt;&lt;P&gt;   LISTOBJECT               = it_list&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   EMPTY_LIST               = 1&lt;/P&gt;&lt;P&gt;   LIST_INDEX_INVALID       = 2&lt;/P&gt;&lt;P&gt;   OTHERS                   = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now have to fetch only one value stored in the table it_list.How to fetch it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 06:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-list-to-asci/m-p/4640150#M1092327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T06:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: CALL FUNCTION 'LIST_TO_ASCI'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-list-to-asci/m-p/4640151#M1092328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; The ASCII list will be in the internal table "it_asc". You need to loop and identify the row you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at it_asc into wf_asc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;if sy-index = 1.&lt;/P&gt;&lt;P&gt;  Print "Row I want".&lt;/P&gt;&lt;P&gt;  Exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Best Regards,&lt;/P&gt;&lt;P&gt;Dinesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 08:32:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-list-to-asci/m-p/4640151#M1092328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T08:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: CALL FUNCTION 'LIST_TO_ASCI'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-list-to-asci/m-p/4640152#M1092329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, the listasci table of FM list_to_asci remains empty to me, although the contents of listobject table can be displayed correctly using FM DISPLAY_LIST. I can even see when debugging FM list_to_asci that when it scrolls through the lines of listobject, it is able to convert data into listasci, however, at the end this last variable is empty!&lt;/P&gt;&lt;P&gt;The way I call list_to_asci is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'LIST_TO_ASCI'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     LIST_INDEX               = -1&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    WITH_LINE_BREAK          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    LIST_STRING_ASCII        = asci_string&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    LIST_DYN_ASCII           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;     LISTASCI                 = asci_tab&lt;/P&gt;&lt;P&gt;     LISTOBJECT               = mem_tab&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     EMPTY_LIST               = 1&lt;/P&gt;&lt;P&gt;     LIST_INDEX_INVALID       = 2&lt;/P&gt;&lt;P&gt;     OTHERS                   = 3&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;By the way, the list object is from spool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help, pls??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2009 10:32:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-list-to-asci/m-p/4640152#M1092329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-28T10:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: CALL FUNCTION 'LIST_TO_ASCI'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-list-to-asci/m-p/4640153#M1092330</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;try to use follwing TYPE for your tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA asci_tab TYPE text180.
DATA mem_tab TYPE abaplist.

      CALL FUNCTION 'LIST_TO_ASCI'
        TABLES
          listasci           = asci_tab 
          listobject         = mem_tab 
        EXCEPTIONS
          empty_list         = 1
          list_index_invalid = 2
          OTHERS             = 3.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2009 10:36:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-list-to-asci/m-p/4640153#M1092330</guid>
      <dc:creator>former_member611006</dc:creator>
      <dc:date>2009-08-28T10:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: CALL FUNCTION 'LIST_TO_ASCI'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-list-to-asci/m-p/4640154#M1092331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yesss! It works now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot, David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ádá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2009 11:30:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-list-to-asci/m-p/4640154#M1092331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-28T11:30:11Z</dc:date>
    </item>
  </channel>
</rss>

