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

LIPS-LFIMG ( formating)

Former Member
0 Likes
1,241

Hi,

I have a field LIPS-LFIMG to be displayed . The data is stored as 10,000 , want to display it as 10 ,deleting COMA and ZEROS after COMA

Please let me know how I can do this.

Regards

Avi....

Hi,

I have a field LIPS-LFIMG to be displayed . The data is stored as 10,000 , want to display it as 10 ,deleting COMA and ZEROS after COMA

Please let me know how I can do this.

Regards

Avi....

4 REPLIES 4
Read only

Former Member
0 Likes
950

Hi Avi,

To remove leading zeros and leading blanks

Please use FM

CONVERSION_EXIT_ALPHA_INPUT Conversion exit ALPHA, external->internal

CONVERSION_EXIT_ALPHA_OUTPUT Conversion exit ALPHA, internal->external

Hope this resolves your query.

Reward all the helpful answers.

Regards

Read only

Former Member
0 Likes
950

hi,

if u delete numbers after comma, then the value gets changed, right? 10,000 becomes 10...not sure why you want to do that...i think you may want to delte the zeroes coming after 10,000 like 10,000.000...if this is the case, just move the field to another field declared of type int..

if helpful, reward

Sathish. R

Read only

Former Member
0 Likes
950

hi Avi,

Use <b>CONVERSION_EXIT_ALPHA_OUTPUT</b> to remove trailing zeros ..

Regards,

Santosh

Read only

0 Likes
950

Hi ,

Nothing is working in my case.

Regards

Avi..