Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Displaying a numeric value on a screen

Former Member
0 Likes
605

I have a field on a screen, type numc, which displays a numeric value. However, when the value is 0, the field displays as blank. Any ideas why this may be so? I would like to display 0.

2 REPLIES 2
Read only

Former Member
0 Likes
533

Hi,

A parameter of type N displays 0 in the selection-screen when it is initial.

Check if you have declared it of type C, by mistake.

Regarsd

Sailaja.

Read only

Former Member
0 Likes
533

Hi

If you want to display value in selection screen give like this. Take the type as 'C' instead of 'n'

selection-screen: begin of block b1.

parameters number type c.

selection-screen: end of block b1.

initialization.

number = 0.

write:/ number.

It is working.

Regards

Haritha.