‎2011 Jul 15 8:34 AM
Dear experts,
Suppose I have a screen where I can enter amount of max 3 numbers ( ex 999 ) . If I give 1000 then it will show error message that too long entry.But in the database where the amount will store , its length is say numc 10.
I just wanted to know is there any way to enter 1000 in the amount fld through screen ?
Thanks in adv.
A Miter.
‎2011 Jul 15 8:52 AM
What's the length of the field being displayed on screen? is it the same as in Dictionary ( 10 NUMC)?
‎2011 Jul 15 9:10 AM
i wouldnt even try to do that.
If there is a validation of the field that makes sure you dont enter 1000 or more, then it is there for a reason normally.
‎2011 Jul 15 9:14 AM
Hi,
which data elements are used for the screen field and for the database field?
Regards,
Klaus
‎2011 Jul 15 12:18 PM
You declare properly:
For Example
types: BEGIN OF ITAB,
KUNNR TYPE KUNNR,
NAME1 TYPE NAME1,
END OF ITAB.
Here kunnr(name of the field) type kunnr(data element).
So when you declare explicitly data element of that particular field its domain technical characteristics will be automatically acquired by the locally declared field.
For amount for example you are using field DMBTR TYPE DMBTR, make sure you have declared Quantity/currency fields in table... as reference table->t001 and reference field->waers....
Kindly let me know if you are facing the same problem again.