Changing the file format of spool output when scheduling a background job.

Hello Experts,
I have an issue. It is related to Spool output format. I created a job for one report program for which the output is a list output. I have added one recipient in the 'Spool list recipient' while creating the job SM36. After the job is finished the spool output is sent to the recipient mail id as .htm format as an attachment. But the attachment should be excel sheet or text file. No coding in the program should be used to convert the file format. Only settings in the spool while creating job should be manipulated. Please help me in solving this issue.
Regards.

Hi Sunil,
You can use the logic for converting spool to PDF using program : RSTXPDFT4 . Alternatively you can use FM: CONVERT_ABAPSPOOLJOB_2_PDF . In this FM you need to pass the Spool id .
u can make use of these FM's SO_DOCUMENT_SEND_API1
SO_NEW_DOCUMENT_SEND_API1
Check out the following wiki:
https://wiki.sdn.sap.com/wiki/display/Snippets/ConvertsspoolrequestintoPDFdocumentand+emails
hope this will use full to you.
Thanks!!

Similar Messages

  • Changing the file format

    hi guys,
    i hv a requirnment in which i need to read a file which is in .CGL format on a shared network path or application server which is nt possible to read directly so i need to first change the format of the file to .CSV and then read it using the FM KCD_CSV_FILE_TO_INTERN_CONVERT .
    so plz  tel me how to change the file extension
    thanks
    shivraj

    Not quite sure how you arrived at conclusion that CGL must be converted to CSV... CGL might turn out to be just a plain text file (e.g. many log files have .LOG extension but are just plain texts), in which case you can simply read it directly. Whether you'll be able to make sense of the file data - is another question and it depends on what is in that CGL file. Again, conversion to CSV might not even help.
    If CGL file is a proprietary format, you might not be able to read it in SAP at all without using some third-party tool.
    More info on CGL extension:
    http://pcsupport.about.com/od/fileextensions/f/cglfile.htm

  • How can I change the file format in iTunes 11?

    It seems the Convert to .. function which was available when right clicking a song is no longer there.  How can you convert an AAC to MP3 for instance?

    Assegai Guy, 
    It is still there but it looks a little different in iTunes 11.  The "Create New Version" command is now in the File menu instead of the Advanced menu.
    Here is a link to the revised support guide:  http://support.apple.com/kb/PH12367

  • Some records are missing in the mail, when scheduled a background job.

    There is a Z report,  which will display some details from SD, MM , WM every day , and the same thing need to be mailed to the user through background Job.
    Issue is that spool is correct and it is missing some records ( Billing due list ), even internal table have records and displayed in the spool , in the mail it says
    “No Entries Found”.
    Is there any chance of debugging background job.
    Good thing is that when executed in foreground it is working fine. Both mail and report display.

    EM_BODY = '4) VF04 -- Processing Billing document due list.'.
      APPEND EM_BODY.
      EM_BODY = ' '.
      APPEND EM_BODY.
      IF IT_FINAL3[] IS INITIAL.
        EM_BODY = '        No Entry Found'.
        APPEND EM_BODY.
        EM_BODY = ' '.
        APPEND EM_BODY.
      ELSE.
        CONCATENATE 'Delivery No' 'Created By' 'Created On'
                     'Reason' INTO HEAD SEPARATED BY '     '.
        EM_BODY = HEAD.
        APPEND EM_BODY.
        EM_BODY = ' '.
        APPEND EM_BODY.
        CLEAR V_TEXT.
        CLEAR ITEM.
        LOOP AT IT_FINAL3.
          CONCATENATE IT_FINAL3-VBELN  IT_FINAL3-ERNAM IT_final3-ERDAT
                      IT_FINAL3-RESO INTO ITEM SEPARATED BY '     '.
          V_TEXT = ITEM.
          EM_BODY = V_TEXT.
          APPEND EM_BODY.
        ENDLOOP.
        EM_BODY = ' '.
        APPEND EM_BODY.
      ENDIF.
    This is the part where it is failing, where it_final3[] is initial.
    but whereas in the spool i can view those records.

  • How to change the file format

    I have an Issue.
    When I create an Outbound Delivery in VL01 my file path is getting update.
    But it is updating in format of Idoc Message Type "WHSORD" and Basic Type "Delivery03".
    Now I want to change my format from Idoc type to my Custom format.
    Do you have any suggestion where I need to do my Enhancement or to Implement and BADI.
    Thanks in Advance.
    Thanks & Regards
    Nickel

    I have an Issue.
    When I create an Outbound Delivery in VL01 my file path is getting update.
    But it is updating in format of Idoc Message Type "WHSORD" and Basic Type "Delivery03".
    Now I want to change my format from Idoc type to my Custom format.
    Do you have any suggestion where I need to do my Enhancement or to Implement and BADI.
    Thanks in Advance.
    Thanks & Regards
    Nickel

  • Changing the file extension in Oracle Spool

    Hi All,
    I need to spool some specific data for the entire year. I'm using date parameter for selecting the month wise data.
    In single parameter I’m retrieving file_name,From_date and to_date.
    But by default spool file is getting generated with .lst extension, Please let me know if any one has any idea for changing the file extension in spool, Below is code for your reference.
    SET heading off;
    SET termout off;
    DEFINE L_DATE=&P_DATE; --here I’m passing Month and year value e.g. ‘JAN-09’
    DEFINE L_FILENAME='Invoice_Header_&L_DATE';
    SPOOL d:/&L_FILENAME;
    SELECT invoice_id || invoice_date
      FROM apps.ap_invoices_all
    WHERE invoice_date >= '01-&L_DATE'
      AND invoice_date <= last_day('01-&L_DATE')
    AND ROWNUM <= 2;
    SPOOL off;   Thanks in Advance,
    Arun

    Thanks Saubhik for replying.
    I got the solution at
    http://www.dbforums.com/oracle/886693-spool-text-file.html
    Regards,
    Arun
    Edited by: user2988171 on Oct 19, 2010 4:04 PM

  • Batch Changing iPhoto File Formats

    I have scanned a few thousand photos and imported them to my iPhoto library. 90% of them are saved in Photoshop format. Most of these photos have comments, locations, and face IDs, The date has been changed to the date the photo was taken.
    How can I change the file format from Photoshop to JPEG and retain the data that currently exists?

    What settings exactly are you using in the Export window?
    There is no way to write Faces Information to a file. Simply there is no standard for sharing this information yet. The workaround is to use keywords. This is true of all Faces type technology on all systems.
    If your goal is "improved response time and more stable iPhoto Library" then the changing the file format is not what you need to do. I would be looking to other things.
    Can you describe the symptoms you are having?
    Regards
    TD

  • When bates numbering a .pdf in XI, how can I change the file name to include the bates number AND its name?  I know under file output, there is an option for either/or.  I want both.  Thank you.

    when bates numbering a .pdf in XI, how can I change the file name to include the bates number and the file name?  I know under "file output: it's either/or.  I need both.  Thanks!

    Long ago I wrote a little demo using the touch command. Check out the following thread:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=25128#M25128
    LabVIEW Champion . Do more with less code and in less time .

  • Does the file format differ when you Publish locally to hard drive vs. to the Connect Pro server?

    I notice that when I publish locally to my hard drive to review a set of slides, I see a folder full of files. If I click on index.htm within the folder, I can launch the slides.
    When I publish to the Adobe Connect Pro server, I merely see a url for the link to the course.
    I'm not sure what this url link represents (as far as the file format is concerned):
    Has the presentation been converted to different file format than what is published on my local drive? If so, what format is it in?
    If  the presentation has not been converted, does the directory structured published to my local drive get replicated on the Adobe Connect Pro server, and the url is merely a link to the "starting file " within that folder (say, index.htm)?

    The published output does not differ between publishing locally and publishing to Connect. The URL on the Connect server does, ultimately, point to the Index.htm or viewer.swf file.

  • Tried to "Open As" in PS a NEF file I modified in LR.  Got the following error message:  "Could not complete your request because the file format module cannot parse the file."  I can "Open" the file in PS, but then the changes I made in LR (and saved in

    Tried to "Open As" in PS a NEF file I modified in LR.  Got the following error message:  "Could not complete your request because the file format module cannot parse the file."  I can "Open" the file in PS, but then the changes I made in LR (and saved in the associated meta data file with the "Control S" command) are not applied to the opened PS file.  HELP!

    If you are working with a file you modified in Lightroom, you should go to the Lightroom Photo menu and choose Edit in... and the version of Photoshop you want to open it in.
    There a dialog will ask if you want to transfer the LR settings you made to your photo when you open in Photoshop.
    Gene

  • I had this video file and I was trying to flip it to a format that would work with iMovie.  It used to have the Quicktime image with it.  So, I assume it was a QT file.  But, somehow I've changed the file from a video to a folder.

    I had a video file and I was trying to flip it to a format that would work with iMovie.  It used to have the Quicktime image with it.  So, I assume it was a QT file.  But, somehow I've changed the file from a video to a folder.  I've tried to undo the action.  No luck.  I wasn't running my Time Machine.  So, I can't go back.  Help.  It's the only copy of this video.

    I've tried to undo the action.
    How?
    Please detail ALL you have done so far in the way of troubleshooting?   Need this info to avoid the been there done that scenarios.
    it's the only copy of this video.
    Where did you get the video from?
    From the pic I noticed that the folder is 841.9mb.  What's inside?  Or what happens when you click on it?

  • Why Acrobat x professional is changing the text formatting specifically the font family  and the font size of the text in my pdf on exporting it to Microsoft word file format ?How should i stop Acrobat x professional from doing that so that i get an exact

    Why Acrobat x professional is changing the text formatting specifically the font family  and the font size of the text in my pdf on exporting it to Microsoft word file format ?How should i stop Acrobat x professional from doing that so that i get an exactly same word file on exporting it from its pdf counterpart?

    I was testing the preciseness & efficiency of Adobe acrobat x professional's doc conversion capabilities. As i have to take a document editing project in future which is going to need lot of pdf to word and vice versa conversions . What I did was I created a test word document converted into a pdf using a pdf maker in my word 2007 , Acrobat did convert the document from word to pdf keeping everything in the source file intact , However when i tried the other way round and attempted to convert the same pdf to word 2007 file format I lost my formatting ?So the font that I used to create the pdf are the ones taken from word 2007 which i believe is using the fonts that are installed in my computer. Any suggestions on how to preserve the formatting of the document after converting it from pdf to word file format?
    Regards
    Mike

  • My computer is saying it can't find the file 'iTunes64.msi' when I try to update or redownload iTunes how do I fix this? I've tried just about everything I can think of. I am using a dell laptop running windows 7 and have tried changing the file loca

    My computer is saying it can't find the file 'iTunes64.msi' when I try to update or redownload iTunes how do I fix this? I've tried just about everything I can think of. I am using a dell laptop running windows 7 and have tried changing the file location to run the update in all of my iTunes files as well as when I've tried reinstalling it.

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

  • How do I convert an excel (2008) document to Numbers?  When I drag the Excel document onto the Numbers icon I get, "Import error.  The file format is invalid"

    How can I convert an Excel (2008) document to Numbers.  When I drag the Excel document onto the Numbers icon I get, "Import error.  The file format is invalid.

    That extension identifies the most current Excel file format, a format that can be opened by Numbers '09 (and by Numbers '08).
    A check with Numbers '09 shows it capable of opening .xlsx files when right-clicked (and Numbers chose as the application to open, when double-clicked (if Numbers has been set as the default application to open this type of file, or when dragged to the Numbers icon in the dock.
    I see two possibilities for Numbers inability to open it and the message you receive:
    1. The file is not actually an Excel file, and the sender has added the .xlsx extension to the filename manually.
    2. The file is an Excel file, but has somehow been corrupted.
    Have you tried opening the file with a different application? The open source Office suites, OpenOffice.org, LibreOffice and NeoOffice can also open .xlsx files. If they're unable to open this one, that would point toward the file itself being faulty. You can download these applications from their rspective websites, linked in the names above. All request a donation to support future development, but only Neo requires one to have been made recently, and that only for the current release (which won't be necessary to open .xlsx files).
    Regards,
    Barry

  • Itunes 10.6.1.7 problem: when I change the file "media type" from 'Music' to 'Podcast' the file disapears from ITUNES. I do this via (1) right click, (2) select 'Get Info', (3) select 'options' tab, and (4) change media type. What is the problem?

    Itunes 10.6.1.7 problem: when I change the file "media type" from 'Music' to 'Podcast' the file disapears from ITUNES. I do this via (1) right click, (2) select 'Get Info', (3) select 'options' tab, and (4) change media type. What is the problem?

    Hi Memalyn
    Essentially, the bare issue is that you have a 500GB hard drive with only 10GB free. That is not sufficient to run the system properly. The two options you have are to move/remove files to another location, or to install a larger hard drive (eg 2TB). Drive space has nothing to do with SMC firmware, and usually large media files are to blame.
    My first recommendation is this: download and run the free OmniDiskSweeper. This will identify the exact size of all your folders - you can drill down into the subfolders and figure out where your largest culprits are. For example, you might find that your Pictures folder contains both an iPhoto Library and copies that you've brought in from a camera but are outside the iPhoto Library structure. Or perhaps you have a lot of purchased video content in iTunes.
    If you find files that you KNOW you do not need, you can delete them. Don't delete them just because you have a backup, since if the backup fails, you will lose all your copies.
    Don't worry about "cleaners" for now - they don't save much space and can actually cause problems. Deal with the large file situation first and see how you get on.
    Let us know what you find out, and if you manage to get your space back.
    Matt

