cancel
Showing results for 
Search instead for 
Did you mean: 

Skip Record in Rule Group

Former Member
0 Kudos

Hello,

I have a transformation with 3 rule groups. Based on the value of some infoobjects I want to skip records, but only in specified rule grous not in all rule groups.

E. g. record 1 shall be updated within rule group 1 but not in groups 2 and 3.

Record 2 shall be updated in rule group 3 but not in rule groups 1 and 2...

As far as I know, the Exception CX_RSROUT_SKIP_RECORD skips the update in all(!) rule groups. Is there an exception that allows me to skip records in one rule group only?

Bye...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I do not think that you can "customize" or "restrict" the behavior of the rules groups.

To solve your problem I suggest that you remove the concerned entries in the end routine. To help you, maybe you should add a characteristic in your cube with hard coded values for each rule group.

Let's call it RULE_GROUP type C length 10.

When you update the the first group, you hard code "GROUP_1", and so and so.

Then in the end routine, you can loop on GROUP_n to check the entries and remove them help to some logic.

Regards

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Florian Purnhagen,

You can try this: If you loading data into an ODS in addition mode or to a cube.

Based on condition clear keyfigure values in start or end routine. It wont work for overwrite.

Hope it Helps

Srini