Hi Gurus
I am building a automated process which rebuilds a Target Group everyday.
The actual Target Group Build Looks like this.
* Day 1 Build Target A - All BP's meeting criteria
* Day 2
----- Build Target B - Same selection criteria as for Target Group A
----- Build Target C - Select from Target Group B where BP's from Target Group A; only when they exist on B
- So
- if Target Group B has 210 BP's
- and Target Group A has 200 BP's
- Then Target Group C will have 10 BP's
Once the Target Group C is build, Target Group A is rebuilt in preparation for the next days comparison.
So the issue I face is that in some case there may not be any new BP's selected in Target Group B, so the expected result of the Target Group Build should be 0. But from what I understand....Target groups are not permitted to exist with 0 Business Partners. When the regeneration of the Target Group occurs it just redisplays the same result from the previous day...from the above example this would be 10, when it should be 0.
Is there a standard way to cater for this occurrence?
Regards
Panduranga