<?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: Using list from memory in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-list-from-memory/m-p/3101995#M736102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of using the program rabest01 use the program rabest_alv01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The line-size statement in the program being submitted dictates the length of the output imported from memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The line-size specified with the submit report statement is overridden by that which is specified in the submitted program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Dec 2007 15:03:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-05T15:03:58Z</dc:date>
    <item>
      <title>Using list from memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-list-from-memory/m-p/3101994#M736101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************&lt;/P&gt;&lt;P&gt;report ztest_098 line-size 500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : t_txt(1000) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : i_rspar type table of rsparams,&lt;/P&gt;&lt;P&gt;       i_list type table of abaplist,&lt;/P&gt;&lt;P&gt;       i_txt2 type table of t_txt,&lt;/P&gt;&lt;P&gt;       i_txt type list_string_table.&lt;/P&gt;&lt;P&gt;data : i_s_rspar type rsparams.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;submit rabest01&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VIA SELECTION-SCREEN&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   line-size 500&lt;/P&gt;&lt;P&gt;   with bukrs between 'BE10' and 'BE10'&lt;/P&gt;&lt;P&gt;   with srtvr eq '0007'&lt;/P&gt;&lt;P&gt;   with berdatum eq '20071130'&lt;/P&gt;&lt;P&gt;   with bereich1 eq '01'&lt;/P&gt;&lt;P&gt;   with summb eq 'X'&lt;/P&gt;&lt;P&gt;   with xeinzel eq space&lt;/P&gt;&lt;P&gt;   with xuntnr eq space&lt;/P&gt;&lt;P&gt;   exporting list to memory&lt;/P&gt;&lt;P&gt;     and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;call function 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    listobject = i_list&lt;/P&gt;&lt;P&gt;  exceptions&lt;/P&gt;&lt;P&gt;    not_found  = 1&lt;/P&gt;&lt;P&gt;    others     = 2.&lt;/P&gt;&lt;P&gt;if sy-subrc is initial.&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          = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   importing&lt;/P&gt;&lt;P&gt;     list_string_ascii = i_txt&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     LISTASCI        = i_txt2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      listobject               = i_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;  if sy-subrc is initial.&lt;/P&gt;&lt;P&gt;    break-point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue is that the list i_txt does not contain the full contents of a particular report line. It is shortened. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try the program chaning the parameter values in the submit statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program being submitted is the one used by AR01 for asset values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2007 14:45:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-list-from-memory/m-p/3101994#M736101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-05T14:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using list from memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-list-from-memory/m-p/3101995#M736102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of using the program rabest01 use the program rabest_alv01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The line-size statement in the program being submitted dictates the length of the output imported from memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The line-size specified with the submit report statement is overridden by that which is specified in the submitted program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2007 15:03:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-list-from-memory/m-p/3101995#M736102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-05T15:03:58Z</dc:date>
    </item>
  </channel>
</rss>

