I have the following business scenario that I would like to automate:
1) Execute program RFF110S to create payment parameter, but not create payment proposal. This would be same as executing transaction F110 entering parameters and saving.
2) Execute program RFF110S to create payment parameter with slightly different values, but not create payment proposal. This would be same as executing transaction F110 entering parameters and saving.
3) Execute program SAPF110S and provide the run date and parameter ID created in step 1
4) Execute program SAPF110S and provide the run date and parameter ID created in step 2
Reason for this - following message issued in payment proposal log
Overlap with payment run 04/18/2013 G1ACW
Message no. FZ358
Diagnosis
Accounts to be processed in this run have already been processed in payment run or proposal run 04/18/2013 G1ACW.
System Response
The run is terminated to avoid double payments.
Procedure
Either narrow down the accounts to be processed or wait until the payments for the 04/18/2013 G1ACW have been carried out.
What I did to create the error above is schedule program to run twice, in same batch job, with two variants. The selection parameters of the first run specifically include vendors having payment method "A" on table LFB1. The selection parameters of the second run specifically include only those vendors with payment method "X" on LFB1. All other selection parameters between the two runs are the same.
I have noted that RFF110S essentially submits SAPF110S to background and that step completes. Then batch job runs second step and starts other run of SAPF110S. The second run fails because the first run is still running. However, I would have expected the two runs to occur simultaneously due to the extra filters I put in.
So, I thought if there was a way to create just the payment parameters using RFF110S, and not actually run the payment proposal, then I would schedule a four-step job. First two steps would create parameters, second two steps would run them. Since step 5 would not start until step 4 was done, then message FZ 358 would not be issued.
Has anyone run into into this same problem?