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: 

New Decimal Format

Former Member
0 Kudos

Hello everyone,

I am looking to add a new Decimal Character format to SAP system.

I'm looking to have a format like 12,34,56,789.99

I did the fixed value append and added the above required format in the domain 'XUDCPFM'

But the same is not is getting displayed in the amount field

Any ideas on the same

Regards

Madhan D

4 REPLIES 4

Former Member
0 Kudos

Hi Madhan,

I think u have to change u r setting in Owndata/Setdata.

Kiran

0 Kudos

Hi Kiran

After added my own decimal format, i changed the OWN Data.

Still it is not working

Regards

Madhan D

0 Kudos

Hi Madhan,

Try like this.

data : v_new type u r new data element.

data : v_amount(20) type c.

write wa_vbak-netwr to v_new.

v_amount = v_new.

print v_amount.

Kiran.

Former Member
0 Kudos

HI BRO....

IF YOU ARE HAVING A CURRENCY FIELD THEN IT CAN BE DONE AS

WRITE THAT FIELD TO SOME CHARACTOR DATA OBJECT.

HERE SFLIGHT-PRICE IS HAVING CURRENCY FIELD

tables: sflight.

DATA: W_CHAR(20).

data: t_table like standard table of sflight.

select * from sflight

into table t_table.

loop at t_table into sflight.

WRITE SFLIGHT-PRICE TO W_CHAR.

WRITE:/ W_CHAR.

endloop.

Edited by: Mohit Kumar on Feb 5, 2009 1:00 PM