What is the difference between routine and transform and function




















Please Turn OFF your ad blocker. Learn More. What is the difference between routine and transform and function? Interview Candidate May 25th, 2 First Prev Next Last. Transformations include different types of routine: Start routines, routines for key figures or characteristics, end routines and expert routines. The following figure shows the structure of the transformation program with transformation rules, start routine and end routine:.

The following figure shows the structure of the transformation program with expert routine:. The start routine is run for each data package at the start of the transformation. The start routine has a table in the format of the source structure as input and output parameters. It is used to perform preliminary calculations and store these in a global data structure or in a table. This structure or table can be accessed from other routines. You can modify or delete data in the data package.

This routine is available as a rule type; you can define the routine as a transformation rule for a key figure or a characteristic. The input and output values depend on the selected field in the transformation rule.

More information: the Routine section under Rule Type. An end routine is a routine with a table in the target structure format as input and output parameters. You can use an end routine to postprocess data after transformation on a package-by-package basis. For example, you can delete records that are not to be updated, or perform data checks.

DSXchange A short text to describe your forum Skip to content. Quick links. Post by kcbland » Fri Sep 23, pm Transforms: single lines of code that can be used in derivations and constraints. During compilation, the source code is substituted into the job design information and then compiled in. Changing the Transform requires recompiling all jobs that use it.

Routines: subroutines that are CALLed from a job or another routine. Usually they "do something" as opposed to transforming or calculating something. Changing a subroutine does not affect the caller as long as the arguments don't change.



0コメント

  • 1000 / 1000