Skip to Content
Aug 19, 2013 at 05:55 PM

Reuse routine for different transformation routines


Hi there,

I'm adding some new fields to a cube and would like to use part of the code used by one transformation routine in another routine. So if the existing routine determines whether the employees is eligible for retire, my new routine will calculate something else based on the employee eligibility. Other than repeating the same code in this new routine, which is not very efficient should the criteria change, is there any other way to do this?

Can I create a new method in LCL_TRANSFORM (for which I'd need to modify RS_ROUTINE) that would be called by different transformation routines or this is not possible because trans_routine is regenerated at some point? Before requesting a developer key to do this, I need to know if I can do that. What other options do I have?

thanks so much in advance!

Juan Carlos