Error in Email via spool list recipient feature in SM37

Hello Experts.
I encounter a strange problem. I am not able to send Email to external Email addresses (Lotus Notes) while I am using Distribution list option in spool list recipient option in SM37 background job. I am getting an error in SOST called 'Message cannot be transferred to node SMTP due to connection error (final)'.
I am Able to get email with spool on my SAP inbox if I use the option 'Internal user' in spool recipient.
Also, if I send an email in a custom program via function 'SO_NEW_DOCUMENT_ATT_SEND_API1', I am successfully able to send the email to Lotus notes id using the same distribution list. So, I suppose all the basis settings in SCOT, SU01, SICF are correct.
I checked with my basis team as well but they also see all the email settings as correct.
My spool is very small one and I have all the access in the system.
Anyone having any idea for this issue, please share.
Regards,
Diwakar

I found the answer myself.
In SCOT, SMTP setting, Output format for ABAP list needs to be set as 'PDF' or 'TXT' instead of 'HTM'.
With HTM, it was going in for error for spool email.
Regards,
Diwakar

Similar Messages

  • Want to know table which stores SPOOL LIST RECIPIENT address in SM37.

    I found that for one of teh job name the value of the field is RECOBJKEY "DLI36000000000176 37000000029574" in table TBTCO.So how to get the SO_KEY value from this.
    thanks again in advance.

    The Basic idea is to get the recipient value from the Job name.I found one way of doing is to
    goto SWO1. enter "RECIPIENT" click test
    click full key. pass the logical system as your own logical system like DRXCLNT500 or what ever, and pass DLI36000000000176 37000000029574 in the key. (copy paste exactly as you pick from TBTCO including the spaces).
    but the first issue using the above option is that i dont see any email values in any of the attributes or i am not seeing into the correct attributes.
    Seconldly, Also i have another scenario where the field RECOBJKEY "USR33000000004760           37000000156636" in table TBTCO for which the above the optino is not working.
    Can somone help on this question.

  • Bacth job sending email : spool list recipient field

    Hi,
    When creating a batch job via SM36, it is possible to send the results via email (fill "spool list recipient").
    Is there a table where i can find the batch jobs which have the "spool list recipient" field filled?
    Thanks,
    P.

    Pete,
    In my system, I see only 2 values for this field. 'RECIPIENT' and BLANK. Please check if it the same with you, in case of more than these values, try to build your logic on ( not equal to RECIPIENT rather than non-blank).
    Even if these 2 values only, a job (with the same name) can be executed once with the spool list recipient ON and another without spool recipient. So, be careful in your checking that the record you are checking with the non-blank value of  RECOBJTYPE is the SAME execution as in SM37. Use fields SDLSTRTDT, SDLSTRTTM in table TBTCO for it.
    Hope you get my point.
    Regards,
    Diwakar

  • Email multiple spools from background job - SM36 using Spool List recipient

    I create a background job using Spool List Recipient to email me the reports. The program that I scheduled to run creates 2 spools. When the spools are sent via email, only the last spool is sent.
    Please advise on how I can get the 2 spools sent via email.

    i would not use the Spool List recipient from Job and use the function RSPO_SPOOLJOB_TO_OFFICE in your Program instead.
    tell me if it helps.
    Regards,
    Laurent

  • Want to know table which stores SPOOL LIST RECIPIENT & email addres

    Hi Guys,
    I need to create a report for all jobname & recipient email address. Kindly let me how to find out the recipent's email address for all jobname in TBTCP. I understand that recipent is the distribution list, distribution list has email address.
    JOBNAME ---> SPOOL LIST RECIPEINT -
    > EMAIL ADDRESS.
    thanks.

    Guys thanks for you help and time.
    I am not getting the expected result after doing above steps.
    I will try to clarify the requirement further.
    When I run t-code SM37 and enter following :
    Job name : TXDET-DAILY
    User name :  *
    Job Status : Checked Sched. Only.
    On next screen JOB OVERVIEW. Only one record shows up for job TXDET-DAILY.  When I double click this record, system takes me to next screen where there is button for SPOOL LIST RECIPIENT. When I click this button it displays the recipient is TXDET. TXDET is actually a Distribution list name, maintained in SAP office (SO01).
    When I go in t-code SO01 and click DISTRIBUTION LIST button and then enter shared distribution list name TXDET.
    It gives me 2 email addresses under this TXDET distribution list. 
    [email protected]
    [email protected]
    The spool from the job TXDET-DAILY will be emailed to these 2 email addresses.
    Now I need a report which gives following information.
    Job Name................. Distribution List Name...............Email Address         
    TXDET-DAILY............TXDET......................................[email protected]
    TXDET-DAILY............TXDET......................................     [email protected]

  • Create job via program with spool list recipient

    It is quite easy to create a job via SM36 and specify a "spool list recipient" to send the resulting spool in attachment to a distribution list.
    I haven't find the way to have this 'spool list recipient' when I create the job via program (JOB_OPEN or BP_JOB_CREATE ...)
    May be a smart abapper could help me ...

    hi,
    check this sample program which will help u.
    *& Report  ZRC_JOB_TEST                                                *&                                                                     *
    REPORT  ZRC_JOB_TEST                            .
    data : jobcount like TBTCJOB-JOBCOUNT ,
           JOB_WAS_RELEASED like BTCH0000-CHAR1 ,
           SDLSTRTDT like TBTCJOB-SDLSTRTDT ,
           SDLSTRTTM like TBTCJOB-SDLSTRTTM .
    data : l_ebeln like ekko-ebeln ,
           l_ebelp like ekpo-ebelp .
    l_ebeln = '0071005915' .
    l_ebelp = '00010' .
    CALL FUNCTION 'JOB_OPEN'
    EXPORTING
      DELANFREP              = ' '
      JOBGROUP               = ' '
       JOBNAME                = 'job1'
      SDLSTRTDT              = NO_DATE
      SDLSTRTTM              = NO_TIME
      JOBCLASS               =
    IMPORTING
       JOBCOUNT               = JOBCOUNT
    CHANGING
      RET                    =
    EXCEPTIONS
       CANT_CREATE_JOB        = 1
       INVALID_JOB_DATA       = 2
       JOBNAME_MISSING        = 3
       OTHERS                 = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ELSE .
      submit ZFI_UPD_PO_DELIV_COMP_BDC
      with   ebeln = l_ebeln
      with   ebelp = l_ebelp
      via job 'job1' number jobcount
      and return .
      if sy-subrc = 0 .
         SDLSTRTDT = sy-datum .
         SDLSTRTTM = sy-uzeit + 600 .
         CALL FUNCTION 'JOB_CLOSE'
           EXPORTING
           AT_OPMODE                         = ' '
           AT_OPMODE_PERIODIC                = ' '
           CALENDAR_ID                       = ' '
           EVENT_ID                          = ' '
           EVENT_PARAM                       = ' '
           EVENT_PERIODIC                    = ' '
             JOBCOUNT                          = JOBCOUNT
             JOBNAME                           = 'job1'
           LASTSTRTDT                        = NO_DATE
           LASTSTRTTM                        = NO_TIME
           PRDDAYS                           = 0
           PRDHOURS                          = 0
           PRDMINS                           = 0
           PRDMONTHS                         = 0
           PRDWEEKS                          = 0
           PREDJOB_CHECKSTAT                 = ' '
           PRED_JOBCOUNT                     = ' '
           PRED_JOBNAME                      = ' '
            SDLSTRTDT                         = SDLSTRTDT
            SDLSTRTTM                         = SDLSTRTTM
           STARTDATE_RESTRICTION             = BTC_PROCESS_ALWAYS
            STRTIMMED                         = 'X'
           TARGETSYSTEM                      = ' '
           START_ON_WORKDAY_NOT_BEFORE       = SY-DATUM
           START_ON_WORKDAY_NR               = 0
           WORKDAY_COUNT_DIRECTION           = 0
           RECIPIENT_OBJ                     =
           TARGETSERVER                      = ' '
           DONT_RELEASE                      = ' '
           TARGETGROUP                       = ' '
           DIRECT_START                      =
           IMPORTING
             JOB_WAS_RELEASED                  = JOB_WAS_RELEASED
         CHANGING
           RET                               =
          EXCEPTIONS
            CANT_START_IMMEDIATE              = 1
            INVALID_STARTDATE                 = 2
            JOBNAME_MISSING                   = 3
            JOB_CLOSE_FAILED                  = 4
            JOB_NOSTEPS                       = 5
            JOB_NOTEX                         = 6
            LOCK_FAILED                       = 7
            INVALID_TARGET                    = 8
            OTHERS                            = 9
         IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
         ENDIF.
      endif .
    ENDIF.

  • SM37 Spool list recipient - editing the email's subject

    Hello.
    I am using scheduled job to send automatically a list in email every day, using the option "Spool list recipient". The name of the job appears default in the email's subject. My question is this: Is it possible to modify the subject, for example puting the variable sy-datum in the subject of the email?
    Regards,
    Stefan.

    Hi ,
    Yes we can ,
    I hope u r using the FM SO_NEW_DOCUMENT_ATT_SEND_API1 to generate the email . In that  we have the
    i_packing_list-obj_descr = ' Enter what ever u r trying to put as header'.
    Regards,
    Bharani

  • 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

  • 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

  • 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

  • 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

  • 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.

  • Bag ground job 'Spool List Recipient'

    hi guys,
    there is any configuration for that background job <b>spool list recipient</b>,
    if there please replay me it was argent issue with my end
    Reg,
    Hariharan

    Hi Holly,
    it's sound like the <b>SAP-Note: 329537</b>
    Symptom
    If a batch job creates a spool and sends it to a recipients, only the first 1000 lines are sent.
    Other terms
    SAPOffice, spool list recipient
    Reason and Prerequisites
    For performance reasons, the output sent to SAPOffice is limited to 1000 lines.
    Solution
    If you wish to send spools longer than 1000 lines in Releases > 4.6B, proceeed as follows:
    1. Apply the support packages or correction instructions mentioned in this note.
    2. Create the following two entries in table TSPOPTIONS with transaction SE16:
                  option: BTC_FIRSTLINE value: < desired value, probably 1>
                  option: BTC_LASTLINE  value: < desired value, e.g. 99999>
    1. Call function module RSPO_OPTION_FLUSH with value NAME = '*'.
    Please note that this change may impact performance, depending on the selected line interval.
    In Releases < 4.6C or if you are not able to apply the support packages or corrections, you can accomplish this with a minor code change.
    In program RSBTCRTE, change the parameter sent to the function module
    RSPO_SPOOLJOB_TO_OFFICE as follows:
    call function 'RSPO_SPOOLJOB_TO_OFFICE'
         exporting
          rqident              =
    spo_list_id
             first_line         
    = 1
    last_line            =
    1000            "<<<  Delete
            last_line            =
    99999           "<<<  Insert
            receiver           
    = recipient_object
             mail_title         
    = document_data-obj_descr
          exceptions

  • Spool list recipient has been missing

    In one of our defined background Job in Sm37, the spool list recipient has been missing and we have no ideas what has gone wrong, Is there a way to check or rather to check who and what has been changed to a Job defined in Sm37?

    HI Jack,
    we can check the JOB in SM37 and find out if any variants/Program changes have occured which triggered this change. In Job details, the prog name and the Job logs provide the varinat for which it has been scheduled. A program change is traceable by Version history and a Variant change can be traced by its owner...
    Hopefully it helps.
    Br,
    Sri
    Award points for helpful answers

  • How to schedule job with spool list recipient in CPS ?

    Dear Guru,
    i import job with spool list recipient from r3 to cps and schedule in CPS, job is finished but there is no spool send to the recipient ?
    Please advise ?
    Best regards,
    Supat Jupraphat.

    What job definition did you use? SAP_AbapRun? SAP_AbapRunPrint? SAP_AbapRunPrintExt?
    Do you have XBP 2.0 or 3.0 in the SAP system? (check SE38 > INITXBP2)
    Have you loaded the CPS transport files in the SAP system?
    Note that using spoollist recipients either involves SAP_AbapRunPrintExt in combination with XBP3.0
    OR
    It involves SAP_AbapRun or SAP_AbapRunPrint and XBP 2.0 using transportation files in the SAP System.
    Please check the section of the CPS admin guide called: "Enhanced SAP Interfaces with Redwood Transports"
    Regards,
    David

Maybe you are looking for

  • Multiple sites for students

    Hello, I have an Xserve with Mac OS X Server 10.5.8 in a school. We want students to learn how to create, upload and maintenance websites. So is it possible that every student gets it's own webspace? I read that it is possible to create virtual sites

  • Smartforms output in XML format

    Hi everyone, I am very new for smartforms and my requirement to convrt given smartform in XML format, I am going through Form Attributes -> output options -> output format -> XSF output , then I am giving proper value in output mode & in Output Devic

  • Cache, filename, url name, automatically

    i use foxit reader open a pdf file, the final '''''url name''''' is xxxx.pdf, when i click the save or save as i get s'''ome strings '''as the fileneme for example, 529EDd01.pdf. the same as the name in the '''cache folder'''. So i think , first the

  • Animation Delay`

    Hi, I have a logo that I am animating here: http://agtdesigns.co.uk/logo.gif Basically I want the man to spin inside the circle. However, on the last frame/state of the animation it appears to stop/delay before moving onto the next frame. To solve th

  • Photobooth app, when using video is very jerky

    Upgraded to Yosemite from Mavericks. Also updated the app but now when shooting video using the internal camera on an iMac is is very jerky, worked fine before upgrading to Yosemite.