SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

Clearing Variant for Automatic Clearing

Former Member
0 Kudos
1,776

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!

1 ACCEPTED SOLUTION

william_eastman
Product and Topic Expert
Product and Topic Expert
0 Kudos
401

You can look at event 0110 however i think it will require pretty extensive changes. 

regards,

bill.

View solution in original post

3 REPLIES 3

william_eastman
Product and Topic Expert
Product and Topic Expert
0 Kudos
402

You can look at event 0110 however i think it will require pretty extensive changes. 

regards,

bill.

0 Kudos
401

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.

former_member199199
Active Participant
0 Kudos
401

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