cancel
Showing results for 
Search instead for 
Did you mean: 

Function ROUND() in Macros with APO 4.0

sudhir_gulati
Participant
0 Kudos

Hi,

We are facing problems with using the Round Function in SNP Macros.

As per SAP Documentation, ROUND( X ; Y ) rounds X to Y decimal places. The arguments can be numbers that you enter in Operator/function dialog boxes, as well as cell(s), row(s) or column(s) from the planning table or the auxiliary table.

- Round Function is taking the constants as Argument X and giving the required output.

- However, it doesnot give any results when used with Auxillary KF/KF given as Argument X. During the macro design, no error is provided. In the Planning Book on execution, It gives a dump with message - Unable to interpret "KF Name" as a number.

In case anyone has worked with the function, inputs would be greatly appreciated and suitable awarded

Thanks and Regards,

regards,

Sudhir

Accepted Solutions (1)

Accepted Solutions (1)

srinivas_krishnamoorthy
Active Contributor
0 Kudos

In the first place, can you explain why you need the function through a macro when it can be done in dataview configuration. IN the transaction /SAPAPO/SDP8B, you can always enter the data view and click on edit and then right click on the auxilary KF to setup the decimal precision required. I am not sure if you are trying to achieve the same functionality through a macro.

Answers (0)