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

data element , domain for quantity field

Former Member
0 Likes
10,883

hi,

i need to create a field in ztable for quantity.

Right now i have a field like menge,but the problem is when i use this field in table control ,its not holding 0.000 value.

i have to create field which can hold value like 0.000 .

Tell me what should be the data element and domain type etc.

Thanks

WAITING FOR REPLIES.

14 REPLIES 14
Read only

Former Member
0 Likes
4,615

Hi,

You can use the reference BMENGEV, if you want any specific then do a search in Se11 for data element, give the Quantity in Short description and do the search

Regards

Sudheer

Read only

Former Member
0 Likes
4,615

use dataelement BRGEW which hold 0.000

Read only

0 Likes
4,615

Hi ,

I TRIED USING dataelement BRGEW IT DOESN'T HOLD VALUE 0.000

I TRIED USING MESG AS REFERENCE TABLE AND MEINS AND REF FIELD , EVEN THEN IT DOESN'T WORK

I NEED TO USE THIS FIELD IN TABLE CONTROL, IF I LEAVE IT BLANK OR IF I ENTER AVALUE OF 0 ,IT SHOULD DISPLAY AS 0.000

LET ME KNOW

THANKS

Read only

0 Likes
4,615

Hi,

any ideas.

Thanks

Read only

0 Likes
4,615

Thanks Friend

Read only

Former Member
0 Likes
4,615

Hi Preethi,

While creating the fields in your Z-Table, Create the quantity fields with MENGE_D as data element and in the<b> Currency/Quantity</b> Tab for the quantity field, specify the reference table as MSEG and reference field as MENGE.

then try to use this field.

Regards,

Vinod.

Read only

Former Member
0 Likes
4,615

HI,

Use the Domain MENG13 or Data element MEINH

Regards

Sudheer

Read only

0 Likes
4,615

hi,

IAM USING MENGE_D DATA ELEMENT AND Domain MENG13

BUT I DOESN'T SOLVE MY PROBLEM

CAN ANY TELL ATLEAST A TCODE WHERE I CAN ENTER A QUANTITY OF 0.000

I TRIED ME22N ,MB1A IT DOESN'T SEEM TO HOLD 0 QUANTITY.

THANKS

Read only

Former Member
0 Likes
4,615

Hi,

Because..quantity field will not hold 0.000 in the screen..If you still want to hold 0.000 value..For the screen use a character data type field..

THanks,

Naren

Read only

0 Likes
4,615

Hi ,

if you declared char how can i get the decimal value.

i have to create a domain and data element and use that field in my table control

please let me know

Read only

Former Member
0 Likes
4,615

Hi,

For character field..The user has to enter the decimal value..

One more thing..

If you declare it as character..You have to take care in your program..Whether the user has entered a valid numeric value..

For the quantity fields it numeric value check will be taken care automatically..

Thanks,

Naren

Read only

0 Likes
4,615

HI NARENDRAN,

YOU MEAN TO SAY THAT THE USER DOESNOT ENTER THE CHARACTER IN THE QUALITY FIELD.

THAT MEANS WE HAVE TO CHECK WHETHER THE VALUE DOESNOT CONTAIN ALPHABETS RIGHT, WHERE AS IF ITS A QUANTITY FIELD IT WILL DOESNOT ALLOW TO ENTER APHABET VALUE RIGHT.

LET ME KNOW IF IAM WRONG

Read only

0 Likes
4,615

Hi Narendran, i have one more question,

what about if we use dec datatype, does it hold the value 000.000

let me know

thanks

Read only

Former Member
0 Likes
4,615

Hi,

1)

yes..You have to validate that in your program..Whether the user has entered any alphabets..

2)

Even if it is decimal..if you enter 0.00..It will not show it on the screen..

Thanks,

Naren