Hello,
the standard account determination procedure KOFI00 has both conditions KOFI amnd KOFK with requirement routines 3 and 2 respectively.
Requirement 3 is fulfilled when there are not CO objects (like WBS elements), requirement 2 is fulfilled when there are CO objects.
You could create your own account determ.procedure with different requirement routines.
Best regards,
Ivano.