Application Development 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: 

how to display negative values in a screen field of a screen

Former Member
0 Kudos

Hi All,

Please let me know how to display negative values in a screen field of a screen.

thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

for that field , give the name as _________V followed by the name of that field

4 REPLIES 4

former_member181962
Active Contributor
0 Kudos

Hi Kishore,

You should give ______V in the attributes of the field.

Refer link:

REgards,

Ravi

Former Member
0 Kudos

for that field , give the name as _________V followed by the name of that field

Former Member
0 Kudos

chk this link

Former Member
0 Kudos

Hi Kishore,

You can do this method. In the screen , create a text field of CHAR instead fo creating an INT4 field.

I have created a field of CHAR of name say TEXT.

In the main program,

declare a variable of the same name ie. TEXT.

data: TEXT(5) TYPE C.

In PBO, just assign the negative values.

It will work.Since there is automatic conversion between character and integer data types, it will work for positive values as well.

Regards,

Sylendra.