Application Development 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: 

EDIT MASK with ALVGRID

Former Member
0 Kudos

Hi,

i need to display a number in ALV GRID with this format:

+/- ###.###,##

fo example:

1.000.000,000 = 1.000.000,000

1.000.000,000 - = -1.000.000,000

How can i solve?

1 ACCEPTED SOLUTION

former_member787646
Contributor
0 Kudos

Hi

Set the following attributes for the table of structure FIELD CATALOG and check.

1. DECIMALS_O = 3.

2. NO_SIGN = ' '.

Hope it helps.

Murthy

10 REPLIES 10

Former Member
0 Kudos

0 Kudos

I need I solution to format a number with 3 decimal digit and leading sign.

I'M tring with V__________,___ but it works only with number of 10 digit and 3 decimals

I need something like this +/- ,

former_member705122
Active Contributor
0 Kudos

Hi,

Check this FM,

Adding sign in front of numbers ( i.e. u2013 or +):

CLOI_PUT_SIGN_IN_FRONT

Regards

Adil

Former Member
0 Kudos

hi check this..

fm for the sign CLOI_PUT_SIGN_IN_FRONT

data: v_test type i .

v_test = '-1' .

write:/ v_test .

CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'

CHANGING

value = v_test

.

write:/ v_test .

0 Kudos

Hi,

I have to display the value in a column of ALVGRID.

former_member787646
Contributor
0 Kudos

Hi

Set the following attributes for the table of structure FIELD CATALOG and check.

1. DECIMALS_O = 3.

2. NO_SIGN = ' '.

Hope it helps.

Murthy

0 Kudos

It doesn't work... ;-(

Former Member
0 Kudos

Hi,

Mention edit mask option in field catalog for the particular

field and change accordingly to u'r requirment.

Regards,

Naveen.

0 Kudos

can u give an example?