Hi,
We have developed a custom variant which does some calculations and returns outputs.
To fill values to the output operands, we are using the macro ' mac_output_ioper '.
But the macro adds the previously calculated values to the current values before returning the output. This is resulting in incorrect values.
i.e. If the previous value calculated for the operand ZOP1 is 10 and the current value is 5, we are getting an output of 15 instead of 5.
Can someone let us know what is going wrong here.
Also, we do not have any variant control which regulates whether the values are overwritten or added.
Regards,
Joshua.