<?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: [Dump] Get the spool list in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-get-the-spool-list/m-p/1458411#M216544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Appana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for this but in fact, the data are stored in a complex way in those tablse. The logic to display them is in SAPMS380 which is called by RSSHOWRABAX but - yet again - through a CALL DIALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It means that I cannot get the spool list programmatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Guillaume&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jul 2006 08:42:46 GMT</pubDate>
    <dc:creator>guillaume-hrc</dc:creator>
    <dc:date>2006-07-25T08:42:46Z</dc:date>
    <item>
      <title>[Dump] Get the spool list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-get-the-spool-list/m-p/1458409#M216542</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;Isn't there a way to retrieve the spool list generated by transaction ST22OLD or ST22 using FM or classes ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that both are using CALL DIALOG which prevents me from getting this list. &lt;/P&gt;&lt;P&gt;I tried FM 'RS_SNAP_DUMP_DISPLAY' and some SUBMIT ... EXPORTING LIST without success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only option left - as I see it - is to write my own code based on SAPMS380 using:&lt;/P&gt;&lt;P&gt; Include MS380TOP&lt;/P&gt;&lt;P&gt; Subroutine PRODUCE_LIST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Guillaume&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 07:56:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-get-the-spool-list/m-p/1458409#M216542</guid>
      <dc:creator>guillaume-hrc</dc:creator>
      <dc:date>2006-07-25T07:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: [Dump] Get the spool list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-get-the-spool-list/m-p/1458410#M216543</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;Check this table : SNAP and database view : SNAP_BEG.&lt;/P&gt;&lt;P&gt;dump analysis , initial ALV contents are coming from this table only .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or check this program : RSSHOWRABAX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Appana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 08:30:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-get-the-spool-list/m-p/1458410#M216543</guid>
      <dc:creator>Laxmana_Appana_</dc:creator>
      <dc:date>2006-07-25T08:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: [Dump] Get the spool list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-get-the-spool-list/m-p/1458411#M216544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Appana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for this but in fact, the data are stored in a complex way in those tablse. The logic to display them is in SAPMS380 which is called by RSSHOWRABAX but - yet again - through a CALL DIALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It means that I cannot get the spool list programmatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Guillaume&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 08:42:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-get-the-spool-list/m-p/1458411#M216544</guid>
      <dc:creator>guillaume-hrc</dc:creator>
      <dc:date>2006-07-25T08:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: [Dump] Get the spool list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-get-the-spool-list/m-p/1458412#M216545</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;Here is a report that allows output of the list.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Report  ZGGAR_SNAP_VIEWER                                           *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;                                                                     *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*

INCLUDE rsshowrabax_top1.
INCLUDE rsshowrabax_class.

DATA: only_once         TYPE xfeld.
*DATA: second_language TYPE syst-langu.
DATA: ta_snap           TYPE TABLE OF snap.

FIELD-SYMBOLS: &amp;lt;ft&amp;gt;     TYPE ANY TABLE,
               &amp;lt;rs380&amp;gt;  TYPE ANY,
               &amp;lt;fs&amp;gt;     TYPE ANY.

SELECTION-SCREEN BEGIN OF BLOCK b WITH FRAME TITLE text-cs0.

PARAMETERS:
        p_datum  TYPE snap-datum         MEMORY ID st22_datum,
        p_uzeit  TYPE snap-uzeit         MEMORY ID st22_zeit,
        p_ahost  TYPE snap-ahost         MEMORY ID st22_host   DEFAULT sy-host,
        p_uname  TYPE snap-uname         MEMORY ID st22_name,
        p_mandt  TYPE snap-mandt         MEMORY ID st22_mandt  DEFAULT sy-mandt,
        p_xhold  TYPE snap-xhold         MEMORY ID st22_xhold,
        p_errid  TYPE snapt-errid        MEMORY ID st22_errid,
        p_prg    TYPE rdumpov-gprogram   MEMORY ID st22_prgname,
        p_except TYPE rdumpov-rexception MEMORY ID st22_except.

SELECTION-SCREEN END OF BLOCK b.

*------------------*
START-OF-SELECTION.
*------------------*

  SELECT * FROM snap INTO TABLE ta_snap
                     WHERE datum = p_datum
                       AND uzeit = p_uzeit
                       AND ahost = p_ahost
*                      AND modno = p_modno
                       AND mandt = p_mandt
                       AND uname = p_uname.

  SORT ta_snap.

  LOOP AT ta_snap INTO snap.
    PERFORM extract_strings_from_snap IN PROGRAM rsshowrabax.
  ENDLOOP.
  IF sy-subrc &amp;lt;&amp;gt; 0.
    RETURN.
  ENDIF.

  CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'zcsa/second_language'
                     ID 'VALUE' FIELD second_language.


* Set global variables from SNAP via table FT
  PERFORM set_variable IN PROGRAM rsshowrabax USING:
                    'FC'   cerrid,     "Current error id
                    'AI'   cinclu,     "Current include
                    'AL'   clinno,     "Current line number
                    'EN'   env,        "Environment
                    'US'   usr,        "User data
                    'XC'   exc_name.   "Exception name

  ASSIGN ('(RSSHOWRABAX)ft[]') TO &amp;lt;ft&amp;gt;.

  EXPORT ft              FROM &amp;lt;ft&amp;gt;
         cerrid          FROM cerrid
         exc_name        FROM exc_name
         cinclu          FROM cinclu
         clinno          FROM clinno
         env             FROM env
         usr             FROM usr
         second_language FROM second_language
  TO MEMORY ID 'St22_OLD_NEW'.

TOP-OF-PAGE.
  CHECK only_once IS INITIAL.

  only_once = 'X'.

  ASSIGN ('(SAPMS380)rs380') TO &amp;lt;rs380&amp;gt;.

  ASSIGN ('&amp;lt;rs380&amp;gt;-datum') TO &amp;lt;fs&amp;gt;. &amp;lt;fs&amp;gt; = p_datum.
  ASSIGN ('&amp;lt;rs380&amp;gt;-uzeit') TO &amp;lt;fs&amp;gt;. &amp;lt;fs&amp;gt; = p_uzeit.

  PERFORM page_top IN PROGRAM sapms380.

*------------------*
END-OF-SELECTION.
*------------------*

  PERFORM produce_list IN PROGRAM sapms380.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Guillaume&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 09:55:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-get-the-spool-list/m-p/1458412#M216545</guid>
      <dc:creator>guillaume-hrc</dc:creator>
      <dc:date>2006-12-14T09:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: [Dump] Get the spool list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-get-the-spool-list/m-p/1458413#M216546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ubelievable! 7 years later and this seems to be the only way...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 11:34:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-get-the-spool-list/m-p/1458413#M216546</guid>
      <dc:creator>OttoGold</dc:creator>
      <dc:date>2014-04-24T11:34:38Z</dc:date>
    </item>
  </channel>
</rss>

