‎2008 May 08 6:37 AM
Hi guys,
I am taking the field EKBE-WRBTR and in that particular field there are few values like the following.
9.000,00
1.000,00
7.000,00.
And my requirement is the dot that is coming in the second position should not come there. it should be like.
9 000,00.
After that i should use that for an ALV display. This is urgent.
I am givin my code which i am using now. But that is not solving my problem
data : lc_wrbtr type p.
clear lc_wrbtr.
lc_wrbtr = gt_ekbe-wrbtr.
move lc_wrbtr to tap-bualt.
Khan.
‎2008 May 08 9:19 AM
Hi,
Use the below code.
data: v_amount(20).
move '9.000,00' to v_amount.
replace '.' with ' ' into v_amount.
write:/ v_amount.
‎2008 May 08 6:48 AM
Hi Khan,
1.Have changed the SYSTEM>USER PROFILE->OWN DATA>defaults>decimal notation.
just check it will work..
Regards,
Shiva.
‎2008 May 08 6:49 AM
Go to SU01 and do the necessary setting for your requirement.
Regards,
Madan.
‎2008 May 08 7:00 AM
hi
u can display 9.000,00 as 9,000.00 by changing user setting form
System -
> User Profile -
> Own Data -
> Default TAB -
> Decimal notation.
change decimal notation as required .
this is the standard way to do so .
reward if helpful.
‎2008 May 08 7:03 AM
Hi,
I know that, i need the code to change it in the report itself.
‎2008 May 08 9:19 AM
Hi,
Use the below code.
data: v_amount(20).
move '9.000,00' to v_amount.
replace '.' with ' ' into v_amount.
write:/ v_amount.