Max. width Spool list to mail receipent

Hi,
I want to schedule an ALV Report in Background, the output spool will be send to mail receipent. Here my problem is the width of the ALV Report is high. So, in the mail it was missing some columns.
I have checked in Spool request, there also found some columns are missing. For that I have used 'Display in Maximum width' button on the Spool Request screen. Now it is displaying all columns in Spool.
How to control it in Mail? How to send Maximum width spool list to mail?
Thanks for reading.
Shiva Kankanala

It should be define in the definition of backgroud job.
Goto steps of background job and hit 'Print Specification' button, press 'Properties' button and select the require format and save.
You spool will then be create using this format.

Similar Messages

  • Spool list column width

    Hi,
    when i am running ALV in background i see in the spool list there is one column 'sales document' in which the last digit is not appearing. If the required number is 12345678, it is appearing it as 1234567..

    Hello Raj,
    When you execute the report in backgroud, the output is classical report and which need the line size. If not defined in report then the default is taken as 80 chars.
    Please check the line size defined in your program, if not pls define.
    REPORT <report> LINE-SIZE <width> LINE-COUNT <height> NO STANDARD PAGE HEADING.
    If the line size is more than 255 chars, then there is OSS note for it. (you can try note 530147)
    Hope this helps you.
    Regards,
    Sachinkumar Mehta

  • Spool List more than 99 pages to PDF File to Mail

    Hi All,
    I want to convert a big spool list (342 Pages) to PDF file to send it by e-mail.
    I use the following code to convert my spool to PDF file:
    Convert to PDF file*
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          src_spoolid              = w_spool_id
          no_dialog                = 'X'
          dst_device               = c_device
        IMPORTING
          pdf_bytecount            = gd_bytecount
        TABLES
          pdf                      = it_pdf_output
        EXCEPTIONS
          err_no_abap_spooljob     = 1
          err_no_spooljob          = 2
          err_no_permission        = 3
          err_conv_not_possible    = 4
          err_bad_destdevice       = 5
          user_cancelled           = 6
          err_spoolerror           = 7
          err_temseerror           = 8
          err_btcjob_open_failed   = 9
          err_btcjob_submit_failed = 10
          err_btcjob_close_failed  = 11
          OTHERS                   = 12.
      CHECK sy-subrc = 0.
    Transfer the 132-long strings to 255-long strings*
      LOOP AT it_pdf_output.
        TRANSLATE   it_pdf_output           USING ' ~'.
        CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
      ENDLOOP.
      TRANSLATE gd_buffer USING '~ '.
      DO.
        it_mess_att = gd_buffer.
        APPEND it_mess_att.
        SHIFT  gd_buffer LEFT BY 255 PLACES.
        IF gd_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    The problem with the FM 'CONVERT_ABAPSPOOLJOB_2_PDF' is when my spool have more than 99 pages. In this case, the FM generate a backscreen job (sm37) to convert my spool and generate a binary PDF spool.
    After this step, the 'FM SO_DOCUMENT_SEND_API1' send an e-mail with the binary PDF File recovered in the spool list but i can't open the file with Adobe Reader because the format is wrong.
    Someone knows how could i convert my big spool list to PDF file to send it by e-mail adress ?
    Thanks a lot for your precious help that i need so much !

    Generate big spool list
    REPORT  ZGEN_SPOOL.
    tYPE-POOLS: slis.
    TYPES: BEGIN OF str_mara,
    matnr TYPE mara-matnr,
    ersda TYPE mara-ersda,
    ernam TYPE mara-ernam,
    laeda TYPE mara-laeda,
    aenam TYPE mara-aenam,
    vpsta TYPE mara-vpsta,
    END OF str_mara.
    DATA: i_mat TYPE TABLE OF str_mara,
    wa_mat LIKE LINE OF i_mat.
    DATA:params LIKE pri_params.
    DATA: days(1) TYPE n VALUE 2,
    valid TYPE c.
    DATA: obj TYPE REF TO cl_salv_table.
    SELECT matnr
    ersda
    ernam
    laeda
    aenam
    vpsta
    UP TO 4999 ROWS
    FROM mara INTO CORRESPONDING FIELDS OF TABLE i_mat.
    TRY.
    CALL METHOD cl_salv_table=>factory
    IMPORTING
    r_salv_table = obj
    CHANGING
    t_table = i_mat.
    CATCH cx_salv_msg .
    ENDTRY.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
    EXPORTING
    * destination = 'QAS'
    list_name = 'ZTEST_VERTEX'
    list_text = 'TEST'
    no_dialog = 'X'
    immediately = ' '
    expiration = days
    IMPORTING
    * OUT_ARCHIVE_PARAMETERS =
    out_parameters = params
    valid = valid
    * VALID_FOR_SPOOL_CREATION =
    EXCEPTIONS
    archive_info_not_found = 1
    invalid_print_params = 2
    invalid_archive_params = 3
    OTHERS = 4
    IF sy-subrc ne 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    TRY .
    NEW-PAGE PRINT ON PARAMETERS params NO DIALOG.
    CATCH cx_sy_nested_print_on .
    ENDTRY.
    CALL METHOD obj->display.
    NEW-PAGE PRINT OFF.

  • Send mail to spool list recipient from dynamically generated job

    Hi Friends,
    We are running the SAP payment run daily in background mode using the transaction F110S (program SAPF110S). We have scheduled the program SAPF110S to run in SM36 and have specified an email address there as Spool List Recipient.
    The problem is that SAPF110S itself will dynamically create two new jobs: a job for the Proposal Run and a 2nd job for the Payment Run of F110.  The name the system assigns to these jobs are generated at job release/start time in the format F110_CompanyCode_yyyymmdd - X (for the proposal step) and  F110_CompanyCode_yyyymmdd (for the payment step).
    The proposal and payment steps can create spool output. We want to have that mailed automatically by the system to a spool list recipient.
    The problem is that these proposal and payment job steps which are created do not get a spool list recipient assigned, it is empty in SM37.
    Is there any way to ensure that the spool list recipient which is populated in the calling job in SM36 gets transferred to the dynamically created proposal and payment steps jobs?
    Thanks for your advice.
    regards
    Mike

    Hi,
    At the moment sending custom e-mails from front-end via forms is not a feature on our road-map.
    What information do you want to include in the respective form, what are the fields supposed to be present in the form? You still have the auto-responder and the custom message in the workflow that could hopefully assist.
    Kind Regards,
    Alex

  • How to increase the spool list width

    Hi,
         I am submiting the program in background. I have 150 columns in my program. But i am not able to view the whole list. It generating the spool up to 255 characters only. But i mentioned 1023 as width in my program.How can i expand the spool list width. Plese give me reply if any one knows this.
    Thanks in Advance
    Shaik Basha

    Hi!
    You need to define a special output option (page format), have a look at the description in this topic:
    Background Printing using Line-size 1023
    Also OSS note 409339 says something about line size.
    Regards,
    Christian

  • How to set multiple receivers in the spool list receipent in SM36 ?

    We want that the result of a background job can be sent to multiple users. The user email address will be the external address such as, zt330300-163.com, zt330300-tom.com?
    Can you help me ? th

    Hi,
    This can be achieved through creating distribution list and assign the distribution list in the spool list recipient.
    Regards,
    Prasana.

  • Background Job Processing/Spool List Recipient

    When setting up a report to run as a background job and setting it up to e-mail the results via the Spool List Recipient button, it always sends the results in htm format. Is there a way it can be e-mailed in Excel?

    hi swapna.
    in scot it is not configured as excel how to do it.to get an attachment in excel format
    thanks in advance

  • Adding Spool List recipient

    Hi Team,
    When setting up a user to receive emailed reports the "Spool List Recipent" is not retaining the email addres
    It is saved as part of the SM36 set up. But when going back to check in SM37 the error is No Spool List recipient.
    Could you please help me on this.
    Regards
    Raghu

    Thanks for your valuable suggestions
    Furtherance all the reports printed to a particular printer. But few of the customers didn’t receive those reports. Even though I didn’t set them to print, but still we are getting prints. We set them only to receive mails.
    In the successful job log I found “Error sending data (2)” Message no. PO780
    Laurie , did u face this issue in your tricky. Does all this issues may helpful in this note 1810625
    I really appreciate your help in advance
    Regards
    Raghu

  • Spool List Recipient

    System is ECC 6.0. SCOT has been configured and I am able to send mails from SAP to E-mail recipients.  I am able to give only one email ID as spool recipient when I schedule job in SM36.  I want the output(spool) that is generated to be sent to multiple E-mail ID's.
    Please suggest.

    Hi
    The very quick solution which comes to mind is :select distribution list in spool list recipient
    The DL list can be created by your exchange people and add the name required by you to same
    I have not seen multiple user selection there .
    Success !!
    -Ganesh

  • Send spool list ceated by Job (SM36) as pdf-file via email

    We are running the report RM06EFLB (Transaktion ME84 - "Create Releases") in the background.
    The Job is creating a spool list with 17 pages.
    I want to send this 17 pages (in a readable form) to a number of persons.
    This did I try so far:
    - Distribution list with Recipient type "via Internet" as Spool list recipients in the Job. (Tried different formats for ABAP List in Transaction SCOT)
    => Email is send to recipients, attachment is readable depending on format.
         Problem: attachment is not complete, it contains only about 15 pages (985 rows).
    - Distribution list with Recipient type "Internal User - SAP-Office" as Spool list recipients in the Job.
    => Document is sent to Business Workplace
         Problem:  attachment is not complete, it contains only about 15 pages
    Any ideas how to get the complete spool list?
    Is there mayby a report around  that is sending a spool list as pdf-file via email to a number of recipients?
    (Would like to maintain this Report as an additional step in the job. The spool-number should be selected from the previous step.)
    Thank you for your help.
    Jens

    Oh sorry - here is the coding which is used in that program:
    First use function module  'CONVERT_ABAPSPOOLJOB_2_PDF' to convert the spool entry into pdf.
    Loop at output table PDF and concatenate all lines into a string. Convert string to xstring.
    Then call mail class:
    DATA: lv_pdf_x TYPE xstring,
            lv_subject TYPE string,
            lv_doc_desc TYPE so_obj_des,
            lv_mail_body TYPE soli_tab.
      DATA: ls_atta TYPE rcf_s_att4mail_hex,
            lt_atta TYPE rcf_t_att4mail_hex.
    * -- Fill parameter
      lv_subject = 'Requested Report'."#EC NOTEXT
      lv_doc_desc = 'Report XXL'."#EC NOTEXT
    *  lv_mail_body = ?
      ls_atta-name = lv_doc_desc.
      ls_atta-extension = 'PDF'.
      ls_atta-content = p_pdf_x. <- This is your xstring
      APPEND ls_atta TO lt_atta.
      TRY.
          CALL METHOD cl_hrrcf_services_mail=>send_web_mail
            EXPORTING
              p_subject              = lv_subject
              p_receiver             = p_receiver->email_address
              pt_atta_hex            = lt_atta
              p_sender               = p_sender->email_address
              p_body_c               = lv_mail_body.
        CATCH cx_hrrcf.
      ENDTRY.
    I hope that you have the above mentioned class in your system but it should work with other email functions as well.
    Regards
    Nicola

  • How to Display Query Results in a Max Width Formatted Way?

    Hi,
    I want to run a query to show the columns within headers to be formatted in a way that looks equal in width. I just want to get the max width for each column and display each item in a max width format in a query. Thanks.
    Ex.
    First Name Last Name City
    John Sumi New York
    Jay Heely Texas

    if you are spooling a file on sql*plus use the column formatting method.
    syntax:
      COL <column_name> FORMAT a<integer>example:
      COL emp_name FORMAT a40

  • Error in Sending spool list in background !!!

    Hello Gurus,
    I am trying to create a distribution list and as a requirement have to send the spool list out of the batch job to different users.
    I have created in SPAD a device type POST2 and specified the spool server.
    In Access method I have put HOst spool Access method as M.
    The error I am getting is  Message class PO and ID 780 which is Error sending data.
    The SMTP in Scot Tcode is configured with Output formats Sapscript as PDF, Abap list as PDF .
    In SP01 the requests have the status of Incorrect. sample shown below.
           Spoolno.    OutpReqNo.  Date       Time       ODev Format        Log       Status
                13431     1           21.01.2012 21:22      MAIL X_58_170           Incorrect
    Can you please tell me what configuration I am missing.
    Thanks,
    Sohail

    Hi,
    Check the RFC destination connection from PI to ECC... looks like there is connection from PI to ECC to retrieve the metadata....
    HTH
    Rajesh

  • Spool list recipient in SM36

    Hi All,
    I am using the FM's JOB_OPEN, JOB_SUBMIT and JOB_CLOSE in a report program to create batch jobs.
    Now some of the batch jobs have DL's  to which spools of the batch jobs are sent and are maintained in 'SPOOL LIST RECIPIENT' button of SM36.
    In the report which uses the above FM's to create batch job, is it possible to include this functionality.
    That is when a batch job is created from my report program, the spool list recipient should have the DL provided in my report program.

    Hi Arun,
    Refer This Link
    http://help.sap.com/saphelp_bw21c/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm
    Thanks.

  • In Mail, is there a way to print the list of mail activity in a folder without actually printing each email?

    In Mail, is there a way to print the list of mail activity in a folder without actually printing each email?
    Thanks to all.

    Actually, I noticed in "More Like This" questions similar to mine.  One of the suggestions worked perfectly.
    Command Shift 4 turns the arrow into a target scope.  Use it to take a screen shot of the area you want printed.  Thanks to all.

  • Report to send a List via mail

    Hi everybody,
    at the moment we hava a report which we have to start every day to generate a customer List. Via SAP Office we can send this list via email to a specific person. Now I like to automate this report and start it as a job which automativly send this list via mail.
    Do you have an idea how this will work?
    Thanks a lot for your help.
    Kind regards
    Christian

    Hi Christian.
    You could put the lines of your list in a table of type SOLISTI1 and then use the function module SO_NEW_DOCUMENT_SEND_API1 to send the content of this table. You have to fill the table RECEIVERS with the address you want to send the report to.
    Hope that helps,
    Timo.

