cancel
Showing results for 
Search instead for 
Did you mean: 

NDIV0

srikanthbwbw
Active Participant
0 Kudos

hello Gurus.

Can anyone explain me about the functionality of NDIV0 in reporting. This function is used in one of the report derived from 0IC_C03 cube. It would be great if anyone explaing me with example

REgards

Ram

Accepted Solutions (1)

Accepted Solutions (1)

former_member188325
Active Contributor
0 Kudos

Hi Ram,

go thru this:

http://help.sap.com/saphelp_nw04/helpdata/en/03/17f13a2f160f28e10000000a114084/content.htm

NDIV0 (x): Equals 0 when divided by 0, otherwise x

'x' can be a CKF.

Assume you have a situation x = a/b.

if b = 0,then x = a/0--> NDIV0(x) = NDIV0(a/0) = 0.

if b # 0,then NDIV0(a/b) = a/b.

Hope this helps

thanks

Message was edited by: Murli

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Ram,

Please check this from SAP help

NDIV0 (x): Equals 0 when divided by 0, otherwise x

NDIV(<Expression>)

Is 0 if the calculation of <Expression> causes a division by 0. Otherwise, the result is the value of the expression. It is used to avoid error messages or so that you can continue to calculate a defined result.

Go through this link for more details

http://help.sap.com/saphelp_nw04/helpdata/en/03/17f13a2f160f28e10000000a114084/frameset.htm

Regards,

Praveen