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: 

Trailing - sign to Leading - sign

Former Member
0 Kudos

How to change the Trailing - sign to Leading - sign

eg:

230- to -230.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

you can use FM CLOI_PUT_SIGN_IN_FRONT

but you need to change the amount to char to use this FM

3 REPLIES 3

Former Member
0 Kudos

you can use FM CLOI_PUT_SIGN_IN_FRONT

but you need to change the amount to char to use this FM

Former Member
0 Kudos

Hi Vasmi,

&ITCDP-TDULPOS& -> 100.00-

&ITCDP-TDULPOS(<)& -> -100.00

The SET SIGN LEFT control command specifies that all subsequent symbols with a numeric value should have a left-justified leading sign. If you use this control command, you must no longer repeat the < option for each individual symbol.

Reward Poits if found useful

Regards

Sarath

sreeramkumar_madisetty
Active Contributor
0 Kudos

Hi

You can use the FM:

<b>CLOI_PUT_SIGN_IN_FRONT</b>

But it works only for character fields.

Regards,

Sreeram