Downloading 108 spool files: Any FM?

Hello,
Need your help with downloading 108 spool files.
I have scheduled 108 jobs and now I have to download data of all these 108 spools into excel files (from various PRD systems).
One way is I go to System -> List -> Save -> Local File.
However I don't want to use this.
Neither I have option to create program in SE38, as I don't have access to same.
Please advice if theree is any standard program or function module which can help me in this.
Will be very thankful.
Regards,
Surpreet Singh Bal

http://www.sapfans.com/forums/viewtopic.php?f=13&t=316295
form download_selected tables lsporq type sp01r_tview
                       changing rs_selfield type slis_selfield.
  data: rqnum like sy-tabix,
        filename like rlgrap-filename,
        dw_rc type sy-subrc.     
  perform get_selected3 tables lsporq
                        using ' ' rs_selfield changing rqnum.
  if rqnum > 0.
    loop at lsporq where selected = 'X'.
      filename(3) = lsporq-sys.
      filename+3(10) = lsporq-rqid_char.
      filename+13(4) = '.TXT'.
      move-corresponding lsporq  to tsp01sys.
      call function 'RSPO_CHECK_OUTRQ_PERMISSION'
        exporting
          spoolreq = tsp01sys
          access   = 'DOWN'
        exceptions
          others   = 1.
      if sy-subrc <> 0.
        out_message ti.
*       MESSAGE i059 WITH tsp01sys-rqident tsp01sys-sys.
      else.
        gprog = 'RSPO_DOWNLOAD_SPOOLJOB'.
        if lsporq-sys = sy-sysid.
          call function 'RSPO_DOWNLOAD_SPOOLJOB'
            exporting
              id     = lsporq-rqident
              fname  = filename
            exceptions
              others = 1.
        else.
          call function 'RSPO_DOWNLOAD_SPOOLJOB'
            destination lsporq-sys
            exporting
              id                    = lsporq-rqident
              fname                 = filename
            exceptions
              communication_failure = 102  message msg_text
              system_failure        = 103  message msg_text
              others                = 1.
        endif.
        dw_rc = sy-subrc.        
        out_rfc_message lsporq-sys ti.
      endif.
    endloop.
    if dw_rc = 0.             
      message s028.
    endif.                     
  endif.
endform.                    "DOWNLOAD_SELECTED

