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: 

Determine Clearing step in fqevent

0 Kudos

Hi,

For clearing in Contract Accounts Receivable and Payable, how do we determine the clearing step being executed for a clearing variant.

We are doing invoicing clearing with a clearing variant which has 2 clearing steps.

In SPRO, for 'Define Defaults for Account Maintenance', we would like to set the 'Restriction/Selection criteria' for the invoicing Clearing type and we would like it to be different. That is, we want to filter different main/sub for each clearing step.

Can we do this via configuration only? or do we need to find a programmatic solution?

Unfortunately, we cannot find this Selection criteria linked with any specific Clearing Step.

Can you determine programmatically in the fqevent 32 or 110 which clearing step is being executed? This can help us filter records based on the currently executing clearing step.

Any help would be greatly appreciated.

1 ACCEPTED SOLUTION

william_eastman
Advisor
Advisor
0 Kudos

That is the purpose of the grouping function.  You can set the 'filter' using grouping characteristic of transaction and then enter only those transactions which should be used in that step.

View solution in original post

3 REPLIES 3

william_eastman
Advisor
Advisor
0 Kudos

That is the purpose of the grouping function.  You can set the 'filter' using grouping characteristic of transaction and then enter only those transactions which should be used in that step.

0 Kudos

Hi,

We want to filter out transactions all main transactions of 7000s from clearing step 1 and only process those in clearing step 2. How do we do that?

We tried the following:

1. Put a selection criteria in Setting defaults for Account maintenance; we allowed the all main transactions of 7000s with the flag no clearing not set.

2. In the clearing variant, for the first clearing step, we grouped with main transaction, grouping rule 3 and put all the main transactions of 7000s and put assignment rule 2.

3. in the second clearing step, we grouped with main transactions, grouping rule 3 again and put all the main transactions of 7000s and put assignment rule 4.

What did we do wrong? it seems that main transactions in the range 6000-6999 are not getting cleared in first step!

0 Kudos

I would suggest you first test with only your first step configured.  You might have to set the first step to choose only the ones you want, not those you want to exclude.