Skip to Content
Author's profile photo zafar karnalkar

Distribution list, Dynamic selection screen Variant and Schedule Background Job

Objective:  Using this document user can create the email distribution list, create dynamic selection variant and Schedule the background Job for which the output will be send to the email ID of distribution list.

·         Create Email Distribution list: Log in to SAP and on SAP easy access click on Business workplace.

1.JPG

Click on SAP Business Workplace.

2.JPG

Click on Distribution list.

3.JPG

Select the type of distribution channel list and then click on Create ICON.

4.JPG

Enter the Name, Title and then click ‘F4’  to select the folder.

5.JPG

Here select the existing folder or click on create folder.

6.JPG

Select the existing folder ‘TEST’.

7.JPG

Click on Distribution list content.

8.JPG

Add the email IDs in the list and also select the type To, CC, BCC and then save the list.

9.JPG

10.JPG

·         Create dynamic selection variant for Transaction ‘VA05N’ :

11.JPG

Here we will create the dynamic selection variant for document date it should be ‘current date – 3 days’ in from and To field.

12.JPG

Click on Save as Variant.

13.JPG

14.JPG

Give the variant name ,description and for the Document Date field Select ‘D’ in the Selection variable and then click on ‘F4’ help in Name of variable column.

15.JPG

Double click on  ‘Current date – xxx,current date + yyy’.

16.JPG

Enter ‘3’ in ‘a value for xxx’ and press enter and then ‘SAVE’.

17.JPG

Test the saved variant.

18.JPG

Select the variant ‘DVAR’.

19.JPG

We can see the dates as current date – 3 days.

·         Schedule the background Job : SM36

20.JPG

Enter the Job name and click on Step.

21.JPG

Enter the Program Name and Variant and then click on check and save button.

22.JPG

Now click back button.

23.JPG

Click on Spool list recipient to add the email distribution list.

24.JPG

Click on Search help and press ‘F4’.

25.JPG

Select the radio button ‘Distribution list’ and in Find enter the ID of distribution list which we have created the  press enter.

26.JPG

Click ‘Copy’.

27.JPG

Now click on ‘Start condition’.

28.JPG

Click ‘’Date/Time’.

29.JPG

Click on ‘Period values’.

30.JPG

Here select ‘Daily’ then check and save.

31.JPG

Enter the start date and time then check and save.

32.JPG

Now click on ‘SAVE’ button.

33.JPG

Now after the job is executed by system we can see the email.

34.JPG

Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo B V Yadav
      B V Yadav

      Hi zafar karnalkar,

      i have been searching this type document for the last few weeks, finally i got it now.

      Thanks for sharing this valuable information. This really very helpful to me.

      Regards,

      B V

      Author's profile photo zafar karnalkar
      zafar karnalkar
      Blog Post Author

      Hi B V ,

          I am happy that my document is helpful to you.

      Regards,

        Zafar

      Author's profile photo B V Yadav
      B V Yadav

      Hi Zafar,

      I have configured as you said, but i did not receive any mail. what be the reason?

      Regards,

      B V

      Author's profile photo zafar karnalkar
      zafar karnalkar
      Blog Post Author

      Hi,

      Check in SCOT Transaction , whether it is in waiting status, if not check the email setting also in SCOT.

      Regards,

      Zafar