cancel
Showing results for 
Search instead for 
Did you mean: 

Printing Zero value

Former Member
0 Kudos

Hi Friends,

It is surprising for me that when the value of KBETR is 0.00 in script &KOMVD-KBETR(I12)& is not been displayed, but if i changes the value for it in debug 100.00 script displays the value correctly .

I am struggling how to display 0,00 value in FORM. without changing &KOMVD-KBETR(I12)& .

thanks for your help,

Prasead K

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Prasead,

You are using the formatting option 'I' , this is used to suppress the initial value,

that is the reason its not printing the value '0.00', remove the formatting option 'I',

then you can see the output even if it is initial.

Hope this will solve your problem

Regards,

Jaya ram kumar.

Former Member
0 Kudos

Hi,

I think displaying &KOMVD-KBETR(I12)& is the main problem . Try like this &KOMVD-KBETR(C)&

former_member206396
Active Participant
0 Kudos

hi,

Try this,

/: if &KOMVD-KBETR& eq '0.00'

  • 0.00 " Display ZERO value

/: else

  • &KOMVD-KBETR(I12)& " display the value

/: endif

Hope this helps u...

Former Member
0 Kudos

hi,

this is from "I" option:

suppressing output of initial values:

&KNA1-UMSAT& -> 0,00

&KNA1-UMSAT(I)& ->

regards, darek