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

getting runtime error when field is in negative quantity ?

Former Member
0 Likes
908

Hi all,

Iam developing a dialog program in that I want display total even if it is in negative quantity, but the problem is when the total is negative iam getting dyn_pro field conversion error ? i referred my total to co_menge data element which accepts

negative quantity ? whats the solution ?

thanks,

SIva

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
523

For a field to accept the negative value, the sign field should be checked for that domain at the dictioanry level.

If the Sign is not checked(for the domain) and still the field should accept the negative values as per your requirement; then, go to the screen painter ->double click the field->add "V" (V in capital letter) at the end of the text for that field in the Screen painter attribute.

2 REPLIES 2
Read only

Former Member
0 Likes
524

For a field to accept the negative value, the sign field should be checked for that domain at the dictioanry level.

If the Sign is not checked(for the domain) and still the field should accept the negative values as per your requirement; then, go to the screen painter ->double click the field->add "V" (V in capital letter) at the end of the text for that field in the Screen painter attribute.

Read only

former_member632458
Participant
0 Likes
523

hi,

tke the field reference from the data dictionary,

then it will fetch all the characteristics of rhe quantity field.

good luck.

regards,

Rajesh S.