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

Reference field require for maintaining percentage

Former Member
0 Likes
3,340

hi ,

In the module pool program , on selection screen I want to give percentage value, we are using KBETR field but it is accepting only comma seperated values like 1,11 not accepting 1.11.If I change decimal settings in user profile then it accepts 1.11.

Could you please suggest a reference field which will accept both types of values.

Thanks

Saurabh

5 REPLIES 5
Read only

Former Member
0 Likes
1,320

Instead of reference data element from dictionary, it would be advisable if you use custom varaible of type characters, coz then only it will accept both ',' and '.'

Regards,

Mansi.

Read only

Former Member
0 Likes
1,320

Use:

Data: w_percentage type p decimals 2.

Data Element: BF_PRZ32

This will solve the issue.

Regards,

Gurpreet

Read only

0 Likes
1,320

Could some one plz provide me data dictionary reference field. Because I have to refer it to module pool screen field.

Read only

Former Member
0 Likes
1,320

hi,

try konv-kwert.

Read only

Former Member
0 Likes
1,320

thx