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

REGARDING CONVERSION

Former Member
0 Likes
904

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

4 REPLIES 4
Read only

Former Member
0 Likes
728

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

Read only

0 Likes
728

howto declare that as american acceptable please elaborate

Read only

0 Likes
728

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.

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.
Regards, Venkat.O

Read only

Former Member
0 Likes
728

resolved