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

Similar Messages

  • 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

  • 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

  • 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

  • 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

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

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

  • 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

  • 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

  • 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

  • Background Job  & Spool List Recipient not receiving all pages

    I have a program that is run during our nightly cycle and is scheduled in SM36 with a spool list recipient designated for the report to be delivered to the user's SAP Inbox.  The job completes successfully and creates a report that is over 100 pages.  The user is only receiving 10 pages in their SAP Inbox.  Is this a Basis system setting?  Can we changes this on a per user basis?
    Thanks,
    Holly

    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

  • How to send mail to distribution list ?

    Hi Everybody,
    Pls let me know how to send mail to distributed list???
    Thanks & Regards,
    raju<b></b>

    Hi ,
      Use Function Module 'SO_NEW_DOCUMENT_SEND_API1'.
      U need to pass Distribution list to Receiver and 'C' to receiver type refer the below code for clarification.
    Determine the Distribution List.
            gv_rec_list-receiver = gv_distribution.
            gv_rec_list-rec_type = 'C'.
            APPEND gv_rec_list.
    Check if Distribution List is deleted.
            SELECT SINGLE objnam
                     FROM soid
                     INTO lc_objnam
                     WHERE objnam = gv_rec_list AND
                           dlitp  = lc_dli.
            IF sy-subrc = 0.
              CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
                EXPORTING
                  document_data              = gv_doc_data
                  document_type              = 'RAW'
                  put_in_outbox              = 'X'
                TABLES
                  object_content             = gv_obj_cont
                  receivers                  = gv_rec_list
                EXCEPTIONS
                  too_many_receivers         = 1
                  document_not_sent          = 2
                  document_type_not_exist    = 3
                  operation_no_authorization = 4.
              CASE sy-subrc.
                WHEN '1'.
                 message i001(as) with 'TOO MANY RECEIVERS'.
                  EXIT.
                WHEN '2'.
                 message i001(as) with 'DOCUMENT NOT SENT'.
                  EXIT.
                WHEN '3'.
                 message i001(as) with 'DOCUMENT TYPE DOES NOT EXIST'.
                  EXIT.
                WHEN '4'.
                 message i001(as) with 'OPERATION NO AUTHORIZATION'.
                  EXIT.
              ENDCASE.
              Hope this might have helped you.
    Thanks,
    Prashanth

Maybe you are looking for

  • Automatic sync is desactivate and I do not know why. I mus click on the icon to launch it. Info says : Firefox Sync1.7 false. How can I re-activate automatic s

    Firefox 11, windows 7 Sync used to work normally, but now, in info, it reads : services.sync.autoconnect I checked in about:config and services.sync.autoconnect is set to true. In the windows option/sync, there is no link and no button for set up or

  • Capturing Problem with Sony TRV330

    Capturing problem with Sony digital8 trv330. I recently purchased the above camcorder from eBay for capturing old 8mm/Hi8 tapes for editing purpose. The camcorder set to A/V -> DV OUT connected with Firewire to my Power G4 and the Easy Setup was DV-N

  • RE: NT Server Reboot and Forte Partitions[Ref:C943460]

    Hi Bradley. At our customers, we need one of our Forte applications to be running for data communications to take place. After a reboot, we need this application's partitions to come online. The way we did this (as you suggested) was to use a BAT fil

  • Admins are unable to edit all sites?

    Hello and help! We have designed three websites, all under the same site plan. From the admin panel, the admin is able to edit both site 1 and 2, but not site number three. Right now, we have A-Master (admin is able to edit) B-Master (admin is able t

  • SLA Voilation Alert

    Hi all, I setup SLA and after creating activity I can see SLA & reminder timings, when it reached reminder time SLA icon turn in to yellow from green. But I canu2019t get the Violation Alert u2013 alert profile is activated and also ran the program R