Quantcast
Channel: SCN : Discussion List - SAP for Utilities
Viewing all articles
Browse latest Browse all 2484

Scheduling job with dynamic start condition

$
0
0

Hi Experts,

 

I have the following jobs which are running automatically everyday.

 

1. Automatic clearing runs automatically everyday at 21:30. This is scheduled using job container. The name of the job getting executed(From SM37)

FKJOCRE__MA00000120130724213000 .

 

Here the container name is MA000001+Date(YYYYDDMM)+TIME(HHMMSS).

 

2. There is another job for the Activation of the installments, whihc takes place at 21:45 everyday. This is defined using SM36 and with ABAP program in the background.

 

I wanted to establish a dependency between these 2 jobs.

 

Activation of the installments should work only after the execution of Automatic clearing(defined usig jobcontainer FKJOXTR)

 

 

 

 

 

 

 

afterjob.gif

 

In SM36 from start conditions, I can define the dependency. But here my job name is dynamic as explained above with date and time. How can I define, here?

 

For ex:- Today dated 25.07.2013, Installment plan reactivation should happen only after the execution of the job,

 

FKJOCRE__MA00000120130725213000 and tomorrow the job would be with the name FKJOCRE__MA00000120130726213000.

 

How to acheive this?

 

Thanks in advance!

Lakshmi


Viewing all articles
Browse latest Browse all 2484

Trending Articles



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