Skip to Content

Dialog QUAN input field

Hi all,

In dialog, how to set a input field with QUAN format.

I set the format is QUAN and reference field is RESB-MEINS, but it can not input decimal data such as 34.2.

How to handle it ?

Thanks

Kical

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    Posted on Jul 24, 2014 at 07:29 AM

    Did you check the ddic box on screen elements in dynpro definition, and did you define underlying structures with TABLES statements in the global data area of the program ?

    Regards,
    Raymond

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2014 at 07:17 AM

    Keep the format of the input field as RESB-BDMNG.

    Pass BDMNG field in reference.

    ~Lokesh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 24, 2014 at 07:17 AM

    Hi Kical,

    Plz Check field Meins is for Unit, You May use Resb-BDMNG or declare as Packed no with decimal places.

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2014 at 07:47 AM

    I assume you are talking about Dialog programing.

    So, If you want to give a z field, declare it in TOP or MAIN program include like: ZFIELD TYPE RESB-BDMNG.

    Now go in the screen layout, double click on this input screen element, Pass name as ZFIELD.

    It should work then.

    ~Lokesh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 24, 2014 at 07:54 AM

    Hi all,

    OK when define it in main program.

    Thanks u .

    Kical

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2014 at 08:09 AM

    Hi Kical,

    If you set the field fromat as QUAN and Ref. Field as RESB-MEINS. This Set is correct.

    How about you definition of your field type to populate data from dialog field in main program which you create in dialog? Is it as RESB-BDMNG?

    Maybe the quantity will be displayed as 34.200 not 34.2.

    Because the RESB-BDMNG has 3 decimals.

    Thanks,

    Yawa

    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.