Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Custom field error

Former Member
0 Likes
654

Hi,

I have a requirement for a Z-table(populated via a dialog program) wherein a price field should have two digits and four decimal places. This field is something like the WERTV4 domain but only with 4 decimal places. I have created a custom domain for this requirement. My problem is that on the input screen I'm not able to enter values with four decimals. It gives an error "Input should be in the form __,__~.__v " . But I'm able to enter two decimals say 45.45 on the screen and my z-table has a record with 0.4545 in it. On screen painter, I have defined the the field with ref to the data element in my Z-table. Data element has a check table entry of T001 and ref field WAERS. Any help on this is highly appreciated.

Thanks,

A.P.

1 ACCEPTED SOLUTION
Read only

venkata_ramisetti
Active Contributor
0 Likes
612

Hi,

Why do you want to create a new domain? There are standard domains available for your requirement. Use domain DEC2_4. (2 characters before and 4 after decimal point acc.to norm)

You can also check the below domains.

DEC2_4

ENTGP6

FAKTOR64

ICL_EXPPERCENT

ICL_IBNRPERCENT

ICL_ULAEPERCENT

OIU_QUAN64

P01C_FAKVR

P13Q_MEDLV

P15_COMRP

P15_DINPS

QBJ_FK2

QPMAT

RSDEC2_4

VER_DYNP_6

Thanks

Ramakrishna

3 REPLIES 3
Read only

venkata_ramisetti
Active Contributor
0 Likes
613

Hi,

Why do you want to create a new domain? There are standard domains available for your requirement. Use domain DEC2_4. (2 characters before and 4 after decimal point acc.to norm)

You can also check the below domains.

DEC2_4

ENTGP6

FAKTOR64

ICL_EXPPERCENT

ICL_IBNRPERCENT

ICL_ULAEPERCENT

OIU_QUAN64

P01C_FAKVR

P13Q_MEDLV

P15_COMRP

P15_DINPS

QBJ_FK2

QPMAT

RSDEC2_4

VER_DYNP_6

Thanks

Ramakrishna

Read only

0 Likes
612

Hi Ramakrishna,

Thanks for your reply. I need to have a domain that is of type CURR as it will refer to the T001-WAERS field. Can I still use a DEC2_4 domain and still refer to the T001-WAERS field?

Thanks,

A.P.

Read only

Former Member
0 Likes
612

Hi,

Try using the data element DISKONT (DEC2_4) for the field..

Thanks,

Naren