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

Do not display decimals in screen painter

Hi Experts,

I am using a field type KWMENG in my table control. I do not want to display decimals in the output. Can anyone suggest how do I do it. In the dict tab of the attributes of this field, I have selected from data dictionary. In standard VA01, I do not get the decimal in the quantity column. I would like to have the same feature here.

Thanks,

Abdullah

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 14, 2010 at 06:41 AM

    Hi Abdullah,

    This can be achieved by passing "Reference field" in table control.

    If the decimal value is 0 or UOM is PC or so.. it will not display decimal value...

    Please fil ref field with corresponding UOM field of Table control.

    This should solve your issue,

    Nag

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 14, 2010 at 06:31 AM

    Hi,

    Well i would suggest to map it to a non-decimal field without selecting from data dictionary. Populate the value from KWMENG into the non-decimal field in the PBO of your screen by doing a simple assignment.

    MOVE lv_kwmeng to lv_value.

    Thanks,

    Best regards,

    Prashant

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 14, 2010 at 06:53 AM

    Hi,

    In the scrren attributes DICT Fromat Use : QUAN

    and Ref. Field : VBAP-VRKME

    Hope it helps,

    Regards,

    Abhijit G. Borkar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 14, 2010 at 07:08 AM

    Hi Abdullah Ismail ,

    Go to Screen Attributes in Dict tab Select format as QUAN

    Modify 'X'.

    and Reference Field as VBAP-VRKME

    Thanks

    Surendra P

    Edited by: Suri551 on Jan 14, 2010 9:34 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 09, 2010 at 10:17 AM

    Hi experts,

    I ahve a similar kind of issue. But in my case due to some reasom, i am not using it from the Dictionary, instead from the program.

    So how do i do it this way.

    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.