Similar Messages

  • DOWNLOAD ALL SPOOL FILES

    Hi,
    We have scheduled a background job for archiving the data and would like to download all the spool files generated...
    There are about 300 spool files..instead of downloading each spool file data is there any way where we can download all the spool files at one time..
    Regds,
    Satyanarayana N.

    Hi Satya,
    Pretty simple. In SP01 Select all the relevant spools using select all option and then from menu select:
    Spool Request>Forward-->Export as text.
    The spools will get saved as seperate individual files under SAPWORKDIR which will located inside Documents and Settings for user (Windows).
    Regards.
    Ruchit.

  • Can I download a spool file from ALV payroll recon report in Fixed Ascii?

    We have a process that imports the spool files from our various nightly payroll recon reports but have recently upgraded to ECC 6.0 and the ALV formatted report does not appear to create a fixed format spool file - the width of the columns changes from spool to spool based on the contents.
    Does anyone know how to accomplish our need?
    Thanks,
    DeWayne

    Does the printer show up in the Windows Printers folder?  We've used PDF995 or Cute pdfwriter for years.  All of these create virtual windows printers.  When you print to them, a dialog box pops up asking for the filename for the pdf.  If you have Activex calls to Excel in order to open a file, you should be able to make ActiveX calls to print it to a print driver such as this.  I don't know if any of these drives have a way to bypass the filename dialog box.  That may take some research and experimentation.  I don't know where the postscript file comes into play in the scenario you are describing.

  • Downloading spool files FM

    Hello,
    Need your help with downloading 108 spool files.
    I have scheduled 108 jobs and now I have to download data of all these 108 spools into excel files (from various PRD systems).
    One way is I go to System -> List -> Save -> Local File.
    However I don't want to use this.
    Neither I have option to create program in SE38, as I don't have access to same.
    Please advice if theree is any standard program or function module which can help me in this.
    Will be very thankful.

    form download_selected tables lsporq type sp01r_tview
                           changing rs_selfield type slis_selfield.
      data: rqnum like sy-tabix,
            filename like rlgrap-filename,
            dw_rc type sy-subrc.     
      perform get_selected3 tables lsporq
                            using ' ' rs_selfield changing rqnum.
      if rqnum > 0.
        loop at lsporq where selected = 'X'.
          filename(3) = lsporq-sys.
          filename+3(10) = lsporq-rqid_char.
          filename+13(4) = '.TXT'.
          move-corresponding lsporq  to tsp01sys.
          call function 'RSPO_CHECK_OUTRQ_PERMISSION'
            exporting
              spoolreq = tsp01sys
              access   = 'DOWN'
            exceptions
              others   = 1.
          if sy-subrc  0.
            out_message ti.
          MESSAGE i059 WITH tsp01sys-rqident tsp01sys-sys.
          else.
            gprog = 'RSPO_DOWNLOAD_SPOOLJOB'.
            if lsporq-sys = sy-sysid.
              call function 'RSPO_DOWNLOAD_SPOOLJOB'
                exporting
                  id     = lsporq-rqident
                  fname  = filename
                exceptions
                  others = 1.
            else.
              call function 'RSPO_DOWNLOAD_SPOOLJOB'
                destination lsporq-sys
                exporting
                  id                    = lsporq-rqident
                  fname                 = filename
                exceptions
                  communication_failure = 102  message msg_text
                  system_failure        = 103  message msg_text
                  others                = 1.
            endif.
            dw_rc = sy-subrc.        
            out_rfc_message lsporq-sys ti.
          endif.
        endloop.
        if dw_rc = 0.             
          message s028.
        endif.                     
      endif.
    endform.                    "DOWNLOAD_SELECTED

  • Download/Open .pdf files with Windows 8.1 - Help needed urgently!

    Hi, all. I hope this is not a stupid question, but can someone please help with downloading/opening .pdf files?
    I am running Adobe Acrobat XI Pro, latest version (no updates available) on a Windows 8.1 platform. When I attempt to download a .pdf file (ANY .pdf file!), my system gives me this error message -
    "Adobe Acrobat does not support Internet Explorer's 64-bit mode. Either install the latest version of Adobe Reader, or disable 64-bit mode in Internet Explorer"
    I find this baffling. If I could find a later version of Reader than what I have, I would like to try it - but, Adobe updates tells me I have the latest version of Reader. Also, as above, I have the latest version of Acrobat - if Reader could support 64-bit, surely Acrobat XI Pro could?
    Can some kind person please help?

    Hi Peter,
    (I updated your title, so now help is indeed, "needed," and not "nedded." Been there myself plenty of times.)
    In any case, is it possible that you're running Reader X, and have the latest updates of that? If so, please consider downloading Reader XI, and make sure you're running version 11.0.07. And, this document offers instructions for setting up your browser to display PDFs when you're using Acrobat XI or Reader XI: Acrobat Help | Display PDF in browser | Acrobat, Reader XI
    Please let us know how it goes.
    Best,
    Sara

  • Downloading the spool

    Hi all,
    suppose i  have run a report in Background and generated a spool.
    How to download that spool file  into local file.
    thnak you
    sunny.

    hi
    you can use the FM , once the background job is schedules you can find the spool number
    in the system variable sy-spono pass that to this FM
    CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
        EXPORTING
          rqident              = spoolid
          first_line           = 1
          last_line            = 0
          desired_type         = ' '
        IMPORTING
          real_type            = real_type
          sp_lang              = sp_lang
        TABLES
          buffer               = so_table
        EXCEPTIONS
          no_such_job          = 1
          job_contains_no_data = 2
          selection_empty      = 3
          no_permission        = 4
          can_not_access       = 5
          read_error           = 6
          type_no_match        = 7
          OTHERS               = 8.

  • Thunderbird says "Unable to locate mail spool file."

    I am trying to use Thunderbird to get gmail. First attempts failed but going to gmail (webmail) I find Thunderbird is a "less secure APP". Set Gmail to work with "less secure APP" but now I get "thunderbird cannot locate spool file" I deleted Thunderbird and reinstalled it . Now I still get "Thunderbird cannot locate spool file"
    Any advice gratefully received!

    Is that the entire error message?
    Please post your Troubleshooting Information.
    AppMenu button - Help - Troubleshooting Information

  • I downloaded a word file from an inbox mail (the mail app) onto my iPad2, where is this file stored? How can I delete it if it takes up space in my iPad? Any ideas??

    I downloaded a word file from an inbox mail (the mail app) onto my iPad, where is this file stored? How can I delete it if it takes up space in my iPad? Any ideas??

    Did you ever figure out what happened?
    I had the same experience as you did, but in my case it was a big fat pdf that Mail insisted I had to download before I could view it. As happened with you, I saw the file actually downloading, and after a time I was able to view the pdf. It's been my assumption that the pdf is still somewhere on my iPad, but I have no idea where, nor how to delete it if it is still there.
    Thanks.

  • I am trying to install software for iTwin Connect, but after downloading the dmg file and launching the program, I receive a message saying the file can't open and to check my internet connection.  Any ideas?

    I am trying to install software for iTwin Connect, but after downloading the dmg file and launching the program, I receive a message saying the file can't open and to check my internet connection.  Any ideas?

    Many Thanks, Kurt.
    I knew I'd seen the solution you've provided somewhere - either in MacWorld or MacFormat - but couldn't remember the Gatekeeper bit!
    I shall save it somewhere VERY safe now in case this happens again …
    You have made an old man very happy and saved me from worrying that senile decay had suddenly set in. (I was 70 last week so you might understand the situation from that.)
    Best wishes
    OllyanDinah

  • When i download any file it start in a second but when i pause the downloading file & after some time when i open it amessage flash 'download error' source file could not be read please try again later or contact the server administrator.

    when i download any file it works frequently and downloading start in a second but when i pause the downloading file & after some time when i open it,The downloading not start proper and after some time a message flash 'download error' source file could not be read please try again later or contact the server administrator.

    I downloaded the Microsoft Autoruns package and ran it.  There are no programs in the LSA Providers tab, and Apple's Bonjour is the only program in the Winsock Providers tab.  I also did the "netsh winsock reset" and rebooted.  It didn't fix the problem.  Any more ideas?

  • I've just changed from a PC to a mac and have a large number of downloaded WMA music files (not i-tunes purchases) which I just can't get into my i-tunes library. File converters don't seem to work either. Any ideas?

    I've just changed from a PC to a mac and have a large number of downloaded WMA music files which I can't get into i-tunes. When the library was in Windows, i-tunes would convert the files automatically, but this doesn't happen now. I've downloaded a couple of file converters, but these don't seem to work either. Any ideas?

    iTunes for Windows (but not iTunes for Mac) can import and convert unprotected WMA tracks. If the tracks are protected by DRM (Digital Rights Management) then it will not accept them.
    One option would be to install iTunes on your PC, do the conversion, and then transfer the converted tracks from iTunes on your PC to iTunes on your Mac.

  • Hi. I have Lightroom 4 installed. I cannot download my CR2 files from the Canon 5D Mark III camera. I have downloaded Lightroom 5 thinking it was an update but it appears I have to pay for the program. Any ideas how I can get lightroom 4 to accept my CR2

    I have Lightroom 4 installed. I cannot download my CR2 files from the Canon 5D Mark III camera. I have downloaded Lightroom 5 thinking it was an update but it appears I have to pay for the program. Any ideas how I can get lightroom 4 to accept my CR2 files ?

    The Canon 5D Mk 111 was supported from LR 4.1, see the link below. Just update LR to the latest version. See link below
    Camera Raw plug-in | Supported cameras
    Adobe - Lightroom : For Windows
    Adobe - Lightroom : For Macintosh

  • Every time I have have Preview as my default pdf reader. I download a pdf file, i get a dark grey screen. Any suggestions?

    I have Preview as my default pdf reader. Every time I download a pdf file, I get a dark grey screen. Any suggestions?

    Hi,
    I also installed Adobe Reader because an ebook I downloaded wouldn't open without it.
    I then chose Adobe Reader as my default. When I later uninstalled it using the Trash Me app-which usually clears everything out-I couldn't get Preview back as the default.
    I went to the "Library/Internet plug-ins" path and trashed the two Adobe Reader plug ins that were there. I used Secure Empty Trash, and then shut down completely and did not check the box to reopen any windows. Then I restarted the Mac.
    I not only shut down Safari, I closed all applications and shut down the Mac completely being sure to uncheck the "relaunch with windows open" button. When I turned the Mac back on, I opened Safari and went to an online PDF that I had been trying to open previously to test the app. It opened this PDF using Preview and showed it in Safari.
    I then tested using a PDF from my files and it opened in Preview.
    Quit Safari.
    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type of copy / paste:   /Library/Internet Plug-Ins
    Click Go then move the Adobe PDF Browser plugin from the Internet Plug-Ins folder to the Trash.
    Relaunch Safari to test.

  • I just update my iPhone which was previously jailbreaked when i update it after downloading all the file it start to show the apple logo for a moment and it went and completely turned off i tried to connect through iTunes but it doesn't show any iPhone

    i just update my iPhone which was previously jailbreaked when i update it after downloading all the file it start to show the apple logo for a moment and it went and completely turned off i tried to connect through iTunes but it doesn't show any iPhone connected to itunes

    No support for jailbroken phones will be given in this forum or from Apple.
    Unauthorized modification of iOS has been a major source of instability, disruption of services, and…

  • New iMac running 10.8.3 and Safari 6.0.3. Can't download most files--even pdf. Get a full black screen and no download. Will download same undownloadable files if I use FireFox. Any help?

    New iMac running 10.8.3 and Safari 6.0.3. Can't download most files (even pdf) or applications. Get a full black screen and no download. Can successfully download the same files using FireFox. Have tried all the usual stuff--resetting Safari, etc. Any help?

    From the Safari menu bar, select
    Help ▹ Installed Plug-ins
    Besides the following, what plugins are listed?
    iPhotoPhotocast
    Java
    QuickTime
    Shockwave Flash
    WebKit built-in PDF

Maybe you are looking for

  • Is there a way for Itunes to compare your library to the music that is on the ipod?

    I have recently moved all my music to my laptop as my ipod may break any day now because it is so old and I wanted to organise my library so I don't lose any thing. Over the past few years I have manually been adding music to my ipod because it meant

  • My Mac did not restart after changing permissions of "everyone".

    The reason of my question is because somehow and for a reason I now regret, yesterday I did a very foolish thing: I decided to change the permissions of my hard drive. I have been in Mac just 2 months. I am the only User and Administrator of this Mac

  • Can't re-install iTunes on replaced HD

    I am having a great deal of trouble re-installing iTunes to my laptop after a hard disk replacement. I have downloaded and installed Version 10.6.3.25x64 five times now and each time I encounter the same messages as follows: "iTunes installer complet

  • Photoshop panel created with Flex question

    Hi everyone, Im trying to create a simple panel in Flex that you would be able to create a new PS document. I want to pass 4 parameters from Actionscript to my Javascript function. For some reason Im only able to pass one parameter, it will not work

  • When will SI 1249-4852 be updated?

    Come on Sony.  Please can you provide some sort of date as to when this mini pro will be updated?  We have been left in the dark using old software for far too long compared to the rest of our chums so please can you provide us with a hint of when we