Quantcast
Channel: SCN : Document List - ABAP Development
Viewing all articles
Browse latest Browse all 935

Distribution list, Dynamic selection screen Variant and Schedule Background Job

$
0
0

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

 


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>