Skip to Content
author's profile photo Former Member
Former Member

quan field editable alv

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2008 at 12:33 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2008 at 01:10 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.