Skip to Content
Former Member
Jul 16, 2009 at 06:41 PM

WBS settlement Rule in CJB1


Hello Experts,

I have a following requirement for a client.

1) They would like to customize the settlement rule generation by intergrating a custom table which reads project type and corresponding G/L account for the concerned WBS and would like to populate this G/L account value in settlement reciever field during creation of Settlement rule ( as in transaction CJ20N) via transaction code CJB1.

Analysis so far:

1)The BADI WBS_SETTLEMENT_RULE was not helpful as it returns only the Strategy( STRAT) and the code to be added will not satisfy the requirement.

2) I have tried finding a good Enhancement spot but not successful till date.

Is there a enhancement spot to add this extra code beore it creates a rule ,maybe , before FORM create_settlement_rule in include LKSRG02 of program SAPLKSRG (program behind transaction CJB1)

There are couple of spots I found before FORM but not very clear.

I would really appreciate if anyone could help me in this regard.