In substitution routines i need to pass on the value of one variable to aother without declaring the variable as global.
Can anyone please tell me?
You could export/import from memory to do this.
Export in the first routine:
export lv_value to memory id 'YOURVARIABLE'.
Import in the next routine:
import lv_value from memory id 'YOURVARIABLE'.