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 with quantity field

Former Member
0 Likes
570

Hi All

I have selected quantity field from table whcih is numeric field of length 19 but zero decimals. I need to dispaly quantity field with 3 decimals.I have declared variable of type P with 3 decimals.But sometimes it gives dump.Please advise.

Thanks and regards

Davoinder Singh

4 REPLIES 4
Read only

Former Member
0 Likes
531

where u are getting the DUMP ---> just check ST22 .

may be type miss match.

based on this DUMP , u can correct ur program.

Regards

Prabhu

Read only

Former Member
0 Likes
531

Better u create a dataelement in data dictonary with numeric field of 19 characters and 3 decimal places.It will solve ur problem.

Plz reward points if helpful.

Thanks

Chinmay

Read only

Former Member
0 Likes
531

hi davinder

check if mapping wth data dictionary is ok

regards

navjot

Read only

RaymondGiuseppi
Active Contributor
0 Likes
531

Look for the UNIT associated with the quantity.

  WRITE mseg-menge UNIT mseg-meins TO field.

Regards