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: 

quan field editable alv

Former Member
0 Kudos

HI,

Ive made an editable alv using my z-table. The z-table has a field sqty which is of type 'QUAN' referring to 'sunit' field(type UNIT) of same ztable .

Whenever i try to edit this sqty field it behaves weirdly. If i enter 123456 value in sqty , it takes it as 123.456 , or if i enter 1 in sqty it takes it as .001.

Why does it divide by 1000 always. IS it something to do with unit conversion? how do i overcome this problem.

I also had written a program to upload in this table using flat file, that program works fine.

Can anyone guide me please.

Bye

2 REPLIES 2

Former Member
0 Kudos

Hi,

Check whether you have given the Reference field & Reference Table for the Quan field in ALV display.

Otherwise, you the check for the user settings for QUAN fields.

Regards

Srini

Former Member
0 Kudos

Hi,

There is a conversion routine attached to the Unit field. ( Conversion routine -CUNIT). Check in output characteristics of the domain.

One of the ways is to clone the domain and datatype and use them without the conversion routine.

Hope it helps.

Thanks,

Saipriya