Maybe you are looking for

  • Cannot copy video from iPhone 4S to iPad

    Hi, Here are the steps I take I have an iPhone 4S on which I have taken some videos. I sync my iPhone with iPhoto on my Mac and import the videos (which play fine on here) I import the videos into iTunes and tick them to import them into my iPad (ver

  • Time out parameters for java servers

    Dear Gurus, I'm trying to identify if there are any time out parameters/attributes which can be set for the users at Java level. I'm wondering if it's possible to limit a user from running a report/query for a long period of time. Or a parameter to l

  • Explaination of Component palette in BPEL

    Hi , i am new to BPEL and have been asked to work on BPEL without any prior training :(. When i open Jdeveloper i find a component palette which has foll options 1. Code Snippets 2. Preferred Components 3. Proces activities 4. Services 5. XML Can som

  • Server Security [SOLVED]

    As part of my job, I run an Arch64 LAMP server for hosting a website. Currently, it has "ALL:ALL" specified in its /etc/hosts.allow and I am wondering...is that a security risk? Furthermore, what command-line firewall software (which I could operate

  • Unable to repair hard drive

    Disk Utility and DiskTools Pro both report that my hard drive needs repair. However neither the install disk nor the Apple Care disk will mount nor will the computer boot from them. Ideas anyone? david Hardware Overview:   Model Name:          MacBoo