Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

The 0 problem

Hi there, I need a small tip.

The problem is with the quantity.

My itab has field

mymenge TYPE i .

But there is a small problem.

When I put that value into TABLEVIEW object and column is shaded (gray background) the '0' value is visible (field format in screenpainter is set to INT1 to avoid entering characters, only digits are possible)

but ... when I set that column editable (white background) the '0' value is not visible.

And I need to see those zeros. User must see when value is '0' and when it's just empty.

Can You give me some tip how to solve that problem? I'd be thankful for help. Greetings

Tags:
replied

CONDENSE charvalue NO-GAPS.

IF NOT charvalue IS INITIAL.

IF NOT charvalue BETWEEN '0' AND '999'.

CLEAR charvalue.

MESSAGE E398(00) WITH 'Please enter numeric Value'.

ENDIF.

ENDIF.

use this code.

Edited by: Alpesh on Sep 18, 2008 7:06 AM

Edited by: Alpesh on Sep 18, 2008 7:08 AM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question