Quantcast
Channel: SCN : Discussion List - SAP for Utilities
Viewing all articles
Browse latest Browse all 2484

Macro mac_output_ioper accumulating values

$
0
0

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.


Viewing all articles
Browse latest Browse all 2484

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>