2014 Sep 23 1:38 PM
Hi Friends,
Is it possible to populate a clearing type at the document number level.
Business requirement in the background is to have seperate Clearing variants for each Business Process.
for example:- Payment Lot for Paypal which has a document type IP in FP05. This document type IP will be used in SPRO under
Cleairng Control->Incoming Payment Specifications->Program enhancements where the Clearing Category is populated.
Based on the Cleairng Category an Alternative Clearing Variant would be assigned.
So while posting the payment lot from paypal the corresponding Cleairng Variant gets triggered. This can be implemented for Incoming Payments. Similar is it possible to restrict the clearing Category at the Document level. So the same Variant can be used for Incoming payments and for Automatic clearing of Paypal documents (which have payment method P).
I am aware that Cleairng Category can be populated at Contract Account level. We are working with Retail Customers, So a Person can have multiple Orders and has the possibility to pay with different payment methods.So this will not help me to solve the same. So for me the requirement is to have different clearing based on the Order.
Thanks in advance!
2014 Sep 23 3:41 PM
You can look at event 0110 however i think it will require pretty extensive changes.
regards,
bill.
2014 Sep 23 3:41 PM
You can look at event 0110 however i think it will require pretty extensive changes.
regards,
bill.
2014 Sep 24 8:27 AM
Thanks Bill for the reply. We dont have any special Customer categorization for the corresponding Clearing Variants to be triggered. As you said that this is a pretty expensive change. I would like to ask once again is that okay to poulate one(1) of 4-5 different clearing variants at the document level so that same clearingvariant gets triggered For Automatic Clearing.
Reason
Alternative Clearing Variant gets assigned in Event 04 as stated above during payment lot processing.
Clearing Variant IP has the following steps:-
Step 1:-
Order Number
Payment method
Step 2:-
Business Partner
Step 3:-
Main and Sub Transactions
Similarly for Gift card(Another Payment process) we get a payment lot and based on document type corresponding clearing category gets triggered in event 04 and alternative clearing varaint is assigned.
Clearing Variant IG has the following steps:-
Step 1:-
Contract Account
Main Transaction
Item is due
Step 2:-
Document number
Similarly for other Payment process(Prepayment/Invoice/Direct transfer) for all these 3 payment methods we do recieve a single payment lot. With the same process stated above, An alternative Variant is assigned.
IU and it has some X number of steps.
So if I have one Variant for Automatic clearing then I need to have some(may be many of them) steps from Cleairng Variant IP, IG, IU and so on....
So in this scenario is it advisible to have one Big Variant for Automatic Clearing or is it wise to populate the Clearing Variant at the document level. WIll it be overload on the system to determine the clearing varaints at the document level and executing the corresponding Cleairng variants.
Hope you will help me to come out of this loop.
2014 Sep 23 4:42 PM
Hi Lakshmi,
Enhancement in 0110 is definitely the option.
Apart from that, in the clearing rule, you can group/sort items for clearing/allocation by extending the standard function module *TFK116.
Also you can have your own custom clearing rule by extending *TFK115.
You can attach these enhancement in your clearing variant.
Ultimately whatever you do in your Z*TFK115 function module, it will update the global cl [ ] table and clearing proposal is created accordingly.
You can also see the outcome of this change in 0020 (T_FKKCL).
Thanks
Bodhisattwa