Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Skip Record in Rule Group

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...

Former Member
replied

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

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question