cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Scheduling Automatic Payment Program Error.

Former Member
0 Likes
3,950

Hi Experts,

I have created a varient in F110S for APP as on Payment date as 09.04.2013 with Identification as "FITVY" with all other required field entered. Now i have created a Job and schedule the Program every date.

On 09.04.2013 all the Open item for the Vedor have been cleared and the Job ran Succesfully. But the Next day i.e., on 10.04.2013 the Job status was in Canceled status  when I looked into the Job Log it says Identification Already Exist.

I would like to know how to schedule APP through Job or is there any steps i am missing.

Regards,

Raziq Fareed.

View Entire Topic
Former Member
0 Likes

Hi,

I guess, the reason could be date fields (posting date, docs entered upto etc).

Could you please let us know if you had selected dynamic date selection for date fields.?

If the dates are entered manually in F110S, they would not change automatically when the second and subsequent runs are performed. You need to select dynamic date selection in the variant that is used for periodic jobs.

To select dynamic dates: In varaint screen, against date field scroll right to field selection variable > select dynamic date selectin > In the same row, navigate to Name of variable field and select the appropriate variable.

Regards,

Ravi Kumar

Former Member
0 Likes

Hi Ravi,

Thanks for the solution proposed, I am testing the APP process with the dynamic date selection but do we need to Set the dynamic date for Next posting date as well ?

Kinldy let me know on this.

Regards,

Raziq Fareed

Former Member
0 Likes

Hi,

Yes, you need to set a dynamic date for even next posting date, however, this date would not cause the error you are facing.

The error is due to duplication of combination of Run ID and Identification in the second and subsequent runs. You can check, if this is the case for your first payment run executed successfully and the next rurns faced errors.

Go to SM37 > Select the background job > Step > Go To > Variant.

Compare the variants of both the jobs to identify if the combination of Run ID and Identification is unique in both the cases.

Also please let us know if you are running this background job more than once in a day using the same variant.

Regards,

Ravi Kumar

Former Member
0 Likes

Hi,

Thanks for the solution provided. 1 More Q ,is it possible to run the APP job with the same variant every 30 mins in a same day?

If possible let me know now ?

Regards,

Raziq Fareed.

suma_mani
Active Contributor
0 Likes

Hi Raziq,

Yes,ofcourse You can select other periods in period values tab (Bottom left) ,enter 30 Minutes in selection tab while scheduling the job.

Former Member
0 Likes

Hi,

Its not possible to use the same variant more than once in a single day, because the combination of Identification and Run Date have to be different for each run. If not, you would face the error saying that this run is already existing.

In your case, if you create multiple background jobs in a same day using the same variant, the run date remains the same throughout the day. And the Identification would remain same in all the runs (for all the days) unless you define the Identification field as a dynamic one in your variant. I have never tried defining the identification as dynamic. Hence, at this moment I can suggest the following.

Create as many varaints as many times you want to execute payment run in a single day. So, copy the existing variant to create multiple variants. Make sure that Identification is different in each of these variants and you can have the same Run Date.

For each run in a day you will have to create a variant.i.e. if you wish to run the payment cycle 10 times a day, create 10 variants wherein the Identification field is different in each variant even though the Run Date is constant.

Regards,

Ravi Kumar

Former Member
0 Likes

Hi,

Thanks for the update, I want to know using the same screen varient in APP can we schedule the job every 30 min ?

Regards,

Raziq Fareed.

Former Member
0 Likes

Hi Ravi,

Thank you for the valuable inputs, my issue is solved.

Regards,

Raziq Fareed

Former Member
0 Likes

Hi,

Glad that the isseu is resolved...

Just want to know what exactly was the problem... Just curious to know.

Regards,

Ravi Kumar