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

Problem in screen painter

Former Member
0 Likes
588

Dear Friends,

i want to update one Ztable field from customized screen.

the field is for amount.

i hv defined it's screen attributes from dictionary as CHAR (6)

I want that amount to be entered less than 1000 i.e 0 to 999.99

if it is not so , i will display Error message.

It's working fine UPTO 999.49 , but from 999.50 to 999.99 it gives error which is supposed to be given for values equal to or greater than 1000.

Can anybody helps me out.

<<< REMOVED BY MODERATOR >>>

Please see the [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] for more informations.

Edited by: Marcelo Ramos on Nov 21, 2008 11:44 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
564

hi,

first thing why are going with char. go with with the data type DEC and give the length as needed and in the decimals you give as 2 places it will resolve your issue.

cheers!!

VEnk@

4 REPLIES 4
Read only

Former Member
0 Likes
564

HI.

change your fields size like CHAR (7).

Regards.

Jay

Read only

Former Member
0 Likes
564

Hi,

are you sure that data type for Amount is CHAR(6),because i think it should be CURRENCY...

Read only

Former Member
0 Likes
565

hi,

first thing why are going with char. go with with the data type DEC and give the length as needed and in the decimals you give as 2 places it will resolve your issue.

cheers!!

VEnk@

Read only

Former Member
0 Likes
564

change ztabke field to currency field then you will find solution