Maybe you are looking for

  • Notes do not sync from iCloud to iPhone 4s AND Notes disappear from iPhone

    My notes are not syncing from iCloud to my iPhone 4s. I turned Notes 'off' on my iPhone (Settings>iCloud>Notes), then back on. Now all of my notes on my iPhone have DISAPPEARED. Restarted my 4s - no change. I created a test Note on iCloud.com and it

  • 10g Reports Problem

    We have our application ported to 10g. After we run some reports the application server is throwing an error "REP-56055: Exceed max connections allowed: 20". We have tried increasing the maxconnect parameter in the $ORACLE_HOME/reports/conf/repserver

  • I forgot my security questions answers and i dont know what email i put for my rescue email and now i cant download anything off itunes and cant change my rescue email

    i use to have a ipod and sold it to get my new iphone and im using the same apple id and i put money on my itunes today and it would not let me download any music with out answering my security questions which i forgot the answers to these and went o

  • XML string to SQL table.

    Hi All, I am getting XML string from UI, I need load the XML string to three different tables. Please help me on this. Xml string Input string :  <root>  <LevelList>   <Task_Number>6054</Task_Number>   <level_short_desc>UPC</level_short_desc>   <scop

  • Finding oracle_home in linux

    hi all am developing a desktop application under linux and for the login screen the user will enter the database name and the program has to go to the tnsnames.ora and get the url... so the thing is that i want to find the oracle_home under O.S which