Skip to Content
0
Jun 19, 2012 at 05:43 AM

Set Current Date as Default date for Background Job Scheduling in SM36/ SM37

2356 Views

Dear Experts,

I have a program that will generate and Update Serial Numbers based on Date as Input Field. And This program is supposed to execute everyday at a scheduled time. I have two Issues.

1) Since this program has to execute everyday and the Input value should be the current system date. How can i set my input value as current system date in my input field using Variants?

I have set a variant but the variant is taking the value which have provided in the begining. for ex. while saving the variant the value was '18.06.2012' but when i checked it today(19.06.2012) in SM37 it gaves error as 'No Record found for the Current Date'. Kindly hepl me to solve this issue.

2) Second issue is how to check the Output if the program has got executed successfully in SM37 ?

Since yesterday(18.06.2012) the prgram got executed and the Status is displaying as "Finished" in green in SM37. And in the Spool field we are getting the Spool symbol . When I click on that Spool symbol it is moving ti a List Display and there it is not showing any type field i.e. I am not able to see the output.

I have searched the SDN ahere I found that once the if the job is exeuted successfully then we will get the Spool symbol in the spool filed and if we click on that it will display a List Output where if we click on type it will diplay the Output. But In my case I am anot getting any such type file.

I even check the Log and it is showing Job Started & Job finished for the ate 18.06.2012.

Kindly suggest

Attachments

textfiled.JPG (15.4 kB)
spool.JPG (1.3 kB)