Hi Paresh,
(a) If you are plugging in a custom FM in program enhancements under events 01 and 03, it should be a copy of the sample FM FKK_SAMPLE_TFK113E_01(for event 01) and FKK_SAMPLE_TFK113E_03 (for event 03) and not FKK_SAMPLE_TFK115.
(c) From the example that you have stated above, I think you are planning to perform a clearing b/w two contracts under the same Contract account where in the item is not due yet.
I think it can be catered through standard clearing configuration.
In the clearing variant, assign two steps-
(a) In the first step, under the grouping string , put
1. 015-Contract Account
2. 011-Item is due
Under the Sorting String
1. 024-Due date with deferral
2. 004-Main Transaction
This step will clear out the due items against the contracts.
(b) In the Second step, under the grouping string , put
1. 015-Contract Account
Under the Sorting String
1. 024-Due date with deferral
2. 004-Main Transaction
Hope it helps...
Thanks,
Amlan