2016 May 02 10:03 AM
Hi Gurus,
I scheduled a background job to run at a particular time and the output should be sent to a mail which is working perfectly but the issue am having is that the attachment in the mail is coming in the name of the program name. How do I change the program name to the actual description of the report.
2016 May 02 9:00 PM
Is the attachment issued from the spool generated by the program? If yes, then you can define the spool properties within the job (print specifications -> more properties -> spool request name).
If no, please explain where this attachment comes from.
2016 May 03 9:59 AM
Hi Sandra,
The attachment is coming from the scheduled background job of a particular transaction code.
2016 May 03 10:37 AM
Hi Sandra,
When I ran the tcode ME2L and scheduled it to run at the background and the output should be sent to a mail address which is fine but I want the name of the attachment to be the description of the report like Purchasing document list report but the name of the attachment is coming as Job RM06EL00 step 1.htm. How do I change the Job RM06EL00 step 1.htm to Purchasing document list report
2016 May 03 11:03 AM
I think it's as I explained previously, after you click menu Program -> Schedule in background. In the popup, there's the button "properties" -> "spool request" -> "name". Could you try please?
2016 May 03 11:40 AM
Hi Sandra,
I just tried it now but the name of the attachment still shows Job RM06EL00 Step 1.htm even after changing the name to purchase document report.
2016 May 03 12:46 PM
Right. As far as I can see, the attachment name is the same as the mail title (subroutine create_packing_list in function module RSPO_SPOOLJOB_TO_OFFICE); the mail title can be set differently using instructions in note 1101211 - Using spool request title as e-mail title . So, I think, if you want to change the attachment name differently from the mail title, you should change the standard.