cancel
Showing results for 
Search instead for 
Did you mean: 

how to prevent settlements from AE to wbs with different company code

Former Member
0 Kudos

Hi gurus,

i'm currently facing a problem regarding settlements from activity elements to wbs above.

we have one controllign areas with various company codes.

For some projects, we have wbs assigned to company code A and activity elements assigned to Company A and B.

We have an automatic settlement rule generation so that we settle all activity element costs to wbs. But, for activity elements assigned to company B, we don't want to settle the costs, we want to go through a sd/mm invoicing between the two companies.

How can we prevent the settlement to take place, apart from manually removing the settlement rule for each activity element?

can we put a validation rule that check that whenever the company code in the wbs is different from the one in the activity element, then the settlement doesn't take place? or remove the automatic settlement rule generation and use cjb1 to generate settlement rules only when an activity element as the same company code as the wbs above. would it be possible?

would the WBS_SETTLEMENT_RULE BADI or badi proj be of any help?

Any help is welcome.

regards

tim

Edited by: Tim Ursulet on Jan 22, 2009 5:29 PM

Accepted Solutions (1)

Accepted Solutions (1)

former_member201206
Active Contributor
0 Kudos

Hi Tim,

The transaction CJB1 or CJB2 creates the settlment rules for WBS only, therefore the transactions and Badi WBS_SETTLEMENT_RULE BADI are NOT relevant for the settlement rules of activity and elements at all.

For the settlement rules of activity (and elements) the default rule is inserted, as soon as the user navigate to the settlemenent rule overview screen, if the activity do not have the settlement rule at that time. I am not sure, if there is BaDi or substituation to prevent the system apply this default rule in certain case. Other alternative is to specify the objects during settlement, e.g. using selection variant with the company code.

Kind regards,

Zhenbo

Former Member
0 Kudos

Hi Zhenbo,

first tests show that the selection variant sorted out the problem.

thanks

regards

tim

Answers (2)

Answers (2)

Former Member
0 Kudos

In Network type parameter(Tranx-OPUV) maintain strategy 1 as a WBSE and default rule PSP WBSE.

And in WBSE of CC B change settlement profile with No settlement.

Sudhir

virendra_pal
Active Contributor
0 Kudos

this should be possible with use of the settlement strategy configuration which drives the generation of settlement rules

also use of the BADI is possible - again this will drive the settlement rule generation based on settlement strategy config by using master data objects e.g. project type