‎2008 Apr 03 6:35 AM
i want to convert my numeric feild according to template (ATSCH field in CABN) i.e.
numric field 567654
template __, ___,__.__
result value 5,676,54.00
how to do that plz help........
thanx
vivek
‎2008 Apr 03 6:37 AM
Declare the template as american accpetable form...
ok..this will solve ur probelm..
<REMOVED BY MODERATOR>
Regards
SAS
Edited by: Alvaro Tejada Galindo on Apr 7, 2008 4:54 PM
‎2008 Apr 03 6:38 AM
‎2008 Apr 03 11:10 AM
Vivek Gaur,
Late reply but with solution.You have to use EDIT MASK command to get the required format.
Check the sample program. It works.
Regards,
Venkat.O
REPORT zvenkat_test2.
DATA:
g_value(10) TYPE n VALUE '567654',
v_display TYPE char40,
g_amount TYPE pa0008-bet01.
g_amount = g_value.
WRITE g_amount USING EDIT MASK '_,__,___.__' TO v_display.
WRITE v_display.
‎2008 Apr 07 1:05 PM